/* Wrapper */
.ics-auth-recovery-wrapper {
    max-width: 520px;
	background: #F3F3F3 !important;
}
.text-black {
    color: #333 !important;
}

/* Subtitle */
.ics-auth-recovery-subtitle {
    margin: 8px 0 20px;
    font-size: 15px;
    color: #333;
}

/* Tabs */
.ics-auth-tabs {
    display: flex;
    margin-bottom: 24px;
}

.ics-auth-tab {
    flex: 1 1 50%;
    border: none;
    padding: 12px 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: #b0b0b0 !important; /* grey for inactive */
    color: #ffffff !important;
    border: none !important;
}

.ics-auth-tab:first-child {
    border-radius: 4px 0 0 4px !important;
}

.ics-auth-tab:last-child {
    border-radius: 0 4px 4px 0 !important;
}

.ics-auth-tab.is-active {
    background: #1877f2 !important;  /* blue like screenshot */
}

/* Paid-only block */
.ics-auth-paid-only {
    display: none;
}

.ics-auth-paid-only.is-visible {
    display: block;
}

/* Button: Click Here to Verify Email */
.ics-auth-verify-email-btn {
    margin-top: 18px;
}

/* OTP top message */
.ics-auth-otp-top-message {
    background: forestgreen;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 14px;
}


.ics-auth-otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Resend line under OTP */
.ics-auth-resend-otp {
    margin-bottom: 18px;
}

/* Go back link style */
.ics-auth-go-back {
    margin-top: 12px;
    background: transparent;
    border: none;
    color: #333;
    text-decoration: underline;
    display: block;
    margin-left: auto;
    margin-right: auto;
	cursor: pointer;
}

/* ==== INPUT FIELD STYLE (Matches Screenshot) ==== */

.ics-auth-recovery-form .ics-auth-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #6f6f6f; /* light grey like screenshot */
    margin-bottom: 6px;
    margin-top: 18px;
}

.ics-auth-recovery-form .ics-auth-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Placeholder style */
.ics-auth-recovery-form .ics-auth-input::placeholder {
    color: #b9b9b9; /* light grey placeholder like screenshot */
    opacity: 1;
}

/* Focus */
.ics-auth-recovery-form .ics-auth-input:focus {
    border-color: #1877f2; /* match blue theme */
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15);
    outline: none;
}

/* Remove extra margin on first input */
.ics-auth-recovery-form .ics-auth-label:first-child {
    margin-top: 0;
}

/* Input spacing between groups */
.ics-auth-recovery-form .ics-auth-input + .ics-auth-label {
    margin-top: 20px;
}

/* Container for the extra buttons */
.ics-auth-extra-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Base button style */
.ics-auth-extra-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    box-sizing: border-box;
    
}

/* Blue (Go to Sign In) */
.ics-auth-extra-blue {
    background-color: #1877f2;
    color: #fff !important;
}
.ics-auth-extra-blue:hover {
    background-color: #0f63cf;
}

/* Light grey button (Forgot Password) */
.ics-auth-extra-grey {
    background-color: #e5e5e5;
    color: #333;
}
.ics-auth-extra-grey:hover {
    background-color: #d6d6d6;
}

/* Link-style button (Create Account) */
.ics-auth-extra-link {
    background: transparent;
    color: #1877f2;
    text-decoration: underline;
    padding: 10px 16px;
}
.ics-auth-extra-link:hover {
    color: #0f63cf;
}

/* Intro text */
.ics-auth-recovery-intro {
    margin: 8px 0 24px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Radio button group */
.ics-auth-account-type-section {
    margin-bottom: 20px;
}

.ics-auth-radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.ics-auth-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.ics-auth-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Error below button with reserved space */
.ics-auth-recovery-form .ics-auth-error-below,
.ics-auth-otp-form .ics-auth-error-below {
    min-height: 40px;
    margin-top: 16px;
}

/* Card field spacing */
.ics-auth-label-card {
    margin-top: 24px !important;
}

/* Disabled card input */
.ics-auth-input-card.is-disabled {
    background-color: #e9e9e9;
    color: #999;
    cursor: not-allowed;
}

/* Contact Us link */
.ics-auth-contact-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #1877f2;
    font-size: 14px;
    text-decoration: underline;
}

.ics-auth-contact-link:hover {
    color: #0f63cf;
}

.ics-auth-error-below.visible {
    animation: error-shake 0.4s ease;
}

@keyframes error-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

/* Error highlight for fields */
.ics-auth-input.has-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15) !important;
}

.ics-auth-radio-group.has-error {
    outline: 2px solid #dc2626;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Account Recovery Verify - match sign-in verify text sizes */
.ics-auth-recovery-wrapper .ics-auth-inline-title {
    font-size: 35px;
    margin-bottom: 20px;
}

.ics-auth-recovery-wrapper .ics-auth-text {
    font-size: 18px;
    margin: 0 0 25px;
    color: #333;
}

.ics-auth-recovery-wrapper .ics-signup-verify-note {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    text-align: center;
}

.ics-auth-recovery-wrapper .ics-auth-footer {
    margin-top: 20px;
    text-align: center;
}

.ics-auth-recovery-wrapper .ics-auth-footer a {
    font-size: 19px;
    color: #1286FA;
    text-decoration: none;
}

.ics-auth-recovery-wrapper .ics-auth-footer a:hover {
    text-decoration: underline;
}

.ics-auth-recovery-wrapper .ics-auth-button-primary:hover {
    background: #0d6edb;
    color: #fff;
}

.ics-auth-button-primary:active,
.ics-auth-button-primary:focus {
    background: #0d6edb !important;
    color: #fff !important;
}