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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FAFBFC;
    color: #2A2E35;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #5A6D7A;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.login-card {
    background-color: white;
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-card h1 {
    color: #2A2E35;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.subtitle {
    color: #5A6D7A;
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #2A2E35;
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 1px solid #C9D6DF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #5A6D7A;
    box-shadow: 0 0 0 3px rgba(90, 109, 122, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: #5A6D7A;
    text-decoration: none;
    font-size: 0.875rem;
}

.forgot-password:hover {
    color: #FF6B35;
}

.btn-primary {
    background-color: #2E3944;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #FF6B35;
    transform: translateY(-2px);
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #5A6D7A;
}

.register-link a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

.footer {
    background-color: #5A6D7A;
    color: white;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-links a {
        flex: 1 1 45%;
        text-align: center;
        font-size: 0.95rem;
    }

    .login-card {
        padding: 2rem;
    }
}