@charset "utf-8";

:root,
[data-sportstech-skin=light]:root {
    --sportstech-main-color: #7c5fe3;
    --sportstech-main-color1: #8768f8;
    --sportstech-main-color2: #b7a4fb
}

:root {
    color-scheme: dark;
    --sportstech-site-bg-color: #0f0e11;
    --sportstech-header-bg-color: #17151b;
    --sportstech-some-r-bg-color: #17151b;
    --sportstech-some-a-bg-color: #2b2830;
    --sportstech-heading-color: #c0bcca;
    --sportstech-body-color: #7e7a86;
    --sportstech-border-color: #312e37;
    --sportstech-button-bg-color: #1c1925;
    --sportstech-hover-color: #fff;
    --sportstech-heading-font-family: 'Heebo', sans-serif;
    --sportstech-body-font-family: 'Work Sans', sans-serif;
    --sportstech-left-panel-width: 300px;
    --sportstech-header-height: 65px
}

[data-sportstech-skin=light]:root {
    color-scheme: light;
    --sportstech-site-bg-color: #fff;
    --sportstech-header-bg-color: #f5f5f5;
    --sportstech-some-r-bg-color: #f5f5f5;
    --sportstech-some-a-bg-color: #e7e7e7;
    --sportstech-heading-color: #333;
    --sportstech-body-color: #444;
    --sportstech-border-color: #ddd;
    --sportstech-button-bg-color: #f5f5f5;
    --sportstech-hover-color: #000
}

/* Base Styles */
html {
    padding: 0;
    margin: 0
}

*,
:after,
:before {
    box-sizing: border-box
}

body {
    font-family: var(--sportstech-body-font-family);
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.5;
    font-weight: 400;
    color: var(--sportstech-body-color);
    background-color: var(--sportstech-site-bg-color);
    position: relative;
    word-break: break-word;
    overflow: hidden;
    margin: 0;
    padding: 0
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sportstech-heading-font-family);
    color: var(--sportstech-heading-color);
    line-height: 1.22;
    letter-spacing: 0
}

p {
    letter-spacing: 0;
    margin-bottom: 20px
}

/* SVG Icon Styles */
.fn__svg {
    fill: currentcolor;
    width: 18px;
    height: 18px
}

/* Preloader */
.sportstech_fn_preloader {
    position: fixed;
    padding: 0;
    margin: 0;
    z-index: 1000;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: none;
    align-items: center;
    justify-content: center;
    transition: .3s;
    background-color: var(--sportstech-site-bg-color)
}

.sportstech_fn_preloader.enabled {
    display: flex
}

.sportstech_fn_preloader.fn_ready {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.sportstech_fn_preloader svg {
    width: 240px;
    height: 240px;
    border-radius: 100%;
    position: relative
}

.sportstech_fn_preloader .first_circle {
    fill: none;
    stroke-width: 10px;
    stroke: #080808
}

.sportstech_fn_preloader .second_circle {
    fill: none;
    stroke-width: 10px;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 360;
    stroke-dashoffset: 100;
    stroke: var(--sportstech-main-color);
    animation: 10s infinite sportstech_fn_preloader;
    position: relative;
    z-index: 1
}

@keyframes sportstech_fn_preloader {
    0%, 100% {
        stroke-dasharray: 360
    }
    50% {
        stroke-dasharray: 1
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto
}

/* Main Wrapper */
.sportstech_fn_wrapper {
    box-sizing: border-box;
    height: 100vh;
    overflow: hidden
}

.sportstech_fn_wrap {
    position: relative;
    min-height: 100vh
}

/* Content Area */
.sportstech_fn_content {
    position: relative;
    margin-left: var(--sportstech-left-panel-width);
    margin-top: var(--sportstech-header-height);
    height: calc(100vh - var(--sportstech-header-height));
    transition: .2s;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

/* Header */
.sportstech_fn_header {
    position: fixed;
    top: 0;
    left: var(--sportstech-left-panel-width);
    right: 0;
    height: var(--sportstech-header-height);
    background-color: var(--sportstech-header-bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    transition: .2s
}

.sportstech_fn_header:after {
    content: '';
    pointer-events: none;
    position: absolute;
    bottom: 0;
    z-index: 1;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--sportstech-border-color)
}

/* Navigation Bar */
.fn__nav_bar {
    display: flex
}

.fn__nav_bar .bar__item {
    height: var(--sportstech-header-height);
    position: relative;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

.fn__nav_bar .bar__item:last-child {
    margin-right: 0
}

.fn__nav_bar .item_opener {
    width: 46px;
    height: 46px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    position: relative;
    color: var(--sportstech-heading-color)
}

.fn__nav_bar .item_opener:hover {
    opacity: .8
}

.fn__nav_bar .item_opener .fn__svg {
    width: 20px;
    height: 20px;
    transition: .3s
}

/* Light/Dark Mode Toggle */
.fn__nav_bar .item_opener .dark_mode {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -12px 0 0 -12px;
    transform: scale(.7) rotate(-90deg)
}

[data-sportstech-skin=dark] .fn__nav_bar .item_opener .light_mode,
[data-sportstech-skin=light] .fn__nav_bar .item_opener .dark_mode {
    opacity: 1;
    transform: scale(1) rotate(0)
}

[data-sportstech-skin=light] .fn__nav_bar .item_opener .light_mode {
    opacity: 0;
    transform: scale(.7) rotate(90deg)
}

[data-sportstech-skin=dark] .fn__nav_bar .item_opener .dark_mode {
    opacity: 0;
    transform: scale(.7) rotate(-90deg)
}

/* Fullscreen Toggle */
.fn__nav_bar .item_opener .s_screen {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -9px 0 0 -9px;
    transform: scale(.7);
    width: 18px;
    height: 18px
}

.fn__nav_bar .item_opener.full_screen .f_screen {
    opacity: 0;
    transform: scale(.7)
}

.fn__nav_bar .item_opener.full_screen .s_screen {
    opacity: 1;
    transform: scale(1)
}

/* Button Styles */
.sportstech_fn_button {
    display: block;
    background-color: var(--sportstech-button-bg-color);
    position: relative;
    border-radius: 20px;
    width: fit-content;
    max-width: 100%;
    text-decoration: none;
    font-family: var(--sportstech-heading-font-family);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .5px;
    height: 40px;
    line-height: 40px;
    padding: 0 34px;
    color: var(--sportstech-heading-color);
    text-align: center;
    outline: transparent 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.sportstech_fn_button:hover {
    color: var(--sportstech-hover-color)
}

.sportstech_fn_button span {
    position: relative;
    z-index: 5;
    top: 1px
}

.sportstech_fn_button:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(270deg, var(--sportstech-main-color1), var(--sportstech-main-color2), var(--sportstech-main-color1), var(--sportstech-main-color2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    -webkit-mask-composite: source-out;
    mask-composite: exclude;
    background-size: 300% 300%;
    animation: 4s infinite alternate animatedgradient
}

.sportstech_fn_button:hover:after {
    animation-duration: 2s
}

.sportstech_fn_button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: var(--sportstech-main-color1);
    opacity: .1;
    border-radius: 20px;
    box-shadow: 0 5px 15px
}

@keyframes animatedgradient {
    0%, 100% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
}

/* Left Panel */
.sportstech_fn_leftpanel {
    z-index: 101;
    position: fixed;
    background-color: var(--sportstech-some-r-bg-color);
    width: var(--sportstech-left-panel-width);
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 1px solid var(--sportstech-border-color);
    display: flex;
    flex-direction: column;
    transition: .2s
}

.sportstech_fn_leftpanel .leftpanel_logo {
    min-height: var(--sportstech-header-height);
    height: var(--sportstech-header-height);
    border-bottom: 1px solid var(--sportstech-border-color);
    padding: 20px 70px 20px 30px;
    display: flex;
    align-items: center;
    position: relative
}

.sportstech_fn_leftpanel .fn__icon_button {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    right: 20px;
    z-index: 4
}

.sportstech_fn_leftpanel .fn__icon_button .fn__svg {
    transform: rotate(180deg)
}

.sportstech_fn_leftpanel .leftpanel_content {
    flex: 1 0 auto;
    padding: 24px 20px;
    overflow-y: auto;
    height: calc(100% - var(--sportstech-header-height));
    scrollbar-width: thin;
    scrollbar-color: #999 #fff
}

.sportstech_fn_leftpanel .leftpanel_content::-webkit-scrollbar {
    width: 4px
}

.sportstech_fn_leftpanel .leftpanel_content::-webkit-scrollbar-track {
    background: var(--sportstech-some-a-bg-color)
}

.sportstech_fn_leftpanel .leftpanel_content::-webkit-scrollbar-thumb {
    background-color: var(--sportstech-some-a-bg-color);
    border-radius: 6px
}

.sportstech_fn_leftpanel .nav_group {
    margin-bottom: 20px
}

.sportstech_fn_leftpanel .group__title {
    margin: 0 0 12px;
    padding: 0 10px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: .5px;
    color: var(--sportstech-body-color);
    font-family: var(--sportstech-heading-font-family)
}

.sportstech_fn_leftpanel .group__list {
    margin: 0;
    padding: 0;
    list-style-type: none
}

.sportstech_fn_leftpanel .group__list li {
    margin-bottom: 4px;
    position: relative
}

.sportstech_fn_leftpanel .group__list li:last-child {
    margin-bottom: 0
}

.sportstech_fn_leftpanel .group__list a {
    font-family: var(--sportstech-heading-font-family);
    font-weight: 400;
    border-radius: 5px;
    text-decoration: none;
    min-height: 36px;
    padding: 5px 10px 5px 42px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--sportstech-heading-color)
}

.sportstech_fn_leftpanel .group__list a:hover,
.sportstech_fn_leftpanel .group__list a.active {
    background-color: var(--sportstech-some-a-bg-color)
}

.sportstech_fn_leftpanel .group__list a.active .text {
    color: var(--sportstech-hover-color)
}

.sportstech_fn_leftpanel .group__list .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -8px;
    display: block
}

.sportstech_fn_leftpanel .group__list .icon .fn__svg {
    width: 16px;
    height: 16px;
    display: block
}

.sportstech_fn_leftpanel .group__list .text {
    line-height: 24px;
    position: relative;
    top: 1px
}

/* Logo styles */
.retina_logo,
.short_logo {
    display: none
}

.desktop_logo {
    display: block
}

@media (-webkit-min-device-pixel-ratio:1.1),
(min-device-pixel-ratio:1.1),
(min-resolution:120dpi) {
    .retina_logo {
        display: block
    }
    .desktop_logo {
        display: none
    }
}

/* Home Section */
.sportstech_fn_home {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease
}

.section_left {
    width: 100%;
    height: calc(100vh - var(--sportstech-header-height));
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 140px;
    border-right: 1px solid var(--sportstech-border-color)
}

/* Interactive List Styles */
.sportstech_fn_interactive_list {
    margin: 0 auto
}

.sportstech_fn_interactive_list .card {
    border-radius: 5px;
    min-height: 100%;
    text-align: center;
    transition: .2s
}

.sportstech_fn_interactive_list .card:hover {
    border-color: var(--sportstech-main-color)
}

.sportstech_fn_interactive_list a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 30px;
    min-height: 100%
}

.sportstech_fn_interactive_list .icon {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    background-color: var(--sportstech-main-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 26px
}

.sportstech_fn_interactive_list .icon .fn__svg {
    width: 50px;
    height: 50px;
    display: block
}

.sportstech_fn_interactive_list .desc {
    margin: 0 0 22px;
    padding: 0;
    font-family: var(--sportstech-body-font-family);
    color: var(--sportstech-body-color);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px
}

/* Custom Heading Styles */
.sec-heding {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sportstech-heading-color);
    margin: 20px 0
}

.sec-heding span {
    background: linear-gradient(90deg, #5C33FF 0%, #00FFB1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    line-height: 72px;
    background-size: 500% auto;
    animation: gradientMove 6s ease-in-out infinite alternate;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* UPDATED Chat Comment Area */
.chat__comment {
    position: fixed;
    bottom: 0;
    left: var(--sportstech-left-panel-width);
    right: 0;
    background: var(--sportstech-site-bg-color);
    border-top: 1px solid var(--sportstech-border-color);
    z-index: 100;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.panel-closed .chat__comment {
    left: 76px;
}

.chat__comment .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Model Selection - Above textarea */
.model_selection {
    max-width: 1400px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: flex-start;
    padding-left: 10%;
}

/* Updated Chat Comment Layout */
.fn__chat_comment {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Container for textarea and selected images - 80% width */
.chat_input_wrapper {
    flex: 1;
    max-width: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fn__chat_comment textarea {
    border: 2px solid var(--sportstech-border-color);
    background-color: var(--sportstech-site-bg-color);
    border-radius: 12px;
    outline: none;
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-family: var(--sportstech-body-font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    min-height: 56px;
    max-height: 150px;
    resize: none;
    overflow-y: auto;
    color: var(--sportstech-heading-color);
    transition: border-color 0.3s ease;
}

.fn__chat_comment textarea::placeholder {
    color: var(--sportstech-body-color);
    opacity: 0.6;
}

.fn__chat_comment textarea:focus {
    border-color: var(--sportstech-main-color);
}

/* Chat Controls Container - Right side buttons */
.chat_controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Model Selector Dropdown */
.model_selector {
    height: 40px;
    padding: 0 16px;
    background: var(--sportstech-button-bg-color);
    border: 2px solid var(--sportstech-border-color);
    border-radius: 8px;
    color: var(--sportstech-heading-color);
    font-size: 14px;
    font-family: var(--sportstech-heading-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.model_selector:hover {
    border-color: var(--sportstech-main-color);
}

.model_selector:focus {
    outline: none;
    border-color: var(--sportstech-main-color);
    box-shadow: 0 0 0 3px rgba(124, 95, 227, 0.1);
}

.model_selector option {
    background: var(--sportstech-button-bg-color);
    color: var(--sportstech-heading-color);
    padding: 8px;
}

/* Reimagine Button */
.fn__chat_comment .btn-primary {
    height: 40px;
    padding: 0 24px;
    margin: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #5C33FF 0%, #00FFB1 100%);
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--sportstech-heading-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.fn__chat_comment .btn-primary:disabled {
    background: var(--sportstech-some-a-bg-color);
    color: var(--sportstech-body-color);
    cursor: not-allowed;
    opacity: 0.5;
}

.fn__chat_comment .btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(92, 51, 255, 0.3);
}

.fn__chat_comment .btn-primary.loading {
    pointer-events: none;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

/* Circular Loader */
.circular-loader {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #444242;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Selected Images Container */
.selected_images_container {
    display: none;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 15px;
    background: var(--sportstech-some-r-bg-color);
    border-radius: 12px;
    border: 1px solid var(--sportstech-border-color);
    gap: 10px;
    width: 100%;
}

.selected_images_container::-webkit-scrollbar {
    height: 6px;
}

.selected_images_container::-webkit-scrollbar-track {
    background: var(--sportstech-some-a-bg-color);
    border-radius: 3px;
}

.selected_images_container::-webkit-scrollbar-thumb {
    background: var(--sportstech-main-color);
    border-radius: 3px;
}

/* Selected Image Preview */
.selected_image_preview {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    min-width: 100px;
    max-width: 120px;
    animation: slideUp 0.3s ease;
}

[data-sportstech-skin="dark"] .selected_image_preview {
    background: var(--sportstech-button-bg-color);
    border-color: var(--sportstech-border-color);
}

.selected_image_preview img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 4px;
}

.selected_image_preview .image_info {
    font-size: 10px;
    color: var(--sportstech-body-color);
    text-align: center;
    line-height: 1.2;
}

.selected_image_preview .image_info div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected_image_preview .remove_image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(117, 116, 116, 0.9);
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.selected_image_preview:hover .remove_image {
    opacity: 1;
}

/* Room Gallery Section */
.room_image_section {
    position: fixed;
    left: var(--sportstech-left-panel-width);
    top: var(--sportstech-header-height);
    bottom: 0;
    width: 250px;
    background-color: var(--sportstech-some-r-bg-color);
    border-right: 1px solid var(--sportstech-border-color);
    overflow: hidden;
    z-index: 50;
    display: flex;
    flex-direction: column;
    animation: slideInLeft 0.3s ease;
}

.panel-opened .room_image_section {
    left: 76px;
}

.room_gallery_container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room_gallery_header {
    padding: 20px;
    border-bottom: 1px solid var(--sportstech-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--sportstech-header-bg-color);
    flex-shrink: 0;
}

.room_gallery_header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--sportstech-heading-color);
    font-family: var(--sportstech-heading-font-family);
}

.room_gallery_scroll {
    flex: 1;
    max-height: 34em;
    min-height: 34em;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--sportstech-main-color) var(--sportstech-some-a-bg-color);
}

.room_gallery_scroll::-webkit-scrollbar {
    width: 6px;
}

.room_gallery_scroll::-webkit-scrollbar-track {
    background: var(--sportstech-some-a-bg-color);
}

.room_gallery_scroll::-webkit-scrollbar-thumb {
    background-color: var(--sportstech-main-color);
    border-radius: 3px;
}

.room_gallery_list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.room_item {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    background-color: var(--sportstech-some-a-bg-color);
}

.room_item:hover {
    border-color: var(--sportstech-main-color);
    transform: scale(1.02);
}

.room_item.active {
    border-color: var(--sportstech-main-color);
    box-shadow: 0 4px 12px rgba(124, 95, 227, 0.3);
    background: linear-gradient(135deg, rgba(124, 95, 227, 0.1), rgba(0, 255, 177, 0.1));
}

.room_item img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.room_item_label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-family: var(--sportstech-heading-font-family);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.room_item_label .fn__svg {
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-left: 8px;
    width: 18px;
    height: 18px;
}

.room_item_label .fn__svg:hover {
    transform: scale(1.2);
}

.close_room {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--sportstech-some-a-bg-color);
    border: 2px solid var(--sportstech-border-color);
    color: var(--sportstech-heading-color);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close_room:hover {
    background-color: var(--sportstech-main-color);
    color: #fff;
    transform: rotate(90deg);
}

/* Room variations container */
.room_variations_container {
    width: 100%;
    height: 100%;
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
}

.room_variations_container h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    color: var(--sportstech-heading-color);
    font-family: var(--sportstech-heading-font-family);
}

.variations_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.variation_item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.variation_item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(124, 95, 227, 0.3);
}

.variation_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.variation_item.selected {
    border: 3px solid var(--sportstech-main-color);
    box-shadow: 0 8px 25px rgba(124, 95, 227, 0.4);
}

.variation_item.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 25px;
    height: 25px;
    background: var(--sportstech-main-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.variation_prompt_icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

[data-sportstech-skin="dark"] .variation_prompt_icon {
    background: rgba(30, 30, 30, 0.9);
}

.variation_prompt_icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-sportstech-skin="dark"] .variation_prompt_icon:hover {
    background: rgba(50, 50, 50, 1);
}

.variation_prompt_icon .fn__svg {
    width: 18px;
    height: 18px;
}

/* Generated Item with Download Button */
.variation_item.generated_item {
    position: relative;
    transition: all 0.3s ease;
}

.variation_item.generated_item:hover .download_btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.variation_item.generated_item img {
    transition: transform 0.3s ease;
    animation: imageLoadSuccess 0.5s ease;
}

.variation_item.generated_item:hover img {
    transform: scale(1.02);
}

/* Download Button */
.download_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

[data-sportstech-skin="dark"] .download_btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--sportstech-main-color);
}

.download_btn:hover {
    background: var(--sportstech-main-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.download_btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

[data-sportstech-skin="dark"] .download_btn svg {
    stroke: var(--sportstech-heading-color);
}

.download_btn:hover svg {
    stroke: white;
}

/* Generated Variations Container */
#generateVariationsContainer {
    animation: fadeIn 0.3s ease;
}

#generateVariationsContainer h3 {
    color: var(--sportstech-main-color);
    margin-bottom: 25px;
}

/* Prompt Modal */
.prompt_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease;
}

.prompt_modal.active {
    display: block;
}

.prompt_modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.prompt_modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

[data-sportstech-skin="dark"] .prompt_modal_content {
    background: #1a1a1a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.prompt_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

[data-sportstech-skin="dark"] .prompt_modal_header {
    border-bottom-color: #333;
}

.prompt_modal_header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

[data-sportstech-skin="dark"] .prompt_modal_header h3 {
    color: #ffffff;
}

.prompt_modal_actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy_prompt_btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-sportstech-skin="dark"] .copy_prompt_btn {
    background: #2a2a2a;
    color: #ffffff;
}

.copy_prompt_btn:hover {
    background: #e0e0e0;
}

[data-sportstech-skin="dark"] .copy_prompt_btn:hover {
    background: #3a3a3a;
}

.copy_prompt_btn.copied {
    background: #7c5fe3;
    color: white;
}

.copy_prompt_btn.copied svg {
    stroke: white;
}

.copy_prompt_btn svg {
    width: 18px;
    height: 18px;
}

.close_prompt_modal {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #666;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close_prompt_modal:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

[data-sportstech-skin="dark"] .close_prompt_modal {
    color: #999;
}

[data-sportstech-skin="dark"] .close_prompt_modal:hover {
    background: #2a2a2a;
    color: #ffffff;
}

.prompt_modal_body {
    padding: 25px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

.prompt_modal_body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
}

[data-sportstech-skin="dark"] .prompt_modal_body p {
    color: #e0e0e0;
}

/* Icon Button */
.fn__icon_button {
    width: 30px;
    height: 30px;
    background-color: var(--sportstech-some-a-bg-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sportstech-heading-color)
}

.fn__icon_button:hover {
    opacity: .8
}

.fn__icon_button .fn__svg {
    width: 12px;
    height: 12px
}

/* Panel Opened State */
.panel-opened:root {
    --sportstech-left-panel-width: 76px
}

.panel-opened .sportstech_fn_leftpanel .group__list .icon .fn__svg {
    width: 18px;
    height: 18px
}

.panel-opened .sportstech_fn_leftpanel .group__list a {
    width: 36px;
    padding: 0
}

.panel-opened .sportstech_fn_leftpanel .leftpanel_logo {
    padding: 0;
    justify-content: center
}

.panel-opened .sportstech_fn_leftpanel .short_logo {
    display: block
}

.panel-opened .sportstech_fn_leftpanel .fn__closer {
    right: -15px;
    transform: rotate(180deg)
}

.panel-opened .sportstech_fn_leftpanel .full_logo,
.panel-opened .sportstech_fn_leftpanel .group__list .text,
.panel-opened .sportstech_fn_leftpanel .group__list .trigger,
.panel-opened .sportstech_fn_leftpanel .group__title {
    display: none
}

/* Mobile Closer */
.sportstech_fn_leftpanel .mobile_closer {
    display: none
}

/* Adjust main content when room is active */
.sportstech_fn_home.room_active .section_left {
    margin-left: 250px;
    width: calc(100% - 250px);
}

.sportstech_fn_home.room_active .chat__comment {
    left: calc(var(--sportstech-left-panel-width) + 250px);
}

.panel-opened.sportstech_fn_home.room_active .chat__comment {
    left: calc(76px + 250px);
}

/* Scrollbar Styles */
.room_gallery_scroll,
.section_left,
.room_variations_container {
    scrollbar-width: thin;
    scrollbar-color: var(--sportstech-main-color) var(--sportstech-some-a-bg-color);
}

.room_gallery_scroll::-webkit-scrollbar,
.section_left::-webkit-scrollbar,
.room_variations_container::-webkit-scrollbar {
    width: 8px;
}

.room_gallery_scroll::-webkit-scrollbar-track,
.section_left::-webkit-scrollbar-track,
.room_variations_container::-webkit-scrollbar-track {
    background: var(--sportstech-some-a-bg-color);
    border-radius: 4px;
}

.room_gallery_scroll::-webkit-scrollbar-thumb,
.section_left::-webkit-scrollbar-thumb,
.room_variations_container::-webkit-scrollbar-thumb {
    background-color: var(--sportstech-main-color);
    border-radius: 4px;
}

.room_gallery_scroll::-webkit-scrollbar-thumb:hover,
.section_left::-webkit-scrollbar-thumb:hover,
.room_variations_container::-webkit-scrollbar-thumb:hover {
    background-color: var(--sportstech-main-color1);
}

/* Dark mode adjustments */
[data-sportstech-skin="dark"] .fn__chat_comment textarea {
    background-color: var(--sportstech-button-bg-color);
    color: var(--sportstech-heading-color);
}

[data-sportstech-skin="dark"] .selected_images_container {
    background: rgba(43, 40, 48, 0.5);
}

[data-sportstech-skin="dark"] .chat__comment {
    background: var(--sportstech-site-bg-color);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
}

/* SVG Placeholder Item Styles */
.variation_item.svg_placeholder_item {
    position: relative;
    background: var(--sportstech-some-r-bg-color);
    border: 2px solid var(--sportstech-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    cursor: default;
    pointer-events: none;
    overflow: hidden;
}

.variation_item.svg_placeholder_item .placeholder_svg {
    width: 80%;
    height: auto;
    max-width: 150px;
    opacity: 0.3;
    animation: svgPulse 2s ease-in-out infinite;
}

@keyframes svgPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.placeholder_animation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.loading_text {
    color: var(--sportstech-body-color);
    font-size: 14px;
    font-family: var(--sportstech-body-font-family);
    animation: textFade 1.5s ease-in-out infinite;
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.variation_item.svg_placeholder_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(124, 95, 227, 0.1) 50%,
        transparent 100%
    );
    animation: shimmerEffect 3s infinite;
}

@keyframes shimmerEffect {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

[data-sportstech-skin="dark"] .variation_item.svg_placeholder_item {
    background: var(--sportstech-button-bg-color);
}

[data-sportstech-skin="dark"] .variation_item.svg_placeholder_item .placeholder_svg {
    opacity: 0.2;
}

[data-sportstech-skin="dark"] .variation_item.svg_placeholder_item::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(124, 95, 227, 0.05) 50%,
        transparent 100%
    );
}

/* No Images Message */
.no-images-message {
    grid-column: 1 / -1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sportstech-some-r-bg-color);
    border: 2px dashed var(--sportstech-border-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.no-images-message p {
    color: var(--sportstech-body-color);
    font-size: 16px;
    font-family: var(--sportstech-body-font-family);
    margin: 0;
    opacity: 0.7;
}

[data-sportstech-skin="dark"] .no-images-message {
    background: var(--sportstech-button-bg-color);
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translate(-50%, -45%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageLoadSuccess {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Styles */
@media(max-width:1400px) {
    .variations_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:1200px) {
    .variations_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media(max-width:1040px) {
    :root {
        --sportstech-header-height: 80px
    }

    .container {
        padding: 0 20px
    }

    .sportstech_fn_leftpanel .desktop_closer {
        display: none
    }

    .sportstech_fn_leftpanel .mobile_closer {
        display: flex
    }

    .sportstech_fn_header {
        padding: 0 20px 0 60px;
        left: 0
    }

    .sportstech_fn_leftpanel .mobile_extra_closer {
        position: absolute;
        left: 100%;
        width: calc(100vw - var(--sportstech-left-panel-width));
        top: 0;
        bottom: 0;
        background-color: var(--sportstech-some-r-bg-color);
        opacity: 0;
        pointer-events: none;
        margin-left: 1px
    }

    .section_left {
        padding: 73px 20px 120px
    }

    .sportstech_fn_content {
        margin-left: 0
    }

    .sportstech_fn_leftpanel {
        transform: translateX(-100%)
    }

    .sportstech_fn_leftpanel .fn__icon_button {
        right: -51px;
        width: 40px;
        height: 40px;
        transform: rotate(180deg);
        margin-top: -20px
    }

    .mobile-panel-opened .sportstech_fn_leftpanel .fn__icon_button {
        transform: rotate(0)
    }

    .mobile-panel-opened .sportstech_fn_leftpanel .mobile_extra_closer {
        opacity: .9;
        pointer-events: all
    }

    .mobile-panel-opened .sportstech_fn_content,
    .mobile-panel-opened .sportstech_fn_header {
        transform: translateX(300px)
    }

    .mobile-panel-opened .sportstech_fn_leftpanel {
        transform: translateX(0)
    }

    .room_image_section {
        width: 200px;
        min-width: 200px;
        left: 0;
    }
    
    .sportstech_fn_home.room_active .section_left {
        width: calc(100% - 200px);
        margin-left: 200px;
    }
    
    .sportstech_fn_home.room_active .chat__comment {
        left: 200px;
    }

    .chat__comment {
        left: 0;
        padding: 15px;
    }
    
    .model_selection {
        padding-left: 0;
    }
    
    .chat_input_wrapper {
        max-width: 100%;
    }
    
    .fn__chat_comment {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chat_controls {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
    
    .panel-opened .chat__comment {
        left: 0;
    }
}

@media(max-width:768px) {
    .variations_grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .room_variations_container {
        padding: 20px;
    }

    .room_image_section {
        width: 80%;
        max-width: 300px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 99;
    }
    
    .sportstech_fn_home.room_active .section_left {
        margin-left: 0;
        width: 100%;
    }
    
    .sportstech_fn_home.room_active .chat__comment {
        left: 0;
    }

    .sportstech_fn_header .header__left {
        display: none
    }

    .sportstech_fn_header {
        justify-content: flex-end
    }
    
    .chat__comment {
        padding: 12px;
    }
    
    .fn__chat_comment textarea {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .model_selector {
        min-width: 120px;
        font-size: 12px;
        padding: 0 12px;
        height: 36px;
    }
    
    .fn__chat_comment .btn-primary {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }
    
    .selected_images_container {
        padding: 10px;
    }
    
    .section_left,
    .room_variations_container {
        padding-bottom: 120px;
    }
    
    .download_btn {
        width: 40px;
        height: 40px;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    
    .download_btn svg {
        width: 20px;
        height: 20px;
    }
    
    .variation_item.svg_placeholder_item {
        min-height: 180px;
    }
    
    .variation_item.svg_placeholder_item .placeholder_svg {
        max-width: 100px;
    }
    
    .loading_text {
        font-size: 12px;
    }
}

@media(max-width:480px) {
    .container {
        padding: 0 10px
    }

    .fn__nav_bar .bar__item {
        margin-right: 5px
    }

    .fn__nav_bar .item_opener {
        width: 40px;
        height: 40px
    }

    .fn__nav_bar .item_opener .fn__svg {
        width: 18px;
        height: 18px
    }

    .fn__nav_bar .item_opener .dark_mode {
        margin: -9px 0 0 -9px
    }

    .sportstech_fn_header {
        padding-right: 10px
    }
    
    .chat__comment {
        padding: 10px;
    }
    
    .fn__chat_comment textarea {
        padding: 12px;
    }
    
    .model_selector {
        min-width: 100px;
    }
    
    .fn__chat_comment .btn-primary {
        padding: 0 12px;
    }
    
    .variation_item.svg_placeholder_item {
        min-height: 150px;
    }
    
    .variation_item.svg_placeholder_item .placeholder_svg {
        max-width: 80px;
    }
}

/* Updated Chat Comment Area */
.chat__comment {
    position: fixed;
    bottom: 0;
    left: var(--sportstech-left-panel-width);
    right: 0;
    background: var(--sportstech-site-bg-color);
    border-top: 1px solid var(--sportstech-border-color);
    z-index: 100;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.panel-closed .chat__comment {
    left: 76px;
}

.chat__comment .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Main chat comment layout */
.fn__chat_comment {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Container for textarea, dropdown and selected images - 80% width */
.chat_input_wrapper {
    flex: 1;
    max-width: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Single line container for dropdown and textarea */
.input_line {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Model Selector Dropdown - Inline with textarea */
.model_selector {
    height: 56px;
    padding: 0 16px;
    background: var(--sportstech-site-bg-color);
    border: 2px solid var(--sportstech-border-color);
    border-radius: 12px;
    color: var(--sportstech-heading-color);
    font-size: 14px;
    font-family: var(--sportstech-heading-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    flex-shrink: 0;
}

.model_selector:hover {
    border-color: var(--sportstech-main-color);
}

.model_selector:focus {
    outline: none;
    border-color: var(--sportstech-main-color);
    box-shadow: 0 0 0 3px rgba(124, 95, 227, 0.1);
}

.model_selector option {
    background: var(--sportstech-button-bg-color);
    color: var(--sportstech-heading-color);
    padding: 8px;
}

/* Textarea - Inline with dropdown */
.fn__chat_comment textarea {
    border: 2px solid var(--sportstech-border-color);
    background-color: var(--sportstech-site-bg-color);
    border-radius: 12px;
    outline: none;
    display: block;
    width: 100%;
    flex: 1;
    padding: 16px 20px;
    font-family: var(--sportstech-body-font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    min-height: 56px;
    max-height: 150px;
    resize: none;
    overflow-y: auto;
    color: var(--sportstech-heading-color);
    transition: border-color 0.3s ease;
}

.fn__chat_comment textarea::placeholder {
    color: var(--sportstech-body-color);
    opacity: 0.6;
}

.fn__chat_comment textarea:focus {
    border-color: var(--sportstech-main-color);
}

/* Chat Controls Container - Right side buttons */
.chat_controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Button Styles */
.fn__chat_comment .btn-primary {
    height: 56px;
    padding: 0 24px;
    margin: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #5C33FF 0%, #00FFB1 100%);
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--sportstech-heading-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.fn__chat_comment .btn-primary:disabled {
    background: var(--sportstech-some-a-bg-color);
    color: var(--sportstech-body-color);
    cursor: not-allowed;
    opacity: 0.5;
}

.fn__chat_comment .btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(92, 51, 255, 0.3);
}

/* Selected Images Container */
.selected_images_container {
    display: none;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 15px;
    background: var(--sportstech-some-r-bg-color);
    border-radius: 12px;
    border: 1px solid var(--sportstech-border-color);
    gap: 10px;
    width: 100%;
}

/* Dark mode adjustments */
[data-sportstech-skin="dark"] .model_selector {
    background-color: var(--sportstech-button-bg-color);
}

[data-sportstech-skin="dark"] .fn__chat_comment textarea {
    background-color: var(--sportstech-button-bg-color);
}

/* Responsive adjustments */
@media(max-width: 1040px) {
    .chat__comment {
        left: 0;
        padding: 15px;
    }
    
    .chat_input_wrapper {
        max-width: 100%;
    }
    
    .fn__chat_comment {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chat_controls {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

@media(max-width: 768px) {
    .chat__comment {
        padding: 12px;
    }
    
    .input_line {
        flex-direction: column;
        align-items: stretch;
    }
    
    .model_selector {
        width: 100%;
        min-width: unset;
        height: 48px;
    }
    
    .fn__chat_comment textarea {
        min-height: 48px;
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .fn__chat_comment .btn-primary {
        height: 48px;
        padding: 0 16px;
        font-size: 13px;
    }
}

@media(max-width: 480px) {
    .chat__comment {
        padding: 10px;
    }
    
    .fn__chat_comment textarea {
        padding: 12px;
    }
    
    .fn__chat_comment .btn-primary {
        padding: 0 12px;
    }
}




/* ============================================
   ANIMATED LOADING BAR STYLES
   ============================================ */

/* Progressive Placeholder Container */
.variation_item.progressive_placeholder {
    position: relative;
    background: var(--sportstech-some-r-bg-color);
    border: 2px solid var(--sportstech-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    cursor: default;
    pointer-events: none;
    overflow: hidden;
    border-radius: 15px;
}

.variation_item.progressive_placeholder.active_generation {
    border-color: var(--sportstech-main-color);
    background: linear-gradient(135deg, 
        rgba(124, 95, 227, 0.05) 0%, 
        rgba(0, 255, 177, 0.05) 100%);
}

.progressive_loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Loading Bars Container */
.loading_bars_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.loading_bars_container.active {
    opacity: 1;
}

/* Bar Styles */
.bar {
    border-radius: 50px;
    border: 3px solid var(--sportstech-main-color);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-color: var(--sportstech-button-bg-color);
    transform: rotate(-34deg);
}

.large-bar {
    width: 120px;
    height: 30px;
}

.small-bar {
    width: 90px;
    height: 30px;
}

/* Water Animation */
.water {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        var(--sportstech-main-color) 0%, 
        var(--sportstech-main-color1) 50%,
        #00FFB1 100%);
    border-radius: 0 50px 50px 0;
    transform-origin: left center;
}

.loading_bars_container.active .water {
    animation: fillWater 2s infinite ease-in-out;
}

@keyframes fillWater {
    0% {
        width: 0;
        opacity: 0.7;
    }
    50% {
        width: 100%;
        opacity: 1;
    }
    100% {
        width: 0;
        opacity: 0.7;
    }
}

/* Wave Effect */
.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: wave 1.5s infinite linear;
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Loading Text */
.placeholder_animation {
    text-align: center;
}

.loading_text {
    color: var(--sportstech-body-color);
    font-size: 14px;
    font-family: var(--sportstech-body-font-family);
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Error State */
.variation_item.progressive_placeholder.error_state {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.variation_item.progressive_placeholder.error_state .bar {
    border-color: #ff4444;
    opacity: 0.3;
}

.variation_item.progressive_placeholder.error_state .loading_text {
    color: #ff4444;
}

/* Dark Mode Adjustments */
[data-sportstech-skin="dark"] .variation_item.progressive_placeholder {
    background: var(--sportstech-button-bg-color);
}

[data-sportstech-skin="dark"] .bar {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .large-bar {
        width: 100px;
        height: 25px;
    }
    
    .small-bar {
        width: 75px;
        height: 25px;
    }
    
    .variation_item.progressive_placeholder {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .large-bar {
        width: 80px;
        height: 20px;
    }
    
    .small-bar {
        width: 60px;
        height: 20px;
    }
    
    .variation_item.progressive_placeholder {
        min-height: 150px;
    }
    
    .loading_text {
        font-size: 12px;
    }
}



/* ============================================
   IMAGE PREVIEW MODAL STYLES
   ============================================ */

/* Image Preview Modal Container */
.image_preview_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
}

.image_preview_modal.active {
    display: block;
}

/* Modal Overlay */
.preview_modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

/* Modal Content */
.preview_modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    animation: modalZoomIn 0.3s ease;
}

[data-sportstech-skin="dark"] .preview_modal_content {
    background: #1a1a1a;
}

/* Modal Header */
.preview_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

[data-sportstech-skin="dark"] .preview_modal_header {
    border-bottom-color: #333;
}

.preview_title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: var(--sportstech-heading-font-family);
}

[data-sportstech-skin="dark"] .preview_title {
    color: #ffffff;
}

/* Modal Actions */
.preview_modal_actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Download Button in Modal */
.preview_download_btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-sportstech-skin="dark"] .preview_download_btn {
    background: #2a2a2a;
}

.preview_download_btn:hover {
    background: var(--sportstech-main-color);
    transform: scale(1.1);
}

.preview_download_btn:hover svg {
    stroke: white;
}

/* Close Button */
.close_preview_modal {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #666;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close_preview_modal:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: rotate(90deg);
}

[data-sportstech-skin="dark"] .close_preview_modal:hover {
    background: #2a2a2a;
    color: #ffffff;
}

/* Modal Body */
.preview_modal_body {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Image Container */
.preview_image_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Preview Image */
.preview_image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Loading State */
.preview_loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preview_spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--sportstech-border-color);
    border-top-color: var(--sportstech-main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   GENERATED IMAGE PREVIEW BUTTON STYLES
   ============================================ */

/* Preview Button on Generated Images */
.variation_item.generated_item .preview_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

[data-sportstech-skin="dark"] .variation_item.generated_item .preview_btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--sportstech-main-color);
}

.variation_item.generated_item:hover .preview_btn {
    opacity: 1;
}

.variation_item.generated_item .preview_btn:hover {
    background: var(--sportstech-main-color);
    transform: scale(1.1);
}

.variation_item.generated_item .preview_btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

[data-sportstech-skin="dark"] .variation_item.generated_item .preview_btn svg {
    stroke: var(--sportstech-heading-color);
}

.variation_item.generated_item .preview_btn:hover svg {
    stroke: white;
}

/* Hover Effect for Clickable Images */
.variation_item.generated_item {
    cursor: pointer;
}

.variation_item.generated_item:hover img {
    transform: scale(1.02);
    filter: brightness(0.95);
    transition: all 0.3s ease;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .preview_modal_content {
        width: 95%;
        height: 95vh;
        max-height: none;
        border-radius: 12px;
    }
    
    .preview_modal_header {
        padding: 15px 20px;
    }
    
    .preview_title {
        font-size: 18px;
    }
    
    .preview_modal_body {
        padding: 10px;
    }
    
    .preview_download_btn,
    .close_preview_modal {
        width: 32px;
        height: 32px;
    }
    
    .close_preview_modal {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .preview_modal_content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .preview_modal_header {
        padding: 12px 15px;
    }
    
    .preview_title {
        font-size: 16px;
    }
    
    .preview_modal_body {
        padding: 5px;
    }
    
    .variation_item.generated_item .preview_btn {
        width: 35px;
        height: 35px;
        opacity: 1; /* Always visible on mobile */
    }
}