/* Shared styling for Zanda Stream password recovery pages. */
.recovery-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    box-sizing: border-box;
    background: #0d1713;
    color: #f6faf7;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

.recovery-card {
    width: min(100%, 440px);
    box-sizing: border-box;
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px;
    background: #14221b;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28)
}

.recovery-brand {
    display: inline-block;
    margin-bottom: 28px;
    color: #72d6a0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration: none
}

.recovery-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(76, 194, 115, .13);
    color: #72d6a0;
    font-size: 24px
}

.recovery-card h1 {
    margin: 0 0 10px;
    font-size: clamp(25px, 5vw, 31px);
    line-height: 1.2
}

.recovery-card>p {
    margin: 0 0 24px;
    color: #b4c4ba;
    font-size: 14px;
    line-height: 1.65
}

.recovery-card form {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.recovery-card label {
    margin-top: 5px;
    color: #e8f0eb;
    font-size: 13px;
    font-weight: 650
}

.recovery-card input {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #34483c;
    border-radius: 10px;
    outline: none;
    background: #0e1913;
    color: #f6faf7;
    font: inherit
}

.recovery-card input:focus {
    border-color: #4cc273;
    box-shadow: 0 0 0 3px rgba(76, 194, 115, .14)
}

#code {
    text-align: center;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: 9px
}

.recovery-card button {
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    background: #4cc273;
    color: #082012;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    transition: opacity .15s ease, transform .15s ease
}

.recovery-card button:hover:not(:disabled) {
    transform: translateY(-1px)
}

.recovery-card button:disabled {
    cursor: not-allowed;
    opacity: .65
}

.recovery-card .secondary-button {
    width: 100%;
    margin-top: 12px;
    border: 1px solid #34483c;
    background: transparent;
    color: #e5eee8
}

.form-message {
    min-height: 0;
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.5
}

.form-message:empty {
    display: none
}

.form-message.error {
    color: #ff9e9e
}

.form-message.success {
    color: #85e3a9
}

.password-hint {
    margin: 0;
    color: #9eafa4;
    font-size: 12px
}

.recovery-back {
    display: block;
    margin-top: 22px;
    color: #b9c9bf;
    font-size: 13px;
    text-align: center;
    text-decoration: none
}

.recovery-back:hover {
    color: #72d6a0
}

@media(prefers-reduced-motion:reduce) {
    .recovery-card button {
        transition: none
    }
}