/**
 * 店铺管理模块样式
 * 复用 system-settings.css 设计语言（Tab、表单、页脚等结构）
 */

/* 引入系统设置样式以复用 settings-tabs / settings-panel / form-modal-row / settings-footer 等 */
@import url('./system-settings.css');

/* 店铺配置 Tab 按钮颜色微调（与系统设置一致即可） */
.settings-tab.active {
    color: var(--primary-color, #007bff);
}

/* ============================================================
   1. 店铺配置 Tab 页面（store-config.html）
   复用 system-settings.css：settings-tabs / settings-panel / form-section / form-modal-row / settings-footer
   ============================================================ */

/* 颜色选择器组件（H5 / 微信 H5 主题色） */
.color-picker-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-picker-row .color-input {
    width: 36px;
    height: 36px;
    padding: 2px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    background: #fff;
}

.color-picker-row .color-text {
    width: 100px;
}

.color-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    vertical-align: middle;
    margin-right: 4px;
}

.color-dot-h5 {
    background-color: #007bff;
}

/* 余额门槛 input-group */
.balance-threshold-group {
    width: 200px;
}

/* 客服类型单选框组 */
.cs-type-radios {
    display: flex;
    /* gap: 24px; */
    margin-left: 12px;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1;
    height: 36px;
}

.cs-type-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #495057;
    font-size: 13px;
    line-height: 1;
    user-select: none;
}

.cs-type-radio input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.store-logo-preview {
    width: 100px;
    height: 100px;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.store-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-logo-preview .logo-placeholder {
    color: #adb5bd;
    font-size: 12px;
    text-align: center;
}

.store-logo-preview .logo-placeholder i {
    font-size: 28px;
    display: block;
    margin-bottom: 4px;
}

/* 表单行内容列：控件在上、灰色说明在下（H5 域名 / 分享海报等带提示的行） */
.form-modal-row .row-detail {
    flex: 1;
    min-width: 0;
    max-width: 480px;
}

.form-modal-row .row-detail .form-control {
    width: 100%;
    max-width: none;
}

.form-modal-row .form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* 行内输入框 + 附加按钮（H5 域名自动生成），样式对齐 input-group-sm */
.form-modal-row .input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-modal-row .input-group .form-control {
    flex: 1;
    width: auto;
    max-width: none;
    border-radius: 4px;
}

.form-modal-row .input-group-append {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.form-modal-row .input-group-append .btn {
    height: 34px;
    white-space: nowrap;
}

/* 分享海报上传（端点配置 Tab）：预览图 + 操作按钮横排，说明文字在下方 */
.share-poster-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.share-poster-preview {
    position: relative;
    width: 90px;
    height: 120px;
    border: 1px dashed #d0d7e2;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.share-poster-preview:hover {
    border-color: var(--primary-color, #007bff);
}

.share-poster-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 已上传时悬停出现「点击更换」遮罩 */
.share-poster-preview.has-img::after {
    content: '点击更换';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.2s;
}

.share-poster-preview.has-img:hover::after {
    opacity: 1;
}

.share-poster-preview .logo-placeholder {
    color: #b0b8c4;
    font-size: 12px;
    text-align: center;
    padding: 0 6px;
    line-height: 1.5;
}

.share-poster-preview .logo-placeholder i {
    font-size: 26px;
    display: block;
    margin-bottom: 6px;
}

.share-poster-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

/* ============================================================
   2. 店铺装修页面（store-design.html）
   ============================================================ */

/* 左右布局：左侧配置区（弹性宽），右侧吸顶预览（固定宽，窄屏上下折叠）；
   stretch 等高使预览面板底部与「主题样式」卡片对齐 */
.design-layout {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.design-col-left {
    flex: 1 1 auto;
    min-width: 0;
    /* 整个左列合并为单卡片：卡片观感上移到列容器，各分组不再是独立小卡片 */
    background: #f8f9fc;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
}

/* 左列各分组去盒化：变为单卡片内的功能区，仅以分组标题分隔线区分 */
.panel-main-card .design-col-left .form-section {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
}

.panel-main-card .design-col-left .form-section:last-child {
    margin-bottom: 0;
}

.design-col-right {
    flex: 0 0 460px;
    min-width: 0;
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
}

/* 表单行控制区（form-modal-row 的控件容器，可含输入框 + 单位/说明文字） */
.design-row-control {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* 顶部对齐行（Banner 图片等高内容控件）：label 与首行控件对齐 */
.form-modal-row.design-row-top {
    align-items: flex-start;
}

.form-modal-row.design-row-top > label {
    padding-top: 4px;
}

.design-row-control .form-control {
    display: inline-block;
}

/* 固定宽输入控件：抵消 .form-modal-row .form-control 的 flex:1 拉伸 */
.design-input-sm {
    flex: 0 0 auto;
    width: 100px;
    height: 32px;
    padding: 4px 10px;
    font-size: 13px;
}

.design-input-md {
    flex: 0 0 auto;
    width: 180px;
    height: 32px;
    padding: 4px 10px;
    font-size: 13px;
}

.design-unit {
    color: #6c757d;
    font-size: 13px;
}

/* Banner 图片列表（参照景区编辑弹窗图片列表样式） */
.design-banner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.design-banner-list .preview-item {
    position: relative;
    width: 120px;
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    transition: border-color .2s;
}
.design-banner-list .preview-item:hover {
    border-color: #007bff;
}

.design-banner-list .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-banner-list .preview-item .img-actions {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity .2s;
}
.design-banner-list .preview-item:hover .img-actions {
    opacity: 1;
}

.design-banner-list .preview-item .action-btn {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
.design-banner-list .preview-item .action-btn:hover {
    background: rgba(0,0,0,.8);
}
.design-banner-list .preview-item .remove-btn:hover {
    background: #dc3545;
}

/* 添加按钮 */
.design-add-btn {
    font-size: 13px;
    padding: 7px 12px;
    border: 1px dashed #ccc;
    color: #6c757d;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all .15s;
}
.design-add-btn:hover {
    border-color: #007bff;
    color: #007bff;
    background: #f8f9fa;
}

/* 已选推荐商品查看弹窗：行末移除按钮（文字链接样式，勿用 .btn——全局 .btn 默认绿底） */
.rec-view-remove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.3;
    color: #dc3545;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}
.rec-view-remove:hover {
    color: #a71d2a;
    text-decoration: underline;
}

/* 上传区域 */
.design-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    padding: 28px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.design-upload-area:hover {
    border-color: #007bff;
    background: #f8f9fa;
}
.design-upload-area i {
    font-size: 32px;
    color: #adb5bd;
    display: block;
    margin-bottom: 8px;
}
.design-upload-area span {
    display: block;
    font-size: 13px;
    color: #495057;
}
.design-upload-area small {
    display: block;
    font-size: 11px;
    color: #adb5bd;
    margin-top: 4px;
}
.design-upload-hint {
    display: block;
    font-size: 12px !important;
    color: #adb5bd !important;
    margin-top: 8px;
}

/* 模板卡片网格 */
.design-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.design-template-loading {
    grid-column: 1 / -1;
    color: #6c757d;
    padding: 24px;
    text-align: center;
}

.template-card {
    height: 140px;
    width: 100%;
    max-width: 240px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    /* 纵向弹性布局：文字区撑满色块以下全部剩余高度，预设背景色铺满整个下部 */
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    border-color: #adb5bd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.template-card.selected {
    border-color: var(--primary-color, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.template-preview {
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    position: relative;
}

.template-preview.has-img {
    background-size: cover;
    background-position: center;
}

.template-info {
    flex: 1;
    padding: 10px 12px;
    border-top: 1px solid #f1f3f5;
}

.template-info .template-name {
    font-size: 13px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
}

.template-info .template-desc {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

.template-selected-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background: var(--primary-color, #007bff);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}

.template-card.selected .template-selected-check {
    display: flex;
}

/* 预览面板（与 form-section 同观感：白底圆角边框卡；纵向 flex 撑满列高） */
.design-preview-panel {
    background: #f8f9fc;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.design-preview-panel .section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.design-preview-panel .section-title i {
    margin-right: 8px;
    color: #667eea;
}

/* 标题行右侧刷新按钮（标题栏两端对齐） */
.design-preview-header {
    justify-content: space-between;
}

.dp-refresh-btn {
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}

.dp-refresh-btn:hover {
    color: #667eea;
    border-color: #667eea;
}

.design-preview-body {
    flex: 1;
    min-height: 560px;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* 手机壳：屏比固定 19.5:9（宽:高 = 9:19.5）；
   高度撑满预览面板可用空间、宽度按比例推导，上限 360×780，保证底部对齐不破坏 */
.design-preview-phone {
    /* 固定壳尺寸（9:19.5 比例，高 780px）：不再依赖面板拉伸/内容推导，
       避免布局上下文变化导致壳尺寸漂移、预览缩放比例失效 */
    height: 780px;
    aspect-ratio: 9 / 19.5;
    flex-shrink: 0;
    background: #fff;
    border-radius: 28px;
    border: 8px solid #343a40;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 手机预览 iframe（真实 H5 商城页：统一按 480px 逻辑宽度排版，
   再由 JS 用 transform:scale 整体缩小塞进手机壳，使字体渲染比例与真机一致；
   绝对定位使其布局尺寸不参与壳的尺寸计算，避免反馈回路） */
iframe.design-preview-frame {
    position: absolute;
    left: 0;
    top: 0;
    border: 0;
    background: #fff;
    display: block;
    transform-origin: 0 0;
}

/* 模拟手机顶部：状态栏 + 微信内网页标题栏（参考微信 H5 截图样式） */
.dp-status {
    flex-shrink: 0;
    height: 30px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.dp-status-left {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.2px;
}

.dp-status-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dp-net {
    font-size: 10px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.dp-sig {
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
    height: 10px;
}

.dp-sig i {
    width: 3px;
    border-radius: 1px;
    background: #1a1a1a;
}

.dp-sig i:nth-child(1) { height: 4px; }
.dp-sig i:nth-child(2) { height: 6px; }
.dp-sig i:nth-child(3) { height: 8px; }
.dp-sig i:nth-child(4) { height: 10px; }

.dp-batt {
    position: relative;
    box-sizing: border-box;
    width: 24px;
    height: 12px;
    border: 1px solid #1a1a1a;
    border-radius: 3.5px;
    background: linear-gradient(to right, #1a1a1a 0 93%, transparent 93%);
}

.dp-batt::after {
    content: '';
    position: absolute;
    right: -3.5px;
    top: 2.5px;
    width: 2px;
    height: 5px;
    border-radius: 0 2px 2px 0;
    background: #1a1a1a;
}

.dp-wxbar {
    flex-shrink: 0;
    height: 48px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
}

.dp-wx-close {
    font-size: 19px;
    font-weight: 300;
    color: #333;
    line-height: 1;
}

.dp-wx-title {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.dp-wx-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dp-wx-domain {
    font-size: 11px;
    color: #9a9a9a;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dp-wx-more {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    line-height: 1;
}

.dp-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    background: #fff;
}

/* ============================================================
   3. 商品上架页面（store-products.html）
   骨架与同组会员管理页一致（filter-section → od-card stk-table，
   表格基础/状态胶囊/文字操作列由 order.css + stk-table.css 提供）
   ============================================================ */
.sp-layout {
    align-items: stretch;
}

/* 双栏面板（od-card 基础上补内部骨架：标题栏 + 内容区 + 底部分页贴底） */
.sp-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    flex-shrink: 0;
}

.sp-panel-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.sp-panel-header h3 i {
    margin-right: 8px;
    color: var(--text-secondary, #666);
}

.sp-panel-total {
    font-size: 13px;
    color: var(--text-muted, #909399);
}

.sp-panel #storeProductsPagination {
    margin-top: auto;
    flex-shrink: 0;
}

/* 已上架表格（stk-table 单行风格） */
.sp-panel .stk-table td {
    vertical-align: middle;
}

.sp-panel .thumb-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    background: #f0f2f5;
}

.sp-panel .thumb-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9c0cc;
    font-size: 14px;
}

/* 行内排序输入框（居中显示） */
.sp-sort-input {
    display: block;
    width: 56px;
    margin: 0 auto;
    text-align: center;
    height: 30px;
    padding: 2px 6px;
    font-size: 13px;
    border-color: var(--border-color, #e0e0e0);
    border-radius: 4px;
}

.sp-sort-input:focus {
    border-color: var(--primary-color, #007bff);
    box-shadow: none;
}

/* 空/加载态（左右面板统一） */
.sp-empty-cell {
    text-align: center;
    color: var(--text-muted, #909399);
    padding: 32px 0 !important;
}

.sp-empty-state {
    text-align: center;
    color: var(--text-muted, #909399);
    padding: 40px 0;
    font-size: 13px;
}

/* 类型胶囊（左表与右侧列表共用三色） */
.type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.type-badge.scenic {
    background: #e3f2fd;
    color: #1565c0;
}

.type-badge.hotel {
    background: #f3e5f5;
    color: #7b1fa2;
}

.type-badge.package {
    background: #e8f5e9;
    color: #2e7d32;
}

/* 右侧：添加上架面板 */
.sp-available-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f2f5;
    flex-shrink: 0;
}

.sp-available-filter .btn-group {
    flex-shrink: 0;
}

.sp-available-search {
    flex: 1;
    min-width: 0;
    font-size: 13px;
}

.sp-available-list {
    flex: 1;
    max-height: 560px;
    overflow-y: auto;
    padding: 10px 16px;
}

.available-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #f1f3f5;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.15s;
}

.available-product-item:hover {
    border-color: #dee2e6;
    background: #f8f9fa;
}

.available-product-item .product-info {
    flex: 1;
    min-width: 0;
}

.available-product-item .product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #212529);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.available-product-item .product-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted, #909399);
    margin-top: 3px;
}

.ap-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.ap-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: var(--primary-color, #007bff);
    font-size: 15px;
}

.ap-price {
    color: var(--primary-color, #007bff);
    margin-left: 4px;
}

/* ============================================================
   4. 通用组件
   ============================================================ */
.store-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 16px;
}

.store-card-header {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.store-card-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.store-card-body {
    padding: 20px;
}

/* 状态开关 */
/* 优先级提升：用 .form-modal-row label.store-switch 覆盖 .form-modal-row label */
.form-modal-row label.store-switch {
    width: 40px;
    height: 22px;
    min-width: 0;
    padding: 0;
    margin: 0;
    margin-top: 7px;
    text-align: left;
    font-weight: normal;
    color: inherit;
    cursor: pointer;
}

.store-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    min-width: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    font-weight: normal;
    color: inherit;
    cursor: pointer;
}

.store-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.store-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 22px;
}

.store-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.store-switch input:checked + .store-switch-slider {
    background-color: var(--primary-color, #007bff);
}

.store-switch input:checked + .store-switch-slider:before {
    transform: translateX(18px);
}

/* 颜色预览圆点（详见顶部） */

/* 保存按钮区域 */
.store-form-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 响应式 */
@media (max-width: 768px) {
    .sp-available-list {
        max-height: none;
    }

    .design-template-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .design-layout {
        flex-direction: column;
    }

    .design-col-left,
    .design-col-right {
        flex: 1 1 100%;
        max-width: 100%;
        position: static;
    }
}

/* 底部保存条（页面级，靠左对齐，与设置类页面 settings-footer 一致） */
.store-save-footer {
    display: flex;
    margin-top: 12px;
    justify-content: flex-start;
    gap: 12px;
}
