/* La recuperación comparte la identidad visual del login de CotizaDigital. */
body.recovery-branded {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: linear-gradient(135deg, #071a0f 0%, #0d1a10 50%, #0a1a0d 100%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

body.recovery-branded::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, .15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(21, 128, 61, .15), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(74, 222, 128, .08), transparent 40%);
}

.recovery-branded .container-card {
    position: relative;
    z-index: 1;
    max-width: 440px;
}

.recovery-branded .recovery-brand {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 30px;
    text-align: center;
}

.recovery-branded .recovery-brand img {
    display: block;
    max-width: 100%;
    height: 50px;
    width: auto;
}

.recovery-branded .card {
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
}

.recovery-branded .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 38px 40px 30px;
}

.recovery-branded .card-header i {
    color: #4ade80;
    font-size: 32px;
    margin-bottom: 16px;
}

.recovery-branded .card-header h1 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}

.recovery-branded .card-header p {
    color: #a7b5aa;
    font-size: .95rem;
    line-height: 1.5;
}

.recovery-branded .card-body {
    padding: 30px 40px 40px;
}

.recovery-branded .form-floating > .form-control,
.recovery-branded .code-input input {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    color: #fff;
}

.recovery-branded .form-floating > .form-control:focus,
.recovery-branded .code-input input:focus {
    background: rgba(255, 255, 255, .08);
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .15);
    color: #fff;
    outline: none;
}

.recovery-branded .form-floating > label,
.recovery-branded .form-floating > .form-control:focus ~ label,
.recovery-branded .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #b6c5b9;
}

.recovery-branded .form-floating > label::after {
    background: transparent !important;
}

.recovery-branded .code-input {
    gap: 8px;
}

.recovery-branded .code-input input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: 50px;
}

.recovery-branded .btn-primary {
    background: linear-gradient(135deg, #22c55e, #15803d);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    padding: 16px;
}

.recovery-branded .btn-primary:hover,
.recovery-branded .btn-primary:focus-visible {
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 12px 35px rgba(34, 197, 94, .35);
    color: #fff;
}

.recovery-branded .btn-primary:focus-visible,
.recovery-branded a:focus-visible,
.recovery-branded .password-toggle:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 3px;
}

.recovery-branded .info-box,
.recovery-branded .password-requirements {
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .16);
    border-radius: 12px;
    color: #cbd5ce;
    line-height: 1.55;
}

.recovery-branded .info-box strong,
.recovery-branded .password-requirements strong {
    color: #fff;
}

.recovery-branded .info-box > i,
.recovery-branded .password-requirements i {
    color: #4ade80;
}

.recovery-branded .password-toggle {
    color: #a7b5aa;
}

.recovery-branded .password-toggle:hover,
.recovery-branded .back-link:hover,
.recovery-branded .resend-link a:hover {
    color: #4ade80;
}

.recovery-branded .back-link {
    color: #a7b5aa;
    margin-top: 25px;
}

.recovery-branded .resend-link a {
    color: #4ade80;
    font-weight: 600;
}

.recovery-branded .alert {
    border-radius: 12px;
    padding: 14px 18px;
}

.recovery-branded .alert-danger {
    background: rgba(239, 68, 68, .15);
    border: 1px solid rgba(239, 68, 68, .2);
    color: #fca5a5;
}

.recovery-branded .alert-success {
    background: rgba(16, 185, 129, .15);
    border: 1px solid rgba(16, 185, 129, .2);
    color: #6ee7b7;
}

@media (max-width: 480px) {
    .recovery-branded .card-header { padding: 32px 24px 24px; }
    .recovery-branded .card-body { padding: 26px 24px 32px; }
    .recovery-branded .card-header h1 { font-size: 1.5rem; }
    .recovery-branded .code-input { gap: 6px; }
}
