/* Common Styles */
body {
    background-image: url('/images/SL-011719-17920-65.jpg'); /* Replace with your background image URL */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: rgba(1, 1, 42, 1); /* Text color for content on top of the background image */
}


form {
    background-color: #f7f7f7; /* Light gray background */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 0 auto;
    /*background-image: url('/images/5153829.jpg');  Add your background image URL here */
    background-size: cover;
}

label {
    display: block;
    margin-bottom: 5px;
    color: rgba(1, 1, 42, 1); /* Dark text color */
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 10px; /* Margin on the right side */
}

button[type="submit"],
button.btn {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover,
button.btn:hover {
    background-color: #0056b3;
}

/* Page-Specific Styles */
/* Change Password Page */
#changePasswordForm {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7; /* Light gray background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    /*background-image: url('/images/5153829.jpg'); /* Add your background image URL here */
    background-size: cover;
}

/* Admin Login Page */
h1 {
    background-color: rgba(1, 1, 42, 1);
    color: white;
    padding: 5px;
}

/* User Management Dashboard Page */
h2 {
    margin-top: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 5px;
}

/* Edit Profile Page */
#editProfileForm {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7; /* Light gray background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    /*background-image: url('/images/5153829.jpg'); /* Add your background image URL here */
    background-size: cover;
}

/* Password Changed Page */
header {
    background-color: rgb(55, 56, 57);
    color: white;
    text-align: center;
    padding: 20px 0;
}

h1 {
    font-size: 24px;
}

.container-app {
    max-width: 1400px;
    margin: 0 auto;
    height: 1000px;
    padding: 20px;
    background-color: #f7f7f7; /* Light gray background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 20px;
    /*background-image: url('/images/5153829.jpg'); /* Add your background image URL here */
    background-size: cover;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7; /* Light gray background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 20px;
    /*background-image: url('/images/5153829.jpg'); /* Add your background image URL here */
    background-size: cover;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 20px;
    position: relative; /* Added position for relative positioning */
}

.btn {
    background-color: rgba(201, 81, 231, 1);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: rgba(218, 127, 242, 1);
}


/* Style for header section */
header {
    background-color: rgba(1, 1, 42, 1); /* Background color for the header */
    color: white; /* Text color for header content */
    text-align: center;
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

/* Style for header image */
header img {
    max-width: 100%; /* Ensure the image stays within the header width */
}

/* Style for footer section */
footer {
    background-color: rgba(1, 1, 42, 1); /* Background color for the footer */
    color: white; /* Text color for footer content */
    text-align: center;
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

/* Style for footer image */
footer img {
    max-width: 100%; /* Ensure the image stays within the footer width */
}

/* Style for the logo */
.logo {
    float: left; /* Float the logo to the left */
    margin: 0; /* Remove margin */
    padding: 5px; /* Add padding for spacing */
}

.logo img {
    max-width: 100px; /* Set the maximum width for the logo */
    height: auto; /* Maintain the aspect ratio */
}

.background-image {
    position: absolute; /* Position the background image */
    top: 0; /* Set top to 0 to cover the entire container */
    left: 0; /* Set left to 0 to cover the entire container */
    width: 100%; /* Cover the entire width of the container */
    height: 100%; /* Cover the entire height of the container */
    background-image: url('/images/ai-011-scaled-1.jpg'); /* Add your background image URL here */
    background-size: 100% 100%; /* Make the background image fill the space */
    opacity: 0.5; /* Adjust the opacity as needed */
}

.groups-container {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    flex-direction: row; /* Ensure horizontal layout */
    flex-wrap: nowrap; /* Prevent wrapping by default */
    justify-content: space-between;
}

.group {
    background: var(--card-background);
    border-radius: 16px;
    padding: 1.5rem;
    flex: 1;
    min-width: 300px; /* Ensure minimum width for readability */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.percentage {
    min-width: 45px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    font-size: 1.1rem;
    background: rgba(0, 255, 157, 0.15);
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
    transition: all 0.3s ease;
}

.percentage:hover {
    background: rgba(0, 255, 157, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

/* Update responsive styles for better mobile layout */
@media (max-width: 1200px) {
    .groups-container {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        gap: 2rem;
    }
    
    .group {
        flex: 1 1 calc(50% - 1rem); /* Two columns on medium screens */
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .groups-container {
        flex-direction: column;
    }
    
    .group {
        width: 100%;
        min-width: 100%;
    }
    
    .audio-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    audio {
        width: 100%;
    }
}

