.mockup_generator_page {

    [data-theme="violet"] {
        --bg-color: #EEEDFE;
        --text-color: #534AB7;
    }

    [data-theme="blue"] {
        --bg-color: #E6F1FB;
        --text-color: #047FA1;
    }

    [data-theme="almond"] {
        --bg-color: #FAEEDA;
        --text-color: #9E6B16;
    }

    [data-theme="mint"] {
        --bg-color: #E1F5EE;
        --text-color: #377E65;
    }

    [data-theme="dark-blue"] {
        --bg-color: #FFFFFF;
        --text-color: #2D414B;
    }


    p {
        margin-bottom: 0;
    }

    img {
        width: 20px;
        height: 20px;
    }

    .subheading {
        background-color: var(--bg-color);
        color: var(--text-color);
        border-radius: 30px;
        margin: 1rem 0;
        padding: 0.2rem 0 0 0.5rem;
        text-indent: 0.5rem;
        font-size: 13px;
        font-weight: 400;
        height: 1.5rem;
        display: flex;
        vertical-align: middle;
    }

    .themed-highlight {
        background-color: var(--text-color);
        color: var(--bg-color);
        border-radius: 30px;
        padding: 2px 5px;
        font-size: 11px;
        font-weight: 400;
        margin-left: 5px;
    }

    .steps {
        font-weight: 500;
        font-size: 16px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .step-button {
        background-color: var(--text-color);
        color: var(--bg-color);
        border-radius: 32px;
        padding: 0.2rem 1.2rem;
        margin: 0 1rem 0 0;
        font-size: 16px;
        display:inline-block;
        text-align: center;
        vertical-align: middle;
    } 

    .mock_up_generator_industry_list .steps .step-button,
    .mock_up_generator_product_type_list .steps .step-button,
    .upload-logo-section .steps .step-button {
        width: 40px !important;
    }

    .mock_up_generator_industry_list .steps .step-button.step-number,
    .mock_up_generator_product_type_list .steps .step-button.step-number,
    .upload-logo-section .steps .step-button.step-number {
        width: auto !important;
        padding: 0.1rem 0.7rem; 
    }


    .image-items-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        /* Center items horizontally */
        gap: 2rem;
    }

    .image-item-link {
        background: #FFFFFF;
        border-radius: 16px 16px 0 0;
        height: auto;
        overflow: hidden;

        display: flex;
        justify-content: center;
        align-items: center;
        object-position: center;
    }

    .image-item-img img {
        margin: 0.7rem;
        width: 100%;
        height: 100%;
        object-position: center;
    }

    .image-item-img img.upload-img {
        width: 50px;
        height: 50px;
    }

    .mock_up_generator_product_type_list .image-item-img img {
        width: 150px;
        height: 90px;
    }

    .upload-logo {
        display: block;
        flex-direction: column;
        background: #ffffff;
        border: 2px dashed #047FA1;
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.10);
        border-radius: 16px;
        font-weight: 700;
        text-align: center;
        padding: 2rem 1rem;
        cursor: pointer;
    }

    .upload-logo.dragover {
        border-color: var(--text-color, #2D414B);
        background: #FAFAFA;
    }

    .upload-logo-preview .upload-preview-img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }

    .upload-btn {
        background-color: #2D414B;
        color: #ffffff;
        border-radius: 30px;
        padding: 0.4rem 1.5rem;
        display: inline-block;
        cursor: pointer;
    }

    .mockup-upload-error {
        font-weight: 500;
        font-size: 14px;
    }

    .generate-mockups-btn {
        border-radius: 30px;
        padding: 0.5rem 2rem;
        font-weight: 600;
    }

    .generate-mockups-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    h2 {
        padding: 0;
        margin-bottom: 0;
        font-family: Roboto;
        font-weight: 700 !important;
    }

    .image-item {
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border: 2px solid #CCCCCC;
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.10);
        border-radius: 16px;
        font-weight: 700;
    }

    .image-item:hover {
        border: 2px solid #047FA1;
    }

    .nav-link {
        padding: .5rem .5rem 1rem 1rem;
        color: var(--text-color);
        font-weight: 500;
        font-size: 20px;
        text-decoration: underline;
    }

    .image-item-description {
        padding: 1rem;
    }

    .image-link {
        margin-top: auto !important;
    }

    .mockup-industry-card {
        cursor: pointer;
        transition: border-color 0.15s ease;
    }

    .mockup-industry-card.active {
        border: 2px solid #047FA1;
        color: #047FA1;
    }

    .mockup-industry-card.active .text-center::after {
        content: "";
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-left: 6px;
        vertical-align: middle;
        background-image: url(/images/sales_tools/mockup_ai_generator/checkmark.svg);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .mockup-result-img-wrap {
        position: relative;
    }

    .mockup-result-tile.is-loaded .mockup-result-img {
        cursor: pointer;
    }

    .mockup-result-loading {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 16px 16px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: linear-gradient(120deg, #ECECEC 0%, #F7F7F7 50%, #ECECEC 100%);
        z-index: 1;
    }

    .mockup-result-loading::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -60%;
        width: 45%;
        border-radius: 16px 16px 0 0;
        background: linear-gradient(
            100deg,
            transparent 0%,
            rgba(255, 255, 255, 0.85) 50%,
            transparent 100%
        );
        animation: mockup-shine 1.5s ease-in-out infinite;
    }

    .mockup-result-tile.is-failed .mockup-result-loading {
        background: #ffffff;
    }

    .mockup-result-tile.is-failed .mockup-result-loading::before {
        content: none;
    }

    .mockup-result-error-text {
        position: relative;
        color: #C0392B;
        font-size: 13px;
        font-weight: 600;
    }

    .mockup-lightbox-modal .modal-content {
        background: #111111;
        border-radius: 16px;
        overflow: hidden;
    }

    .mockup-lightbox-modal .modal-dialog {
        max-width: 90vw;
    }

    .mockup-lightbox-close {
        position: absolute;
        top: 12px;
        right: 16px;
        z-index: 10;
        color: #ffffff;
        opacity: 0.9;
        text-shadow: none;
        font-size: 2rem;
    }

    .mockup-lightbox-swiper {
        width: 100%;
        height: 80vh;
    }

    .mockup-lightbox-swiper .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .mockup-lightbox-swiper img {
        max-width: 100%;
        max-height: 70vh;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .mockup-lightbox-caption {
        color: #ffffff;
        margin-top: 1rem;
        font-weight: 500;
    }

    .mockup-lightbox-swiper .swiper-button-prev,
    .mockup-lightbox-swiper .swiper-button-next {
        color: #ffffff;
    }
}

/* @keyframes can't be nested inside a selector block (unlike @media/@supports),
   so this has to live at the top level of the file to actually take effect. */
@keyframes mockup-shine {
    0% {
        left: -60%;
    }

    100% {
        left: 115%;
    }
}
