/* PutraKop Live Chat - Authentication Styles */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #F5F7FA;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    height: 48px;
    margin-bottom: 12px;
}

.auth-logo h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1B2A4A;
}

.auth-logo p {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

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

.auth-form .form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 6px;
}

.auth-form .form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    height: 44px;
}

.auth-form .form-control:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

.auth-form .input-with-icon {
    position: relative;
}

.auth-form .input-with-icon .form-control {
    padding-left: 40px;
}

.auth-form .input-with-icon .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 16px;
    pointer-events: none;
}

.auth-form .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}

.auth-form .password-toggle:hover {
    color: #6B7280;
}

.auth-form .btn-submit {
    width: 100%;
    padding: 12px;
    background: #1B2A4A;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease;
}

.auth-form .btn-submit:hover {
    background: #2C3E6B;
}

.auth-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.auth-form .form-check input {
    width: 16px;
    height: 16px;
}

.auth-form .form-check label {
    font-size: 14px;
    color: #6B7280;
    cursor: pointer;
}

.auth-error {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.auth-error.show {
    display: block;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6B7280;
}

.auth-footer a {
    color: #3B82F6;
    font-weight: 500;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: #9CA3AF;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
    }
}
