/* RoomPortal page styles: Brook_Bottom\login\code_help.html */
@import url("../../rp/global.css");

.portal-body--scroll {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    height: auto;
}

.portal-body--scroll .login-wrapper,
.portal-body--scroll .login-wrapper--tall {
    min-height: auto;
    padding: 6rem 1rem 2rem;
    justify-content: flex-start;
}

.portal-body--scroll .glass-card {
    margin: 0 auto 2rem;
}

.portal-body--scroll .card-header {
    margin-bottom: 1.5rem;
}

.code-help-form {
    gap: 1.25rem;
}

.recovery-contact-field {
    width: 100%;
    text-align: left;
}

.recovery-contact-label {
    display: block;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.01em;
}

.recovery-contact-input {
    display: block;
    width: 100%;
    min-height: 3.5rem;
    padding: 0.875rem 1.125rem;
    border: 2px solid #cbd5e1;
    border-radius: 1rem;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.recovery-contact-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.recovery-contact-input:focus {
    border-color: #4f46e5;
    background-color: #fff;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.04),
        0 0 0 4px rgba(79, 70, 229, 0.12);
}

.recovery-contact-input[aria-invalid="true"] {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.recovery-contact-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #b91c1c;
}

.recovery-contact-hint[hidden] {
    display: none !important;
}

.submit-btn:disabled {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}

.help-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.help-btn:hover {
    color: #4f46e5;
}

@media (min-width: 768px) {
    .recovery-contact-input {
        min-height: 3.75rem;
        font-size: 1.0625rem;
    }
}
