/**
 * FFGroup SMS — Password Reset Styles
 * Accent: #0079C1
 */

/* Step visibility */
.ffg-password-reset-container .ffg-step {
    display: none;
}

.ffg-password-reset-container .ffg-step--active {
    display: block;
}

/* Step description */
.ffg-step__description {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Error messages */
.ffg-error-message {
    color: #dc3232;
    background: #fef1f1;
    border-left: 4px solid #dc3232;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: 14px;
    border-radius: 8px;
}

/* OTP inputs */
.ffg-otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin: 24px 0;
}

.ffg-otp-input {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ffg-otp-input:focus {
    border-color: #0079C1;
    box-shadow: 0 0 0 3px rgba(0,121,193,0.1);
}

/* Timer */
.ffg-timer {
    margin: 16px 0;
    font-size: 14px;
    color: #6b7280;
}

.ffg-timer a {
    color: #0079C1;
    text-decoration: underline;
}

#ffg_try_other_method {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: #0079C1;
    text-decoration: none;
}

#ffg_try_other_method:hover {
    text-decoration: underline;
}

/* Password strength */
.ffg-password-strength {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Success icon */
.ffg-success-icon {
    width: 64px;
    height: 64px;
    background: #4ab866;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 0 20px 0;
}

/* Responsive */
@media (max-width: 480px) {
    .ffg-otp-inputs {
        gap: 6px;
    }

    .ffg-otp-input {
        width: 42px;
        height: 48px;
        font-size: 20px;
    }
}

/* ============================================
   Channel selection (Step 1.5)
   ============================================ */

/* Blue underline below title */
.ffg-header-line {
    width: 40px !important;
    height: 3px !important;
    background: #0079C1 !important;
    border-radius: 2px !important;
    margin: 12px auto 16px !important;
}

/* Options container */
.ffg-channel-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin: 30px 0 !important;
}

/* Force-hide radio inputs */
.ffg-channel-option input[type="radio"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Card */
.ffg-channel-option {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 24px 28px !important;
    border: 1.5px solid #e4e7ec !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.15s !important;
    background: #ffffff !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.ffg-channel-option:hover {
    border-color: #c0c8d4 !important;
    background: #fafbfc !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

.ffg-channel-option--active {
    border-color: #0079C1 !important;
    background: #f7fbff !important;
    box-shadow: 0 0 0 1px #0079C1, 0 4px 12px rgba(0,121,193,0.08) !important;
}

/* Icon — large rounded square */
.ffg-channel-icon {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    background: #eef4fb !important;
    color: #0079C1 !important;
    flex-shrink: 0 !important;
    transition: background 0.25s, color 0.25s !important;
}

.ffg-channel-option--active .ffg-channel-icon {
    background: #0079C1 !important;
    color: #ffffff !important;
}

/* Info text */
.ffg-channel-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
}

.ffg-channel-info strong {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    display: block !important;
    line-height: 1.3 !important;
}

.ffg-channel-info span {
    font-size: 13px !important;
    color: #8892a0 !important;
    display: block !important;
    line-height: 1.4 !important;
}

/* Masked value (phone/email) */
.ffg-channel-value {
    font-weight: 700 !important;
    color: #1a1a2e !important;
    font-size: 15px !important;
    margin-top: 4px !important;
    letter-spacing: 0.3px !important;
}

/* Arrow chevron */
.ffg-channel-arrow {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #f0f2f5 !important;
    color: #9ca3af !important;
    flex-shrink: 0 !important;
    transition: all 0.25s !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ffg-channel-option:hover .ffg-channel-arrow {
    background: #e8ecf0 !important;
    color: #6b7280 !important;
}

.ffg-channel-option--active .ffg-channel-arrow {
    background: #0079C1 !important;
    color: #ffffff !important;
}

/* Backward compat */
.ffg-channel-check {
    display: none !important;
}

/* Security note */
.ffg-security-note {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 24px !important;
    color: #9ca3af !important;
    font-size: 13px !important;
}

.ffg-security-note svg {
    color: #9ca3af !important;
    flex-shrink: 0 !important;
}
