/* AiTools module stylesheet (plan 08: per-module CSS).
 * Holds the calculator-specific rules extracted from inline <style> blocks in
 * the AiTools module views. Loaded only on the pages that need it via the
 * layout's @stack('module-css') + each view's @push('module-css').
 *
 * Scope: covers the 21 views listed in tests/ViewSnapshot/manifest/aitools.php
 * that render through <x-layouts.calculator-page>. Two AiTools views are
 * DELIBERATELY OUT OF SCOPE and were not touched by this extraction:
 *   - ai-chat.blade.php            (wraps <x-layouts.new-app>, which has no
 *                                    @stack('module-css') -- a push there
 *                                    would silently go nowhere)
 *   - ai-extention-solver.blade.php (renders through extentionMaster.blade.php,
 *                                    a separate chrome-less layout with no
 *                                    Blade component/stack system at all)
 * Their inline <style> blocks are untouched; do not add their rules here.
 *
 * Left inline, on purpose, in the views that still carry them:
 *   - Any rule containing Blade/PHP interpolation (e.g. `content: "{{ $lang[4]
 *     ?? '...' }}"` on #newInput.placeholder::before in several views, or the
 *     analogous rule in ai-answer-generator.blade.php) -- these depend on
 *     runtime translation data (locale-specific $lang array) and cannot be
 *     moved to a static file.
 *   - Any selector that is reused across AiTools views with a DIFFERENT rule
 *     body per view (collision risk once merged into one shared per-module
 *     stylesheet loaded on every AiTools page) -- e.g. #newInput, #example-container,
 *     .proDetails, .dropdown-container, .arrow, .button-container, .new_tooltip
 *     .tooltiptext are each hand-tuned per calculator (different sizes/offsets)
 *     and stay inline in every view that defines them, exactly like
 *     construction.css's square-meter-calculator number-spinner precedent.
 *
 * Selectors below are verified identical, byte-for-byte, everywhere they were
 * extracted from -- see the file-list comment above each rule. */

/* ai-translator, ai-grader, ai-flowchart-generator, ai-mind-map-generator, +14 more */
#newInput:not(.placeholder)::before {
        content: '';
    }

/* ai-translator */
#newInput2 {
        min-height: 162px !important;
        outline: 0;
        box-sizing: border-box;
        resize: none;
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: .5px;
        overflow: hidden;
        border: none;
        background: transparent;
        padding: 10px;
        position: relative;
        overflow-y: auto !important;
        max-width: 100%;
        width: 100%;
    }

/* ai-translator */
#newInput2:not(.placeholder)::before {
        content: '';
    }

/* ai-translator, ai-question-generator, ai-grader, ai-flowchart-generator, +5 more */
.new_tooltip {
        position: relative;
    }

/* ai-translator, ai-grader, ai-flowchart-generator, ai-mind-map-generator, +13 more */
.mobileBtn,
    .copyPaste {
        padding: 18px 10px;
        border: none;
        background: linear-gradient(180deg, rgba(23, 96, 167, 0.1) 0%, rgba(9, 44, 65, 0.1) 100%);
        height: 33px;
        border-radius: 10px;
    }

/* ai-translator, ai-grader, ai-flowchart-generator, ai-mind-map-generator, +13 more */
.mobileBtn:hover {
        background: linear-gradient(180deg, #19A4F9 0%, #197EBD 100%) !important;
    }

/* ai-translator */
.dropdown-button {
        background-color: #6c757d12;
        color: rgb(0, 0, 0);
        padding: 10px 20px;
        font-size: 14px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        min-width: 250px;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/* ai-translator */
.dropdown-button::after {
        content: "▼";
        font-size: 10px;
        margin-left: 10px;
    }

/* ai-translator */
.search-container {
        position: relative;
        margin-bottom: 10px;
    }

/* ai-translator */
.dropdown-search {
        padding: 8px 12px 8px 35px;
        border: 1px solid #ddd;
        border-radius: 4px;
        width: calc(100% - 24px);
    }

/* ai-translator */
.search-icon {
        position: absolute;
        left: 17px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
    }

/* ai-translator */
.dropdown-options-container {
        overflow-y: auto;
        flex-grow: 1;
        display: flex;
        flex-wrap: wrap;
    }

/* ai-translator */
.dropdown-no-results {
        padding: 10px;
        color: #6c757d;
        width: 100%;
        text-align: center;
    }

/* ai-translator */
@media (max-width: 786px) {
        .button-container {
            gap: 10px;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .dropdown-search{
            font-size: 16px !important
        }
    }

/* ai-translator */
#translate {
        background: var(--light-blue);
        border-radius: 10px;
        border: none;
        padding: 10px 20px;
        color: white;
        text-align: center;
        cursor: pointer;
        font-size: 15px
    }

/* ai-translator */
.black-filter {
        filter: invert(1);
    }

/* ai-translator */
#copy_box:hover .black-filter {
        filter: invert(0);
    }

/* ai-translator */
.image-upload-icon {
        filter: invert(0.8);
    }

/* ai-translator */
.image_box:hover .image-upload-icon {
        filter: invert(0);
    }

/* ai-translator */
#box1 {
        min-height: 208px;
    }

/* ai-translator */
.content table tr:hover td {
        color: #000000 !important;
        background-color: #ffffff !important;
    }

/* ai-translator */
.gap-2{
        gap: 10px;
    }

/* ai-translator */
#clear_txt{
        border: none;
        outline: none;
        border-radius: 10px;
        padding: 10px;
        cursor: pointer;
    }

/* ai-translator */
.new_tooltip .tooltiptextCopy::after{
        left: 50% !important;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +12 more */
.ai_math_cards .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +12 more */
.ai_math_cards .col-md-4 {
        display: flex !important;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +12 more */
.ai_math_cards .bg-light-blue {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +12 more */
.arrow-rotate {
        transform: rotate(180deg);
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +12 more */
.option-btn {
        display: flex;
        align-items: center;
        padding: 3px 13px;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: #fff;
        cursor: pointer;
        font-size: 14px;
        color: #333;
        transition: all 0.3s ease;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +12 more */
.option-btn.active {
        background: linear-gradient(90deg, #19A4F9 0%, #197EBD 100%) !important;
        color: #fff;
        border-color: #19A4F9;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +12 more */
.option-btn:hover:not(.active) {
        background-color: #f0f0f0;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +11 more */
@keyframes pulse-opacity {
        0% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }

        100% {
            opacity: 1;
        }
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, word-problem-solver-testing, +10 more */
.voice-image-2.pulsing {
        animation: pulse-opacity 1s infinite;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.tab-container-2 {
        display: flex;
        background-color: #ffffff;
        padding: 4px 4px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        gap: 4px;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.tab2 {
        padding: 7px 13px;
        border: none;
        border-radius: 4px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.25s ease;
        background: transparent;
        color: #555;
        position: relative;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 6px;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.tab2.active {
        color: #ffffff;
        background: var(--light-blue);
        box-shadow: 0 2px 8px rgba(74, 108, 247, 0.3);
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.tab2:hover:not(.active) {
        background: #f1f3ff;
        color: var(--light-blue);
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.tab2:focus {
        outline: none;
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.tab-icon {
        width: 14px;
        height: 14px;
    }

/* ai-grader */
#textBox {
        height: 150px;
        overflow-y: auto;
    }

/* ai-grader, ai-flashcard */
.chooseBtn {
        border-radius: 8px !important;
    }

/* ai-grader */
.drag-drop-zone {
        transition: all 0.2s ease;
    }

/* ai-grader */
.inputBox.drag-over {
        border: 2px dashed #0d6efd !important;
        background-color: #e8f0fe !important;
        box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
    }

/* ai-grader, ai-flowchart-generator, ai-mind-map-generator, ai-flashcard, +3 more */
@keyframes spin {
        0%   { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

/* ai-grader */
.imageUploaded{
        display: none!important;
    }

/* ai-grader */
.spinner-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

/* ai-grader */
.spinning-circle {
        width: 40px;
        height: 40px;
        border: 4px solid #e0e0e0;
        border-top: 4px solid #0d6efd;
        border-radius: 50%;
        animation: spinRound 0.8s linear infinite;
    }

/* ai-grader */
@keyframes spinRound {
        0%   { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.card-body p {
        font-size: 14px;
        font-weight: 600;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.responseContainer {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
        padding: 0;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.swiper-container {
        max-width: 100%;
        width: 100%;
        padding: 10px 0;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.swiper-wrapper {
        width: 100%;
        box-sizing: border-box;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.swiper-slide {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 5px;
        box-sizing: border-box;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard {
        perspective: 1000px;
        width: 100%;
        max-width: 400px;
        min-height: 180px;
        margin: 0 auto;
        cursor: pointer;
        position: relative;
        transform-style: preserve-3d;
        transition: transform 0.6s, box-shadow 0.3s ease;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard:hover:not(.flipped) {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard.flipped {
        transform: rotateY(180deg) translateY(-2px);
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard-front,
    .flashcard-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard-back {
        transform: rotateY(180deg);
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard .card-body {
        padding: 10px;
        font-size: 12px;
        line-height: 1.4;
        height: calc(100% - 36px);
        overflow-y: auto;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard h5 {
        margin: 0;
        padding: 8px 10px;
        background: #1670a7;
        color: #fff;
        border-radius: 8px 8px 0 0;
        font-size: 13px;
        font-weight: 600;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard p {
        margin: 6px 0;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.flashcard:not(.flipped):after {
        content: "Click to flip";
        position: absolute;
        bottom: 5px;
        right: 5px;
        font-size: 10px;
        color: #999;
        font-style: italic;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.swiper-button-prev,
    .swiper-button-next {
        color: #1670a7;
        transform: scale(0.5);
        top: 25%;
        margin-top: -15px;
        z-index: 1;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.swiper-pagination-bullet {
        background: #ccc;
        opacity: 0.7;
        width: 6px;
        height: 6px;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.swiper-pagination-bullet-active {
        background: #1670a7;
        opacity: 1;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.queriesBtn,
    .new_feedback {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 10px;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
@media (max-width: 767px) {
        .flashcard {
            max-width: 85%;
        }

        .swiper-button-prev,
        .swiper-button-next {
            display: none;
        }

        .swiper-container {
            padding: 10px 5px;
        }
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.loader2 {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-top-color: #3498db;
        border-radius: 50%;
        animation: spin 0.75s ease-in-out infinite;
        transition: opacity 0.3s ease;
    }

/* ai-flowchart-generator, ai-mind-map-generator, ai-flashcard */
.loader2.hidden {
        opacity: 0;
        pointer-events: none;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.t_modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.t_modal-content {
        position: relative;
        margin: 50px auto;
        width: 80%;
        max-width: 1200px;
        background-color: #fff;
        border-radius: 10px;
        padding: 20px;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.tab-content {
        display: none;
        padding: 20px;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.tab-content.active {
        display: block;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.tab-buttons {
        gap: 10px;
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.tab-button {
        padding: 10px 20px;
        cursor: pointer;
        background-color: #f0f0f0;
        border: none;
        border-radius: 5px;
        font-size: 16px;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.tab-button.active {
        background-color: #197EBD;
        color: white;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.template-images {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.template-images img {
        width: 300px;
        height: 150px;
        border: 1px solid #ddd;
        border-radius: 5px;
        object-fit: fill;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.remove img {
        cursor: pointer;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.template-image {
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.2s;
        width: 150px;
        height: 100px;
        object-fit: cover;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.template-image:hover {
        border-color: #197EBD;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.template-image.selected {
        border-color: #197EBD;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
#flowchart {
        height: 335px !important;
        overflow-y: auto;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
#openTemplatesModal {
        background: linear-gradient(90deg, #19A4F9 0%, #197EBD 100%) !important;
        color: white;
        padding: 5px 12px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }

/* ai-flowchart-generator, ai-mind-map-generator */
.tab-button:hover {
        background-color: #197EBD;
        color: white;
    }

/* ai-flowchart-generator */
.diagram-container {
        overflow-x: auto;
    }

/* ai-mind-map-generator */
#popupDialog{
    z-index: 99999 !important;
}

/* word-problem-solver-testing, ai-math-solver, gemini-testing, accounting-ai, +7 more */
.inputBox .new_tooltip {
        position: relative;
    }

/* word-problem-solver-testing, ai-math-solver, gemini-testing, test-prompt, +8 more */
.mq-math-mode .mq-empty.mq-root-block {
        background: #ffffff;
    }

/* word-problem-solver-testing, ai-math-solver, gemini-testing, test-prompt, +8 more */
.math-placeholder {
        position: absolute;
        left: 37px;
        top: 14px;
        color: #aaa;
        pointer-events: none;
        font-style: italic;
        font-size: 14px;
    }

/* word-problem-solver-testing, answer-ai, ai-math-solver, gemini-testing, +9 more */
.adv-modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0 0 0 / .4);
        justify-content: center;
        align-items: center;
        padding: 20px;
        /* Optional: adds some spacing on smaller screens */
    }

/* answer-ai */
:root {
        --toggle-indicator-size: 15px;
        --track-height: calc(var(--toggle-indicator-size) + 3px);
        --track-width: calc(var(--toggle-indicator-size) * 2.5);
    }

/* answer-ai */
.tool-section{
        border: 2px solid #EAEAEA;
        border-radius: 10px;
        padding: 15px;
    }

/* answer-ai */
.tabs-section{
        gap: 15px;
        margin-bottom: 20px;
    }

/* answer-ai */
.task-btn{
        font-size: 15px;
        /* box-shadow: 0px 0px 15px 0px #0000000D; */
        border: 1px solid #EAEAEA;
        border-radius: 8px;
        padding: 6px 12px;
        background: var(--white);
        color: var(--black);
    }

/* answer-ai */
.task-btn.active{
        background: var(--light-blue);
        color: var(--white);
    }

/* answer-ai */
.answer-ai-input-box{
        border-radius: 10px;
        border: 1px solid #EAEAEA;
        padding: 15px;
    }

/* answer-ai */
.features-box{
        gap: 10px
    }

/* answer-ai */
.features-btn{
        border-radius: 10px;
        background: var(--white);   
        border: 0.5px solid #DADADA;
        padding: 18px 10px;
        height: 33px;
    }

/* answer-ai */
.features-btn:hover, .task-btn:not(.active):hover{
        background: #e3e3e3;
    }

/* answer-ai */
.new_tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

/* answer-ai */
#convert:hover{
        opacity: 0.7;
    }

/* answer-ai */
.toggle:last-of-type {
        margin: 0;
    }

/* answer-ai */
.toggle__input {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
        outline: none;
    }

/* answer-ai */
.toggle__input:not([disabled]):active+.toggle-track,
    .toggle__input:not([disabled]):focus+.toggle-track {
        border: 1px solid transparent;
    }

/* answer-ai */
.toggle__input:disabled+.toggle-track {
        cursor: not-allowed;
        opacity: 0.7;
    }

/* answer-ai */
.toggle-track {
        background: #E6E6E6;
        border: 1px solid transparent;
        border-radius: 100px;
        cursor: pointer;
        display: flex;
        height: var(--track-height);
        position: relative;
        width: var(--track-width);
        outline: none;
    }

/* answer-ai */
.toggle-indicator {
        background-image: url("https://calculator-online.net/assets/img/blue_toggle.png?v=1.0");
        background-size: cover;
        background-position: center;
        border-radius: var(--toggle-indicator-size);
        bottom: 2px;
        display: flex;
        height: var(--toggle-indicator-size);
        justify-content: center;
        left: 2px;
        position: absolute;
        transition: 0.3s;
        width: var(--toggle-indicator-size);
    }

/* answer-ai */
.toggle__input:checked+.toggle-track .toggle-indicator {
        background-image: url("https://calculator-online.net/assets/img/orange_toggle.png?v=1.0");
        transform: translateX(calc(var(--track-width) - var(--track-height)));
    }

/* answer-ai */
.input-area.calculator {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

/* answer-ai */
.loader::after{
        content: "";
        width: 75px;
        height: 75px;
        display: block;
        border-width: 5px;
        position: absolute;
        border-radius: 50%;
        border-style: solid;
        border-color: #e2e2e2 #2980b9;
        animation: spinner 1.5s cubic-bezier(.4,0,.4,1) infinite
    }

/* answer-ai */
.loader_overlay{
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        position: absolute;
        text-align: center;
        border-radius: 20px;
        background: rgba(249, 250, 251,.97);
        box-shadow: 0 0px 6px rgb(0 0 0 / 25%);
        -webkit-box-shadow: 0 0px 6px rgb(0 0 0 / 25%)
    }

/* answer-ai */
.loader_txt{
        left: 0;
        right: 0;
        bottom: 0;
        top: 58%;
        font-size: 16px;
        font-weight: 500;
        position: absolute;
        display: inline-block;
        margin: auto auto auto auto
    }

/* answer-ai */
.qr_code img{
        object-fit: contain;
    }

/* answer-ai */
.qr_code p{
        font-size: 12px;
        line-height: 18px;
        margin-top: -18px;
    }

/* answer-ai */
.qr_loader{
        width: 30px;
        height: 30px;
    }

/* answer-ai */
.qr_loader::after{
        width: 30px;
        height: 30px;
    }

/* answer-ai */
.voice-image.pulsing {
        animation: pulse-opacity 1s infinite;
    }

/* answer-ai */
#cropModal .modal-content {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        /* Ensure the content takes up the full height */
    }

/* answer-ai */
#croppie-element {
        height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: relative;
    }

/* answer-ai */
#croppie-element img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* answer-ai */
.new-loader {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        flex-direction: column;
    }

/* answer-ai */
.new-loader-spinner {
        width: 70px;
        height: 70px;
        border: 5px solid rgba(0, 0, 0, 0.1);
        border-top: 5px solid #007bff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* answer-ai */
.new-loader-text {
        margin-top: 10px;
        text-align: center;
        font-size: 18px;
        color: #333;
    }

/* answer-ai */
#cropModalActions button.calculate,
    .reset {
        padding: 9px 15px;
        font-size: 12px;
    }

/* answer-ai */
.cropText{
        position: absolute;
        background: #00000078;
        padding: 3px 5px;
    }

/* answer-ai */
.topCancel:hover {
        background-color: rgb(167, 74, 74);
    }

/* answer-ai */
#convert:disabled {
        cursor: not-allowed;
    }

/* answer-ai */
.own_katex:hover {
        border: 1px solid #1670a7;
        cursor: pointer;
    }

/* answer-ai */
.own_katex:hover::after {
        background: #add8e6;
        border-radius: 4px;
        bottom: 130%;
        content: "Click to Copy";
        display: block;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px;
        position: absolute;
        width: 100px;
        z-index: 1;
        font-size: 14px;
        text-align: center;
    }

/* answer-ai */
@media only screen and (max-width: 768px) {
        button.imageCrop{
            padding: 5px;
            font-size: 12px;
            height: 30px;
        }
        button.removeShare{
            padding: 5px;
            font-size: 12px;
            height: 30px;
        }
    }

/* answer-ai */
.chatgpt-message ol,
    .chatgpt-message ul {
        padding-left: 20px
    }

/* answer-ai */
.chatgpt-message h3,
    .chatgpt-message h2 {
        font-size: 18px;
        font-weight: 600 !important;
        margin-top: 12px;
        letter-spacing: .5px;
        line-height: 1.5;
        color: #1670a7;
    }

/* answer-ai */
.katex-display>.katex,
    .katex .katex-html {
        font-size: 17px;
    }

/* answer-ai */
.object-fit-contain {
        object-fit: contain
    }

/* answer-ai */
.chatgpt-message p,
    .chatgpt-message li:not(:has(p)) {
        font-size: 16px;
        letter-spacing: .5px;
        line-height: 1.5;
        color: #000000;
    }

/* answer-ai */
.croppie-container {
        height: auto !important
    }

/* answer-ai */
.icon_animation {
        display: inline-block;
        position: relative;
        width: 100%;
        height: 80px;
    }

/* answer-ai */
.icon_animation samp {
        display: inline-block;
        position: absolute;
        left: 0;
        /* Adjusted to start from the left edge */
        background: #EEF1F5;
        animation: icon_animation 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
        height: 8px;
    }

/* answer-ai */
.main_area .icon_sty:hover .icon_animation samp {
        background: #fff;
    }

/* answer-ai */
.icon_animation samp:nth-child(1) {
        top: 10px;
        animation-delay: -0.24s;
    }

/* answer-ai */
.icon_animation samp:nth-child(2) {
        top: 28px;
        left: 0;
        /* Starts from the left edge */
        animation-delay: -0.12s;
    }

/* answer-ai */
.icon_animation samp:nth-child(3) {
        top: 47px;
        animation-delay: 0s;
    }

/* answer-ai */
.icon_animation samp:nth-child(4) {
        top: 66px;
        /* Adjusted for 4th element */
        animation-delay: 0.12s;
        /* Slightly delayed */
    }

/* answer-ai */
.icon_animation samp:nth-child(5) {
        top: 85px;
        animation-delay: 0.24s;
    }

/* answer-ai */
@keyframes icon_animation {
        0% {
            left: 0;
            width: 0;
        }
        50%, 100% {
            left: 0;
            width: 100%;
        }
    }

/* answer-ai */
.object-fit-none {
        object-fit: none
    }

/* answer-ai */
#response_question{
        font-size: 14px;
        letter-spacing: .5px;
        line-height: 1.5;
        color: #000000;
    }

/* answer-ai */
#exampleLoadBtn{
        padding: 5px 10px;
        background: var(--white);
        animation: none;
        border: none
    }

/* answer-ai */
.radius-8{
        border-radius: 8px;
    }

/* answer-ai */
.mainUpload,.resultImageShow{
        background: #E6E6E6;
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;

    }

/* answer-ai */
.mainUpload .logo_ready_image{
        object-fit: contain
    }

/* answer-ai */
#after_title_line{
        font-size: 17px !important
    }

/* answer-ai */
#emojis-div{
        background: #f9f9f9;
        border-radius: 10px;
        width: max-content;
    }

/* answer-ai */
.barCenter{
        background: #1670a7;
        width: 1px;
    }

/* answer-ai */
.priceBanner p{
        padding: 3px 8px;
    }

/* answer-ai */
.priceBanner p:first-child{
        padding-left: 5px;
    }

/* answer-ai */
.shareButtons{
        gap: 10px
    }

/* answer-ai */
.shareButtons .bg-light-blue{
        padding: 5px 10px;
    }

/* answer-ai */
.shareButtons .bg-light-blue:hover {
        background: #e3dcdc;
    }

/* answer-ai */
.downloadOptions p:hover{
        color: var(--light-blue);
    }

/* answer-ai */
.mq-editable-field.mq-focused, .mq-math-mode .mq-editable-field.mq-focused {
        -moz-box-shadow: transparent 0 0 1px 2px, inset transparent 0 0 2px 0 !important;
        box-shadow: transparent 0 0 1px 2px, inset transparent 0 0 2px 0 !important;
        border-color: transparent !important;
        border-radius: 1px !important;
    }

/* answer-ai */
.proDetails .proMax:first-child{
        border-radius: 10px 10px 0px 0px;
    }

/* answer-ai */
.proDetails .proMax:last-child{
        border-radius: 0px 0px 10px 10px;
    }

/* answer-ai */
@media screen and (max-width: 600px) {
        #newInput{
            font-size: 16px;
        }
    }

/* answer-ai */
@keyframes react-spinners-PulseLoader-pulse{
        0% {
            transform: scale(1);
            opacity: 1;
        }
        45% {
            transform: scale(0.1);
            opacity: 0.7;
        }
        80% {
            transform: scale(1);
            opacity: 1;
        }
    }

/* answer-ai */
.cropper-point {
        width: 10px !important;
        height: 10px !important;
        background-color: var(--light-blue) !important;
    }

/* answer-ai */
.katex-display {
        margin: 0px 0px !important;
    }

/* answer-ai */
.strongText {
        font-weight: bold;
        color: #19A4F9;
        background: #19a4f91c;
        padding: 6px;
        border-radius: 8px;
        font-size: 12px;
        line-height: 2.5;
    }

/* answer-ai */
.superAI{
        gap: 5px;
        background: #1670a712;
        border-radius: 10px;
        padding: 10px;
        height: 30px;
    }

/* answer-ai */
@keyframes spinner{
        0%{
            transform: rotate(0deg)
        }
        100%{
            transform: rotate(360deg)
        }
    }

/* answer-ai */
@media screen and (-ms-high-contrast: active) {
        .toggle-track {
            border-radius: 0;
        }
    }

/* ai-math-solver */
p#newInput[contenteditable] {
        min-height: 150px;
        max-height: 250px;
        width: 100%;
        outline: 0;
        box-sizing: border-box;
        overflow: auto;
        resize: none;
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: .5px;
        border: none;
        background: transparent;
        padding: 10px;
        position: relative;
    }

/* ai-math-solver, test-prompt */
.heading-p {
        display: inline-block;
        background: #EEEEEE;
        border-radius: 10px 0px;
        padding: 3px 15px;
        font-size: 12px;
    }

/* ai-math-solver, test-prompt */
.des-example {
        color: #969696;
        font-size: 12px;
        cursor: pointer;
        line-height: 1.5;
    }

/* ai-math-solver, test-prompt */
#categoryDropdown {
        padding: 3px 10px;
        background: var(--white);
        border: none;
        border-radius: 7px;
        outline: 0px;
        font-size: 14px;
        cursor: pointer;
        border: 1px solid #ccc;
    }

/* ai-math-solver, test-prompt */
.n_tab {
        padding: 6px 16px;
        margin: 0 5px;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }

/* ai-math-solver, test-prompt */
.n_tab:hover {
        background-color: #bbb;
    }

/* ai-math-solver, test-prompt */
.n_tab.active {
        background: linear-gradient(90deg, #19A4F9 0%, #197EBD 100%) !important;
        color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

/* ai-math-solver, test-prompt */
.n_tab-container {
        display: flex;
        justify-content: center;
    }

/* ai-math-solver, test-prompt */
#cal_input {
        width: 85%;
        margin-left: 25px;
        border: 1px solid #d5d5d5;
        border-radius: 10px;
        padding: 12px;
    }

/* ai-math-solver, test-prompt */
#new_convert {
        background: linear-gradient(90deg, #19A4F9 0%, #197EBD 100%) !important;
        color: white;
        padding: 5px 12px 5px 12px;
        height: 39px !important;
        border: none;
    }

/* ai-math-solver, test-prompt */
.main_tabs {
        background: var(--white);
        padding: 5px;
        border: 1px solid rgba(46, 131, 251, .2);
        border-radius: 25px;
    }

/* ai-math-solver, test-prompt */
.calculator.input-area {
        padding: 5px 15px 15px !important;
        margin-bottom: 10px;
    }

/* ai-math-solver, test-prompt */
@media (max-width: 378px) {
        .main_tab {
            padding: 0 10px;
        }
    }

/* ai-math-solver */
.graph_box.active {
        background: linear-gradient(180deg, #19A4F9 0%, #197EBD 100%) !important;
    }

/* ai-math-solver */
.panelRow.avNameLogo *,
    .button.inputHelp-OnlineHelpBtn {
        display: none !important
    }

/* ai-math-solver */
.video_area {
        width: 100%;
        background-color: #000;
        position: relative;
        border-radius: 10px;
    }

/* ai-math-solver */
.steps-scroll-container {
        max-height: 400px;
        overflow-y: hidden;
        scroll-behavior: smooth;
        padding: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: none;
    }

/* ai-math-solver */
.steps-scroll-container::-webkit-scrollbar {
        display: none;
    }

/* ai-math-solver */
.controls_section {
        padding: 10px 15px;
    }

/* ai-math-solver */
.videoBtns {
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        width: 45px;
        height: 45px;
        border-radius: 96px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* ai-math-solver */
.videoBtns:hover {
        background: #222222;
    }

/* ai-math-solver */
.stepsContainer .step {
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 12px;
        transition: all 0.4s ease;
        background: #f8f9fa;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        filter: blur(5px);
        opacity: 0.4;
        pointer-events: none;
    }

/* ai-math-solver */
.stepsContainer .step.active {
        background-image: var(--bs-gradient);
        color: var(--white);
        filter: blur(0);
        opacity: 1;
        pointer-events: auto;
    }

/* ai-math-solver */
.stepsContainer .step.completed {
        background: #e8f5e9;
        color: #2e7d32;
        border-left-color: #4caf50;
        filter: blur(0);
        opacity: 0.7;
        pointer-events: auto;
    }

/* ai-math-solver */
.stepsContainer .step-number {
        font-weight: bold;
        font-size: 12px;
        opacity: 0.7;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

/* ai-math-solver */
.stepsContainer .step-equation {
        font-size: 16px;
        line-height: 1.6;
    }

/* ai-math-solver */
.narration {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
        width: 60%;
        max-width: 100%;
        z-index: 999999;
        background: #222222;
        pointer-events: none;
        border-radius: 3px;
    }

/* ai-math-solver, gemini-testing */
.video-loading {
        background: white;
        padding: 20px;
        border-radius: 8px;
        margin-top: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

/* ai-math-solver, gemini-testing */
.simple-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #007bff;
        border-radius: 50%;
        margin: 0 auto 15px;
        animation: spin 1s linear infinite;
    }

/* ai-math-solver, gemini-testing */
.loading-text {
        color: #333;
        font-weight: 500;
        margin-bottom: 5px;
        font-size: 14px;
    }

/* ai-math-solver, gemini-testing */
.loading-subtext {
        color: #999;
        font-size: 12px;
        margin: 0;
    }

/* ai-math-solver */
.createVideoButton {
            display: flex !important;
        }

/* gemini-testing, ai-quiz-generator */
.quiz-option input:checked+span {
        color: #1670a7;
        font-weight: 600;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-option input:checked~.checkmark {
        background-color: #1670a7;
        border-color: #1670a7;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-card {
        /* backdrop-filter: blur(10px); */
        background: rgb(255 255 255);
        border: 1px solid #e5e7eb;
        border-radius: 15px;
    }

/* gemini-testing, ai-quiz-generator */
#quiz-additional-sections {
        gap: 8px;
    }

/* gemini-testing, ai-quiz-generator */
.score-badge {
        /* background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%); */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* gemini-testing, ai-quiz-generator */
@media (max-width: 576px) {


        .g-4 {
            gap: 15px !important;
        }
    }

/* gemini-testing, ai-quiz-generator */
.fw-medium {
        font-weight: 500 !important;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-button {
        background: var(--light-blue);
        color: var(--white);
        border-radius: 7px;
        padding: 11px 20px;
        font-size: 14px;
        /* text-transform: uppercase; */
        border: none;
        outline: 0;
        cursor: pointer;
    }

/* gemini-testing, ai-quiz-generator */
#next-button:disabled,
    #finish-button:disabled {
        background: #166fa7;
        color: #f8f9fa;
        border-color: #d0d0d0;
        cursor: not-allowed;
        opacity: 0.6;
    }

/* gemini-testing, ai-quiz-generator */
#next-button,
    #finish-button {
        background: var(--light-blue);
        color: var(--white);

    }

/* gemini-testing, ai-quiz-generator */
@keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

/* gemini-testing, ai-quiz-generator */
@keyframes shimmer {
        0% {
            transform: translateX(-100%);
        }

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

/* gemini-testing, ai-quiz-generator */
@keyframes bounceIn {
        0% {
            opacity: 0;
            transform: scale(0.3);
        }

        50% {
            opacity: 1;
            transform: scale(1.05);
        }

        70% {
            transform: scale(0.9);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

/* gemini-testing, ai-quiz-generator */
@keyframes pulse {

        0%,
        100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }
    }

/* gemini-testing, ai-quiz-generator */
@keyframes confetti {
        0% {
            transform: translateY(0) rotate(0deg);
            opacity: 1;
        }

        100% {
            transform: translateY(100vh) rotate(360deg);
            opacity: 0;
        }
    }

/* gemini-testing, ai-quiz-generator */
.option-checkmark {
        width: 20px;
        height: 20px;
        border: 2px solid #d1d5db;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

/* gemini-testing, ai-quiz-generator */
.option-checkmark::after {
        content: '✓';
        color: white;
        font-size: 12px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

/* gemini-testing, ai-quiz-generator */
input:checked+.option-checkmark::after {
        opacity: 1;
    }

/* gemini-testing, ai-quiz-generator */
.floating {
        animation: floating 3s ease-in-out infinite;
    }

/* gemini-testing, ai-quiz-generator */
@keyframes floating {

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

        50% {
            transform: translateY(-10px);
        }
    }

/* gemini-testing, ai-quiz-generator */
.glow {
        box-shadow: 0 0 20px rgba(22, 112, 167, 0.3);
    }

/* gemini-testing, ai-quiz-generator */
.glow-green {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    }

/* gemini-testing, ai-quiz-generator */
.glow-red {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    }

/* gemini-testing, ai-quiz-generator */
.quiz-container::-webkit-scrollbar {
        width: 6px;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-container::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-container::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #1670a7, #0d5a8a);
        border-radius: 10px;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-container::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #0d5a8a, #1670a7);
    }

/* gemini-testing, ai-quiz-generator */
.quiz-loading {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }

/* gemini-testing, ai-quiz-generator */
@keyframes loading {
        0% {
            background-position: 200% 0;
        }

        100% {
            background-position: -200% 0;
        }
    }

/* gemini-testing, ai-quiz-generator */
.confetti {
        position: fixed;
        width: 10px;
        height: 10px;
        background: #ff6b6b;
        animation: confetti 5s ease-in-out forwards;
        pointer-events: none;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-title {
        background: linear-gradient(135deg, #1670a7, #22d3ee);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-option .cursor-pointer {
        border: 1px solid #e1e1e1;
        padding: 15px 10px;
        border-radius: 10px;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-option .cursor-pointer:hover {
        border: 1px solid #1670a7;
        border-radius: 10px;
        background: #eff6ff;
    }

/* gemini-testing, ai-quiz-generator */
.r-arrow,
    .l-arrow {
        font-size: 10px;
    }

/* gemini-testing, ai-quiz-generator */
#next-button,
    #previous-button,
    #exit-quiz-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

/* gemini-testing, ai-quiz-generator */
.progress {
        background-color: #f1f5f9 !important;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    }

/* gemini-testing, ai-quiz-generator */
.progress-bar-striped {
        background-image: linear-gradient(45deg,
                rgba(255, 255, 255, 0.15) 25%,
                transparent 25%,
                transparent 50%,
                rgba(255, 255, 255, 0.15) 50%,
                rgba(255, 255, 255, 0.15) 75%,
                transparent 75%,
                transparent) !important;
        background-size: 1rem 1rem;
    }

/* gemini-testing, ai-quiz-generator */
.progress-bar-animated {
        animation: progress-bar-stripes 1s linear infinite !important;
    }

/* gemini-testing, ai-quiz-generator */
@keyframes progress-bar-stripes {
        0% {
            background-position: 1rem 0;
        }

        100% {
            background-position: 0 0;
        }
    }

/* gemini-testing, ai-quiz-generator */
.progress-bar-custom {
        /* Remove any custom progress bar styles that might conflict */
    }

/* gemini-testing, ai-quiz-generator */
.custom-progress {
        width: 100%;
        height: 12px;
        background-color: #f1f5f9;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        position: relative;
    }

/* gemini-testing, ai-quiz-generator */
.custom-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, #1670a7, #22d3ee);
        border-radius: 10px;
        transition: width 0.6s ease;
        box-shadow: 0 2px 4px rgba(22, 112, 167, 0.3);
        position: relative;
        overflow: hidden;
    }

/* gemini-testing, ai-quiz-generator */
.custom-progress-bar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-image: linear-gradient(45deg,
                rgba(255, 255, 255, 0.15) 25%,
                transparent 25%,
                transparent 50%,
                rgba(255, 255, 255, 0.15) 50%,
                rgba(255, 255, 255, 0.15) 75%,
                transparent 75%,
                transparent);
        background-size: 1rem 1rem;
        animation: progress-stripes 1s linear infinite;
    }

/* gemini-testing, ai-quiz-generator */
@keyframes progress-stripes {
        0% {
            background-position: 1rem 0;
        }

        100% {
            background-position: 0 0;
        }
    }

/* gemini-testing, ai-quiz-generator */
.progress,
    .progress-bar,
    .progress-bar-striped,
    .progress-bar-animated {
        /* These will no longer be used */
    }

/* gemini-testing, ai-quiz-generator */
.text-danger {
        color: #FF0000 !important;
    }

/* gemini-testing, ai-quiz-generator */
.quiz-option .card-body {
        font-size: 14px;
    }

/* gemini-testing, ai-quiz-generator */
.text-danger.fw-bold {
        color: #dc2626 !important;
        font-weight: 600 !important;
    }

/* gemini-testing, ai-quiz-generator */
.text-success.fw-bold {
        color: #059669 !important;
        font-weight: 600 !important;
    }

/* gemini-testing, ai-quiz-generator */
.text-muted.fw-medium {
        color: #6b7280 !important;
        font-weight: 500 !important;
        font-size: 14px;
    }

/* gemini-testing, ai-quiz-generator */
.border-top {
        border-top: 1px solid #e5e7eb !important;
    }

/* gemini-testing, ai-quiz-generator */
.badge.bg-success,
    .badge.bg-danger {
        font-size: 12px;
        font-weight: 600;
        /* color: #fff !important; */
        border-radius: 15px;
    }

/* gemini-testing, ai-quiz-generator */
.font-s-16 {
        font-size: 16px !important;
    }

/* gemini-testing, ai-quiz-generator */
.dropdown-option-attach {
        border-bottom: 1px solid #f1f5f9;
        transition: all 0.2s ease;
    }

/* gemini-testing, ai-quiz-generator */
.dropdown-option-attach:last-child {
        border-bottom: none;
    }

/* gemini-testing, ai-quiz-generator */
.dropdown-option-attach:hover {
        background-color: #f8fafc;
    }

/* gemini-testing, ai-quiz-generator */
.dropdown-menu-attach {
        animation: slideDown 0.2s ease-out;
    }

/* gemini-testing, ai-quiz-generator */
@keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

/* gemini-testing, ai-quiz-generator */
.modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1050;
    }

/* gemini-testing, ai-quiz-generator */
.modal-content {
        animation: modalSlideIn 0.3s ease-out;
    }

/* gemini-testing, ai-quiz-generator */
@keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

/* gemini-testing, ai-quiz-generator */
.position-absolute {
        position: absolute;
    }

/* gemini-testing, ai-quiz-generator */
#attach-dropdown-btn:hover img {
        filter: brightness(0) invert(1);
        /* Makes image white on hover */
    }

/* gemini-testing, ai-quiz-generator */
#attach-dropdown-btn:hover {
        background: linear-gradient(180deg, #19A4F9 0%, #197EBD 100%) !important;
    }

/* gemini-testing, ai-quiz-generator */
@keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

/* gemini-testing, ai-quiz-generator */
.tab-active {
        background: linear-gradient(135deg, #1670a7 0%, #0d5a8a 100%);
        color: white;
    }


/* question-ai */
.verifying {
        background: #b2d2e7 !important;
    }

/* ai-quiz-generator */
#urlModal .bg-white {
        background-color: #ffffff;
    }

/* ai-quiz-generator */
#urlModal .radius-10 {
        border-radius: 10px;
    }

/* ai-quiz-generator */
#urlModal .p-3 {
        padding: 1rem;
    }

/* ai-quiz-generator */
#urlModal .d-flex.justify-content-between.align-items-center {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/* ai-quiz-generator */
#urlModal .mb-3 {
        margin-bottom: 1rem;
    }

/* ai-quiz-generator */
#urlModal .mb-0 {
        margin-bottom: 0;
    }

/* ai-quiz-generator */
#urlModal .font-s-16 {
        font-size: 16px;
    }

/* ai-quiz-generator */
#urlModal .font-s-14 {
        font-size: 14px;
    }

/* ai-quiz-generator */
#urlModal .font-s-12 {
        font-size: 12px;
    }

/* ai-quiz-generator */
#urlModal .text-blue {
        color: #1670A7;
    }

/* ai-quiz-generator */
#urlModal .text-muted {
        color: #6c757d;
    }

/* ai-quiz-generator */
#urlModal .btn-close {
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
        border: 0;
        border-radius: 0.375rem;
        opacity: 0.5;
        width: 1em;
        height: 1em;
        padding: 0.25em;
        cursor: pointer;
    }

/* ai-quiz-generator */
#urlModal .btn-close:hover {
        opacity: 0.75;
    }

/* ai-quiz-generator */
#urlModal .form-control {
        display: block;
        width: 100%;
        padding: 0.75rem;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: 0.375rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

/* ai-quiz-generator */
#urlModal .form-control:focus {
        color: #212529;
        background-color: #fff;
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.25);
    }

/* ai-quiz-generator */
#urlModal .d-flex.justify-content-end.gap-2 {
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
    }

/* ai-quiz-generator */
#urlModal .btn {
        display: inline-block;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        text-align: center;
        text-decoration: none;
        vertical-align: middle;
        cursor: pointer;
        user-select: none;
        background-color: transparent;
        border: 1px solid transparent;
        padding: 0.375rem 0.75rem;
        font-size: 14px;
        border-radius: 0.375rem;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

/* ai-quiz-generator */
#urlModal .btn-outline-secondary {
        color: #6c757d;
        border-color: #6c757d;
    }

/* ai-quiz-generator */
#urlModal .btn-outline-secondary:hover {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

/* ai-quiz-generator */
#urlModal .btn-primary {
        color: #fff;
        background-color: #1670A7;
        border-color: #1670A7;
    }

/* ai-quiz-generator */
#urlModal .px-3 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

/* ai-quiz-generator */
#urlModal .mt-1 {
        margin-top: 0.25rem;
    }

/* ai-quiz-generator */
@keyframes modalFadeIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

/* ai-quiz-generator */
.ai-quiz .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0 0 0 / .4);
    }

/* ai-quiz-generator */
.ai-quiz .modal-content {
        position: absolute;
        top: 30%;
        left: 30%;
        padding: 10px;
        width: 1000px;
        max-width: 90%;
        max-height: 90vh;
        overflow-y: auto;
    }

