body {
    background-color: #fafafa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 20px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-800);
}

.login-subtitle {
    color: var(--gray-600);
    font-size: 14px;
}

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

.form-label {
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-800);
    padding: 0.625rem 1rem;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: white;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    color: var(--gray-800);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-600);
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--primary-green);
}

.btn-login {
    background: var(--primary-green);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 0.75rem;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-login:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-200);
}

.divider span {
    padding: 0 15px;
    color: var(--gray-600);
    font-size: 14px;
}

.btn-google {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-800);
    padding: 0.625rem 1rem;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-google:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-800);
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.forgot-password {
    color: var(--primary-green);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

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

.signup-section {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-200);
}

.signup-text {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 10px;
}

.btn-signup {
    background: white;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    color: var(--primary-green);
    padding: 0.625rem 1rem;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-signup:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.btn-signup:active {
    transform: translateY(0);
    }

.error-message {
    color: var(--red);
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

@media (max-width: 768px) {
    .login-card {
        padding: 30px 20px;
    }

    .logo-text {
        font-size: 24px;
    }
}
