﻿.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #4e4e4e;
    margin-bottom: 8px;
    text-decoration: none;
    display: inline-block;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #24292e;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #586069;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #24292e;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5da;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: white;
}

    .form-input:focus {
        outline: none;
        border-color: #0366d6;
        box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.1);
    }

    .form-input.error {
        border-color: #d73a49;
    }

.error-message {
    color: #d73a49;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

    .error-message.show {
        display: block;
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .remember-me input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #0366d6;
    }

    .remember-me label {
        font-size: 14px;
        color: #24292e;
        cursor: pointer;
        user-select: none;
    }

.forgot-password {
    font-size: 14px;
    color: #0366d6;
    text-decoration: none;
    font-weight: 500;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    padding: 14px;
    background: #0366d6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-login:hover {
        background: #0256c7;
    }

    .btn-login:active {
        background: #024c9e;
    }

    .btn-login:disabled {
        background: #d1d5da;
        cursor: not-allowed;
    }

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #586069;
    font-size: 14px;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e1e4e8;
    }

    .divider span {
        padding: 0 16px;
    }

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border: 1px solid #d1d5da;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-social:hover {
        background: #f6f8fa;
        border-color: #0366d6;
    }

    .btn-social img {
        width: 20px;
        height: 20px;
    }

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #586069;
}

    .signup-link a {
        color: #0366d6;
        text-decoration: none;
        font-weight: 600;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }

.back-home {
    text-align: center;
    margin-top: 24px;
}

    .back-home a {
        color: #0366d6;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

        .back-home a:hover {
            text-decoration: underline;
        }

/* Mobile Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 32px 24px;
    }

    .login-title {
        font-size: 22px;
    }

    .social-login {
        flex-direction: column;
    }
}

