


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f7f6;
}

/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px; 
    box-sizing: border-box; 
} */


.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.navbar-container {
    background: linear-gradient(135deg, #e5e5e5, #6aaec5, #3ba5d2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    width:100%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

#logoSvg {
    width: 40px;
    margin-right: 10px;
}

.logo h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links li:last-child {
    margin-right: 0;
}

.nav-links a {
    text-decoration: none;
    color: #1d0f0f;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff0000;
}

.auth-menu {
    display: flex;
}

.auth-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-buttons button {
    width: auto;
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.auth-buttons a {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.auth-buttons button.signup,
.auth-buttons a.signup {
    background-color: #007bff;
    color: white;
}

.auth-buttons button.login,
.auth-buttons a.login {
    background-color: #28a745;
    color: white;
}

.auth-buttons button#logout {
    background-color: #dc3545;
    color: white;
}

.auth-buttons button.admin img {
    width: 25px;
    height: 25px;
}

.auth-buttons button.admin {
    background-color: transparent;
}





/* Hamburger Menu Styles */
.hamburger,
.close {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    margin-left: 10px;
}

.close {
    display: none;
}

.nav-menu.active{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
}


.auth-menu.active{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 160px;
    right: 0;
    background-color: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
}

.nav-menu.active .nav-links,
.auth-menu.active .auth-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-menu.active .nav-links li,
.auth-menu.active .auth-buttons button,
.auth-menu.active .auth-buttons a {
    width: 100%;
    text-align: left;
    margin: 5px 0;
    text-align: center;
}

/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .nav-menu,
    .auth-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: left;
    }

    .nav-links li a {
        display: block; /* Ensure the link is visible */
        
    }

    .auth-buttons {
        flex-direction: column;
        margin-top: 10px;
    }

    .hamburger {
        display: block;
    }

    .close {
        display: none;
    }

    .nav-menu.active,
    .auth-menu.active {
        display: flex;
    }

    .hamburger.active {
        display: none;
    }

    .close.active {
        display: block;
    }
}










.signup-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 410px; 
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

h1 {
    color: #333;
    margin-bottom: 30px;
}


.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

input[type="email"],
input[type="password"] {
    width: calc(100% - 2px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; 
}

input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


.login-button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #0056b3;
}


.signup-button {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 20px; 
}

.signup-button:hover {
    background-color: #1e7e34;
}


.error-message {
    color: #ff0019;
    margin-top: 15px;
    font-size: 0.9em;
    font-weight: bolder;
}


.signup-link {
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

.signup-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.signup-link a:hover {
    text-decoration: underline;
}


.login-link {
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

.login-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}


.selectPrivacy {
    
    font-size: 11px;
    display:flex;
    justify-items: flex-start;
    align-items: flex-start;
    
  }
  
  .selectPrivacy input[type="checkbox"] {
    
    margin-right: 8px;
    transform: scale(1.2); /* bigger checkbox */
  }
  
  .selectPrivacy a {
    color: #007bff;
    text-decoration: none;
  }
  
  .selectPrivacy a:hover {
    text-decoration: underline;
  }

/* Responsive Design (for smaller screens) */
@media (max-width: 600px) {
    .login-container,
    .signup-container {
        padding: 30px;
        border-radius: 6px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }

    h1 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .input-group {
        margin-bottom: 15px;
    }

    label {
        font-size: 0.9em;
    }

    input[type="email"],
    input[type="password"] {
        font-size: 1em;
        padding: 8px;
    }

    .login-button,
    .signup-button {
        font-size: 1.1em;
        padding: 10px 15px;
    }

    .error-message {
        font-size: 0.8em;
        margin-top: 10px;
    }

    .signup-link,
    .login-link {
        font-size: 0.8em;
        margin-top: 15px;
    }
}