/**
 * Salon Nathalia — login & password recovery screens
 */
:root {
    --salon-auth-primary: #4c6fff;
    --salon-auth-primary-end: #6f88ff;
    --salon-auth-primary-hover: #3f61f2;
    --salon-auth-text: #22304f;
    --salon-auth-muted: #6c7a97;
    --salon-auth-border: #d5dced;
}

body.login-page {
    background: linear-gradient(135deg, #eef2ff 0%, #f8f9ff 45%, #e9f0ff 100%) !important;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

.login-box {
    width: 100%;
    max-width: 430px;
    margin-top: 4vh;
}

.login-logo-wrap {
    text-align: center;
    margin-bottom: 14px;
}

.login-logo-image {
    max-width: 400px;
    width: 100%;
    max-height: 180px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(25, 40, 75, 0.15));
}

.login-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(28, 38, 74, 0.12);
    overflow: hidden;
}

.login-card-body {
    padding: 1.8rem 1.8rem 1.6rem;
    background: #ffffff;
}

.login-title {
    margin-bottom: 2px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--salon-auth-text);
    text-align: center;
}

.login-subtitle {
    margin-bottom: 1.2rem;
    text-align: center;
    color: var(--salon-auth-muted);
    font-size: 0.95rem;
}

.login-subtitle.mb-1 {
    margin-bottom: 1rem;
}

.otp-instruction {
    font-size: 0.92rem;
    color: var(--salon-auth-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.login-card-body .input-group .form-control:not(.otp-input) {
    border-radius: 10px 0 0 10px !important;
    height: 46px;
    border-color: var(--salon-auth-border);
}

.login-card-body .input-group .form-control.otp-input {
    border-radius: 10px 0 0 10px !important;
    height: 52px;
    border-color: var(--salon-auth-border);
    text-align: center;
    letter-spacing: 8px;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--salon-auth-text);
}

.login-card-body .input-group .input-group-text {
    border-radius: 0 10px 10px 0 !important;
    border-color: var(--salon-auth-border);
    background-color: #f7f9ff;
    color: #4f628a;
}

.login-card-body .form-control:focus,
.form-control.otp-input:focus {
    border-color: #7c93ff;
    box-shadow: 0 0 0 0.2rem rgba(124, 147, 255, 0.2);
}

.remember-label {
    font-size: 0.92rem;
    color: #4f5f80;
    margin-bottom: 0;
}

.login-forgot-link {
    font-size: 0.92rem;
    color: var(--salon-auth-primary);
    font-weight: 600;
    text-decoration: none;
}

.login-forgot-link:hover {
    color: var(--salon-auth-primary-hover);
    text-decoration: underline;
}

.btn-login {
    border-radius: 10px;
    height: 44px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--salon-auth-primary), var(--salon-auth-primary-end));
    border: none;
    box-shadow: 0 6px 14px rgba(76, 111, 255, 0.25);
    color: #fff;
}

.btn-login:hover,
.btn-login:focus {
    background: linear-gradient(90deg, var(--salon-auth-primary-hover), #617cf7);
    color: #fff;
}

body.login-page .alert {
    border-radius: 10px;
    font-size: 0.92rem;
    margin-bottom: 0.9rem;
    border: none;
}

.back-link {
    font-size: 0.9rem;
}

.back-link a {
    color: var(--salon-auth-primary);
    font-weight: 600;
    text-decoration: none;
}

.back-link a:hover {
    color: var(--salon-auth-primary-hover);
    text-decoration: underline;
}

.otp-resend-row {
    font-size: 0.92rem;
}

.btn-resend-otp {
    color: var(--salon-auth-primary);
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
}

.btn-resend-otp:hover:not(:disabled) {
    color: var(--salon-auth-primary-hover);
    text-decoration: underline;
}

.btn-resend-otp:disabled {
    color: var(--salon-auth-muted);
    cursor: not-allowed;
    text-decoration: none;
}

body.login-page .alert-success {
    background: #e8f7ef;
    color: #1e6b45;
}
