/* Reset container styles */
.iq-checker-container {
    all: initial;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-sizing: border-box;

    /* Define custom properties */
    --iq-primary-color: #5050ff;
    --iq-text-color: #333;
    --iq-bg-color: #fff;
    --iq-border-color: #ddd;
    --iq-spacing: 20px;
    --iq-spacing-small: 8px;
    --iq-border-radius: 5px;
}

/* Popup mode: open button */
.iq-checker-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
}

.iq-checker-button-wrapper button {
    background-color: #ED2939;
    color: #fff;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 6px;
    outline: none;
    border: none;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
}

.iq-checker-button-wrapper button:hover {
    background-color: #C8102E;
}

/* Popup mode: fullscreen overlay + modal */
.iq-checker-form-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.iq-checker-form {
    position: relative;
    background-color: #fff;
    padding: 30px 40px;
    max-height: calc(100% - 32px);
    overflow-y: auto;
    border-radius: 20px;
    overflow-x: hidden;
}

@media screen and (max-width: 1024px) {
    .iq-checker-form {
        width: calc(100% - 32px);
        padding: 32px 16px;
    }
}

/* Constrain inner container width inside modal to match legacy */
.iq-checker-form > div {
    width: 870px;
}

@media screen and (max-width: 1024px) {
    .iq-checker-form > div {
        width: 100%;
    }
}

/* Close (X) button in popup */
#iq-checker-form-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: block;
    cursor: pointer;
    color: #333;
}

@media screen and (max-width: 1024px) {
    #iq-checker-form-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }
}

/* Close icon stroke styling inside reset container */
#iq-checker-form-close path {
    stroke: #333;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Popup: general layout bits used by template */
/* Removed per request: popup question wrapper should inherit base styles */

.iq-checker-form-wrapper .iq-checker-progress-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px !important;
}

/* Popup: question pagination */
.iq-checker-question-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15.33px;
    margin-top: 30px;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .iq-checker-question-pagination {
        gap: 8.7px;
        margin-top: 20px;
    }
}

.iq-checker-question-pagination-button {
    border: 1px solid #d5d5d5;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .iq-checker-question-pagination-button {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

.iq-checker-question-pagination-button.current {
    background-color: var(--iq-primary-color, #5050ff);
    color: #fff;
    border-color: var(--iq-primary-color, #5050ff);
}

.iq-checker-question-pagination-button.done {
    background-color: #3ace3a;
    color: #fff;
    border-color: #3ace3a;
}

/* Reset all elements inside container */
.iq-checker-container * {
    all: unset;
    box-sizing: border-box;
}

/* Restore basic elements behavior */
.iq-checker-container {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: var(--iq-spacing) 0;
    background: var(--iq-bg-color);
    color: var(--iq-text-color);
}

/* Typography */
.iq-checker-container h2,
.iq-checker-container h3 {
    display: block;
    margin: 0 0 var(--iq-spacing) 0;
    font-weight: bold;
    line-height: 1.4;
}

.iq-checker-container h2 {
    font-size: 24px;
}

.iq-checker-container h3 {
    font-size: 18px;
}

.iq-checker-container p {
    display: block;
    margin: 0 0 var(--iq-spacing-small) 0;
    line-height: 1.6;
}

.iq-checker-container p:last-child {
    margin-bottom: 0;
}

.iq-checker-container strong {
    font-weight: bold;
}

/* Timer and Progress Bar styles */
.iq-checker-intro {
    display: block;
    margin-bottom: var(--iq-spacing);
    padding: var(--iq-spacing);
    background: #f9f9f9;
    border-radius: var(--iq-border-radius);
    border: 1px solid var(--iq-border-color);
}

/* Content section styling */
.iq-checker-content {
    text-align: initial;
    padding: 16px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid var(--iq-border-color);
    margin: 0;
}

/* SVG reset for copy buttons (fix icons broken by all: unset) */
.iq-checker-container .iq-copy-btn svg,
.iq-checker-container .iq-copy-keyword-btn svg,
.iq-checker-form-wrapper .iq-copy-btn svg,
.iq-checker-form-wrapper .iq-copy-keyword-btn svg {
    all: revert-layer;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    display: block;
    fill: none;
    pointer-events: none;
}

.iq-checker-container .iq-copy-keyword-btn svg,
.iq-checker-form-wrapper .iq-copy-keyword-btn svg {
    width: 14px;
    height: 14px;
}

.iq-checker-container .iq-copy-btn svg path,
.iq-checker-container .iq-copy-keyword-btn svg path,
.iq-checker-form-wrapper .iq-copy-btn svg path,
.iq-checker-form-wrapper .iq-copy-keyword-btn svg path {
    all: revert-layer;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.iq-checker-timer {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: var(--iq-spacing) 0;
}

[role="progressbar"] {
    --percentage: var(--value);
    --primary: var(--iq-primary-color);
    --secondary: #ddd;
    --size: 100px;
    animation: progress 2s 0.5s forwards;
    width: var(--size);
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    margin: 0 auto;
}

[role="progressbar"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(var(--primary) calc(var(--percentage) * 1%), var(--secondary) 0);
    mask: radial-gradient(white 55%, transparent 0);
    mask-mode: alpha;
    -webkit-mask: radial-gradient(#0000 55%, #000 0);
    -webkit-mask-mode: alpha;
}

[role="progressbar"]::after {
    counter-reset: percentage var(--value);
    content: counter(percentage) '%';
    font-family: Helvetica, Arial, sans-serif;
    font-size: calc(var(--size) / 5);
    color: var(--primary);
}

/* Question section styling */
.iq-checker-question {
    display: block;
    margin-bottom: var(--iq-spacing);
    padding: var(--iq-spacing);
    background: #f9f9f9;
    border-radius: var(--iq-border-radius);
    border: 1px solid var(--iq-border-color);
}

/* Answer options styling */
.iq-checker-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: var(--iq-spacing);
}

.iq-checker-answer {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Checkbox styling to look like radio */
.iq-checker-answer input[type="checkbox"] {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--iq-border-color);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-right: 0px !important;
}

.iq-checker-answer input[type="checkbox"]:checked {
    border-color: var(--iq-primary-color);
}

.iq-checker-answer input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--iq-primary-color);
    border-radius: 50%;
}

.iq-checker-answer label {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.4;
    flex: 1;
}

/* Image question specific styles */
.image-question-container {
    margin-top: var(--iq-spacing);
}

/* Instruction button styling */
.iq-checker-instruction-button {
    color: #5050ff;
    text-decoration: underline;
    cursor: pointer;
}

.image-question-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: var(--iq-spacing);
}

/* Password section styling */
.iq-checker-password-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--iq-spacing);
    background: #f9f9f9;
    border-radius: var(--iq-border-radius);
    border: 1px solid var(--iq-border-color);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.iq-password-instruction {
    margin: 0;
}

.iq-password-instruction .iq-checker-instruction {
    margin: 0 !important;
}

.iq-password-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.iq-password-form input[type="text"] {
    all: revert-layer;
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    padding: 0 20px;
    font-size: 18px;
    outline: none;
}

.iq-password-invalid {
    all: revert-layer;
    display: none;
    color: red;
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .iq-password-form input[type="text"] {
        height: 42px;
        font-size: 16px;
    }
}

.iq-checker-password {
    margin: 0;
    border-radius: var(--iq-border-radius);
    display: block;
}

.iq-checker-password label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Popup password field (input carries the class in popup) */
/* (Reverted) Do not override popup password styles; keep inline unchanged */

/* Submit button styling */
.iq-checker-submit {
    margin: 0;
    text-align: center;
}

.iq-submit-button {
    all: revert-layer;
    background-color: var(--iq-primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: bold !important;
    display: block !important;
    margin: 20px auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(80, 80, 255, 0.3) !important;
    transform: translateY(0);
    min-width: 200px !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.iq-submit-button:hover {
    background-color: #4040cc !important;
    box-shadow: 0 4px 8px rgba(80, 80, 255, 0.4) !important;
    cursor: pointer !important;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Password section submit button specific styling */
#iq-checker-submit {
    all: revert-layer;
    background-color: var(--iq-primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: bold !important;
    display: block !important;
    margin: 20px auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(80, 80, 255, 0.3) !important;
    transform: translateY(0);
    min-width: 180px !important;
    text-align: center !important;
}

#iq-checker-submit:hover {
    background-color: #4040cc !important;
    box-shadow: 0 4px 8px rgba(80, 80, 255, 0.4) !important;
    cursor: pointer !important;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Error and warning states */
.iq-question-unchecked {
    border-color: #dc3545;
}

.iq-warning-text {
    color: #dc3545;
    margin-top: 12px;
    font-size: 14px;
    display: block;
}

/* Animation for validation shake */
@keyframes iq-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.iq-shake {
    animation: iq-shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .iq-checker-container {
        padding: var(--iq-spacing) var(--iq-spacing-small);
    }

    .iq-checker-question,
    .iq-checker-intro,
    .iq-checker-result {
        padding: var(--iq-spacing-small);
    }

    .iq-submit-button {
        width: 100%;
    }
}

/* Heading styles */
.iq-checker-heading {
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    font-weight: 700;
    color: var(--iq-primary-color);
}

/* Image question styles */
.image-question-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.iq-checker-question .image-question-container>img {
    aspect-ratio: 1;
    width: 400px;
    border: 1.5px solid var(--iq-border-color);
    border-radius: 4px;
}

.iq-checker-image-answers {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 360px;
    gap: 30px;
}

.iq-checker-image-answers input[type="checkbox"] {
    display: none;
}

.iq-checker-image-answers input[type="checkbox"]+label {
    width: 100px;
    height: auto;
    cursor: pointer;
}

.iq-checker-image-answers input[type="checkbox"]+label img {
    border: 1.5px solid var(--iq-border-color);
    border-radius: 4px;
    width: 100%;
    aspect-ratio: 1;
}

.iq-checker-image-answers input[type="checkbox"]:checked+label img {
    border: 1.5px solid var(--iq-primary-color);
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .iq-checker-heading {
        font-size: 24px;
        margin: 0 0 14px 0;
    }

    .image-question-container {
        flex-direction: column;
        gap: 20px;
    }

    .iq-checker-question .image-question-container>img {
        width: 100%;
    }

    .iq-checker-image-answers {
        width: 100%;
        gap: 16px;
    }

    .iq-checker-image-answers input[type="checkbox"]+label {
        width: calc((100% - 32px) / 3);
    }
}

/* Result section styling */
.iq-checker-result {
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid #e9ecef;
    position: relative;
    z-index: 10;
}

/* Popup pagination overrides (must come after reset) */
.iq-checker-container .iq-checker-question-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15.33px;
    margin-top: 30px;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .iq-checker-container .iq-checker-question-pagination {
        gap: 8.7px;
        margin-top: 20px;
    }
}

.iq-checker-container .iq-checker-question-pagination-button {
    border: 1px solid #d5d5d5;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .iq-checker-container .iq-checker-question-pagination-button {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

.iq-checker-container .iq-checker-question-pagination-button.current {
    background-color: var(--iq-primary-color, #5050ff);
    color: #fff;
    border-color: var(--iq-primary-color, #5050ff);
}

.iq-checker-container .iq-checker-question-pagination-button.done {
    background-color: #3ace3a;
    color: #fff;
    border-color: #3ace3a;
}

/* Popup: question/answer typography */
.iq-checker-form-wrapper .iq-checker-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
}

@media screen and (max-width: 1024px) {
    .iq-checker-form-wrapper .iq-checker-title {
        font-size: 18px;
        margin: 0 0 8px 0;
    }
}

.iq-checker-form-wrapper .iq-checker-p {
    font-size: 18px;
    margin: 0 0 10px 0 !important;
}

@media screen and (max-width: 1024px) {
    .iq-checker-form-wrapper .iq-checker-p {
        font-size: 16px;
        margin: 0 0 8px 0 !important;
    }
}

.iq-checker-form-wrapper .iq-checker-bold {
    font-weight: 700;
}

.iq-checker-form-wrapper .iq-checker-text-answers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.iq-checker-form-wrapper .iq-checker-password-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: 870px;
    margin: 24px auto 0;
}

.iq-checker-form-wrapper .iq-password-instruction,
.iq-checker-form-wrapper .iq-checker-content,
.iq-checker-form-wrapper .iq-password-form {
    width: 100%;
}

.iq-checker-form-wrapper .iq-password-instruction {
    margin-bottom: 0;
}

.iq-checker-form-wrapper .iq-checker-password {
    width: 100%;
}

.iq-checker-form-wrapper .iq-checker-text-answers input[type="checkbox"] {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--iq-border-color);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-right: 8px !important;
    vertical-align: middle;
}

.iq-checker-form-wrapper .iq-checker-text-answers input[type="checkbox"]:checked {
    border-color: var(--iq-primary-color);
}

.iq-checker-form-wrapper .iq-checker-text-answers input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--iq-primary-color);
    border-radius: 50%;
}

.iq-checker-form-wrapper .iq-checker-question label {
    cursor: pointer;
    font-size: 18px;
}

@media screen and (max-width: 1024px) {
    .iq-checker-form-wrapper .iq-checker-question label {
        font-size: 16px;
    }
}

.iq-checker-result h2 {
    margin: 0 0 25px 0;
    color: var(--iq-primary-color);
    font-size: 28px;
    font-weight: 700;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    display: block;
}

.iq-result-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    width: 100%;
    gap: 20px;
}

#iq-checker-result {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ED2939 0%, #c21e30 100%);
    border: 4px solid #fff;
    box-shadow: 0 6px 20px rgba(237, 41, 57, 0.4);
    position: relative;
    margin: 0 auto;
}

#iq-checker-result::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #ED2939, #5050ff);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
}

#iq-checker-result-text {
    margin: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}

#iq-checker-result-text img {
    border-radius: 8px;
    width: 100%;
    margin: 0 0 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#iq-checker-result-text p {
    margin: 0 0 16px 0;
    font-size: 18px;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
}

#iq-checker-result-text p:last-child {
    margin-bottom: 0;
}

#iq-checker-result-text ul {
    margin: 0 0 16px 0;
    padding: 0 0 0 20px;
    text-align: left;
}

#iq-checker-result-text li {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #2c3e50;
}

.iq-checker-result-text-item {
    display: none;
    font-size: 18px;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Password section styling (redundant definition kept for specificity) */
.iq-checker-password-section {
    display: flex;
    flex-direction: column;
    gap: var(--iq-spacing);
    padding: var(--iq-spacing);
    background: #f9f9f9;
    border-radius: var(--iq-border-radius);
    border: 1px solid var(--iq-border-color);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.iq-password-instruction {
    margin: 0;
}

.iq-password-instruction .iq-checker-instruction {
    margin: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .iq-submit-button {
        width: 100% !important;
        max-width: 300px !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
    }

    #iq-checker-submit {
        width: 100% !important;
        max-width: 280px !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
    }

    .iq-checker-result {
        padding: 20px 15px;
    }

    .iq-checker-result h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    #iq-checker-result {
        font-size: 36px;
        width: 100px;
        height: 100px;
    }

    #iq-checker-result-text {
        padding: 15px;
    }

    #iq-checker-result-text p {
        font-size: 16px;
    }

    .iq-checker-password-section {
        padding: var(--iq-spacing-small);
    }

    .iq-checker-container.iq-isolate .iq-section-separator {
        margin: 20px 0;
    }
}

/* Payment section styling */
.iq-checker-payment-section {
    padding: var(--iq-spacing);
    background: #f9f9f9;
    border-radius: var(--iq-border-radius);
    border: 1px solid var(--iq-border-color);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.iq-checker-payment-section h3 {
    margin-bottom: var(--iq-spacing);
    color: var(--iq-primary-color);
    text-align: center;
}

.iq-secret-access-btn {
    margin: 40px auto 20px auto;
    padding: 12px 24px;
    background: #6c757d;
    color: white;
    border-radius: var(--iq-border-radius);
    cursor: pointer;
    text-align: center;
    max-width: 400px;
    transition: background-color 0.2s;
    font-size: 14px;
    border: 2px solid transparent;
    position: relative;
    z-index: 5;
}

.iq-secret-access-btn:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.iq-secret-form {
    margin: 20px auto;
    padding: var(--iq-spacing);
    background: #f8f9fa;
    border-radius: var(--iq-border-radius);
    border: 1px solid #dee2e6;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    position: relative;
    z-index: 5;
}

/* Section separator styling - matching MBTI style */
.iq-checker-container.iq-isolate .iq-section-separator {
    margin: 30px 0 !important;
    border-top: 1px solid #e0e0e0 !important;
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    box-sizing: border-box !important;
}

.iq-checker-container .iq-password-invalid {
    display: none;
    color: red;
    margin: 10px 0 0 0;
}

/* Payment loader + spinner — avoid using `all` to play nice with reset */
.iq-checker-container .iq-payment-loader {
    display: none; /* Shown/hidden via jQuery fadeIn/fadeOut */
    align-items: center;
    justify-content: center;
    margin: 12px 0;
}

.iq-checker-container .iq-payment-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e5e5e5;
    border-top-color: var(--iq-primary-color);
    border-radius: 50%;
    animation: iqc-spin 1s linear infinite;
}

@keyframes iqc-spin {
    to { transform: rotate(360deg); }
}

.iq-secret-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #495057;
}

.iq-secret-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 16px;
}

.iq-secret-form button {
    background: var(--iq-primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.iq-secret-form button:hover {
    background-color: #4040cc;
}
