/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

/* Navigation Styles */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 16px;
}

nav .logo img {
    height: 5rem;
    width: 7rem;
}

nav .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

nav .nav-menu li {
    margin-left: 20px;
}

nav .nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav .nav-menu li a:hover,
nav .nav-menu li a:focus {
    color: #007BFF;
    outline: none;
}

nav .login-btn {
    background-color: #007BFF;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav .login-btn:hover,
nav .login-btn:focus {
    background-color: #0056b3;
    outline: none;
}

/* Auth Section Styles */
.auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-container {
    background-color: #fff;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 30px;
    color: #007BFF;
    text-align: center;
    font-size: 28px; /* Increased font size */
    font-weight: bold;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px; /* Increased label font size */
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: #007BFF;
    outline: none;
}

.auth-form .password-input {
    position: relative;
}

.auth-form .password-input .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.auth-form .password-input .toggle-password:hover {
    color: #333;
}

.auth-form .remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.auth-form .remember-me input {
    margin-right: 5px;
}

.auth-form .forgot-password {
    text-decoration: none;
    color: #007BFF;
    transition: color 0.3s;
}

.auth-form .forgot-password:hover,
.auth-form .forgot-password:focus {
    text-decoration: underline;
    color: #0056b3;
    outline: none;
}

.auth-form .btn {
    width: 100%;
    padding: 14px;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.auth-form .btn:hover,
.auth-form .btn:focus {
    background-color: #0056b3;
    outline: none;
}

.auth-form .switch-form-text {
    text-align: center;
    margin-top: 20px;
}

.auth-form .switch-form-text a {
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-form .switch-form-text a:hover,
.auth-form .switch-form-text a:focus {
    text-decoration: underline;
    color: #0056b3;
    outline: none;
}

.auth-form .terms {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.auth-form .terms input {
    margin-right: 5px;
}

.auth-form .terms a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-form .terms a:hover,
.auth-form .terms a:focus {
    text-decoration: underline;
    color: #0056b3;
    outline: none;
}

/* Form Validation Styles */
.auth-form input:invalid {
    border-color: #e74c3c;
}

.auth-form input:invalid:focus {
    border-color: #e74c3c;
}

.auth-form input:valid {
    border-color: #2ecc71;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 200px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
    color: #fff;
    outline: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 14px;
    color: #ccc;
}

/* Media Queries */
@media (max-width: 768px) {
    nav .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: calc(100% - 60px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    nav .nav-menu.active {
        right: 0;
    }

    nav .nav-menu li {
        margin: 15px 0;
    }

    nav .menu-toggle {
        display: block;
    }

    nav .nav-menu li a {
        font-size: 18px;
    }

    .auth-container {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }
}
