/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    background: #1a1a2e;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 容器样式 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 内容包装器 */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 顶部区域样式 */
.header {
    text-align: center;
    margin-bottom: 30px; /* 与九宫格更紧贴 */
    position: relative;
}

.title {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 10px; /* 减小与跑马灯的距离 */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.title:hover {
    transform: scale(1.05);
}

/* 跑马灯边框效果 */
.marquee-border {
    position: relative;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    padding: 4px;
    border-radius: 15px;
    overflow: hidden;
}

.marquee-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite, marqueeMove 10s linear infinite;
    z-index: -1;
}

.marquee-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 16px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 810px;
    width: 100%;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeText 20s linear infinite;
    animation-fill-mode: both;
}

.marquee-content span {
    display: inline-block;
    margin-right: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes marqueeMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes marqueeText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* 主体区域样式 */
.main-content {
    display: flex;
    gap: 30px;
    align-items: center;
    width: 100%;
    justify-content: center;
}

/* 九宫格容器 */
.prize-grid-container {
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    padding: 16px;    
    background: #fadd95;
    box-shadow: inset 0 0 16px #ff9a2e;
    margin-bottom: 0;
}

.prize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    padding: 16px;
    background: linear-gradient(135deg, #ff8c42 0%, #e67e22 100%);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-bottom: 0;
}







.prize-card {
    background: #f8f6f0;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prize-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.prize-card.selected {
    animation: selectedPulse 0.6s ease-in-out;
    transform: scale(1.05);
    box-shadow: 0 0 0 2px #ff6b6b;
}

.prize-card.locked {
    opacity: 0.4;
}

.prize-card.locked::after {
    content: '🔒';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
}

.prize-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 6px;
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #666;
}

.prize-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: #d2691e;
    margin-bottom: 0;
    line-height: 1.2;
    padding: 0 2px;
}


/* 抽奖按钮 */
.draw-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    margin-top: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px;
}

.draw-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.draw-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 中奖信息区域 */
.winner-info {
    width: 280px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.winner-info h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.winner-display {
    color: #ffffff;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    padding: 20px;
    flex: 1;
    margin-bottom: 20px;
}

.winner-item {
    text-align: center;
}

.winner-item .prize-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    font-size: 4rem;
}

.winner-item .prize-name {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: normal;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}


/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: stretch; /* 抽屉占满高度 */
    justify-content: flex-end; /* 右侧抽屉 */
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    height: 100vh;          /* 占满高度 */
    overflow: hidden;
    box-shadow: -8px 0 24px rgba(0,0,0,0.25);
    border-radius: 0; /* 去除圆角 */
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

/* 抽屉滑入 */
.modal-overlay.active .modal {
    transform: translateX(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-header h2 {
    color: #333;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff6b6b;
}

.modal-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
    background: #fff;
}

.tab-btn:hover {
    background: #e9ecef;
}

.modal-content {
    padding: 30px;
    flex: 1;                /* 占满剩余高度 */
    overflow-y: auto;
    max-height: none;       /* 取消上限，按容器滚动 */
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    display: none; 
}

/* 指定奖品面板 */
.force-config {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
}

.force-config select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* 提示文字换到下一行 */
.force-config p {
    flex: 1 1 100%;
    margin: 6px 0 0 0;
    width: 100%; /* 提示文字占满宽度 */
}

/* 奖品配置样式 */
.prize-config {
    margin-bottom: 20px;
}

.prize-item {
    display: flex;
    align-items: center;
    gap: 8px;           /* 减小元素间距 */
    padding: 10px;      /* 减小内边距 */
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px; /* 减小外边距 */
    flex-wrap: nowrap;        /* 强制单行 */
}

.prize-item input, .prize-item select {
    padding: 6px 10px;    /* 紧凑输入 */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.85rem;
}

.prize-item .prize-level-input {
    width: 100px;
}

.prize-item .prize-image-input {
    width: 80px;
}

.prize-item .prize-name-input {
    flex: 1 1 auto;          /* 占据剩余空间 */
    min-width: 0;            /* 允许收缩避免溢出换行 */
}

.image-upload-container {
    display: flex;
    align-items: center;
    gap: 8px;             /* 紧凑按钮与预览 */
    flex: 0 0 auto;        /* 固定宽度，不参与伸缩 */
}

.upload-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 4px 10px;    /* 缩小上传按钮 */
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
    white-space: nowrap;
}

.upload-btn:hover {
    background: #0056b3;
}

.image-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.prize-item .remove-prize {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 6px 10px;    /* 缩小删除按钮 */
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;   /* 字号稍降，便于同列排布 */
    white-space: nowrap;
}

/* 保证概率设置单行显示 */
.probability-item {
    display: flex;
    align-items: center;
    gap: 12px;                 /* 增加整体间距 */
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    flex-wrap: nowrap;         /* 单行 */
}

.probability-item .level-name {
    flex: 0 0 140px;           /* 固定宽度，确保不被滑条覆盖 */
    font-weight: bold;
    white-space: nowrap;       /* 单行显示完整名称 */
    text-align: right;         /* 奖品名称靠右显示 */
    padding-right: 12px;       /* 与滑条留出更明确的间距 */
    overflow: hidden;          /* 超长名称截断，避免挤压滑条 */
    text-overflow: ellipsis;   /* 超长显示省略号 */
}

.probability-item .probability-slider {
    flex: 1 1 auto;            /* 中间区域自适应 */
    min-width: 100px;          /* 保证滑条最小可见宽度 */
    margin: 0 8px;             /* 与名称和数值保持间距 */
}

.probability-item .probability-value {
    flex: 0 0 64px;            /* 固定宽度，略增便于对齐 */
    text-align: center;
    font-weight: bold;
    color: #ff6b6b;
    white-space: nowrap;
}

.add-prize-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    margin: 0 auto; /* 横向居中 */
}

/* 概率配置样式 */
.probability-config {
    margin-bottom: 20px;
}

.probability-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.probability-item .level-name {
    width: 100px;
    font-weight: bold;
}

.probability-item .probability-slider {
    flex: 1;
}

.probability-item .probability-value {
    width: 60px;
    text-align: center;
    font-weight: bold;
    color: #ff6b6b;
}

/* 主题配置样式 */
.theme-config {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.theme-config label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.theme-config label:hover {
    background: #f8f9fa;
}

/* 音效配置样式 */
.audio-config {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-config label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-control input[type="range"] {
    flex: 1;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ff6b6b;
    color: #fff;
}

.btn-primary:hover {
    background: #ee5a24;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-info {
    background: #17a2b8;
    color: #fff;
    margin: 0 5px;
}

.btn-info:hover {
    background: #138496;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}


@keyframes selectedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes bounceEffect {
    0% { transform: scale(1) translateY(0); }
    20% { transform: scale(1.2) translateY(-10px); }
    40% { transform: scale(1.1) translateY(-5px); }
    60% { transform: scale(1.15) translateY(-8px); }
    80% { transform: scale(1.05) translateY(-2px); }
    100% { transform: scale(1) translateY(0); }
}


/* 平板端优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 20px;
        min-height: 100vh;
        justify-content: center;
    }
    
    .main-content {
        flex-direction: row;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }
    
    .prize-grid-container {
        flex: 2;
        max-width: 400px;
        margin-bottom: 0;
    }
    
    .winner-info {
        flex: 1;
        max-width: 300px;
    }
    
    .marquee-content {
        max-width: 720px;
    }
    
    .prize-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 0;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        min-height: 100vh;
        justify-content: center;
        padding: 15px;
    }
    .header { margin-bottom: 12px; }
    .title { margin-bottom: 8px; }
    
    .main-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }
    
    .winner-info {
        width: 100%;
        max-width: 500px;
        margin-top: 0;
    }
    
    .prize-grid-container {
        margin-bottom: 0;
        width: 100%;
    }
    
    .prize-grid {
        gap: 8px;
        padding: 12px;
        margin-bottom: 0;
    }
    
    .marquee-content {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        min-height: 100vh;
        justify-content: center;
    }
    .header { margin-bottom: 10px; }
    .title { margin-bottom: 8px; }
    .title {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }
    
    .marquee-content {
        padding: 10px 15px;
        max-width: 500px;
    }
    
    .marquee-content span {
        font-size: 1rem;
        margin-right: 30px;
    }
    
    
    
    .prize-grid-container {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .prize-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 15px;
    }
    
    .prize-card {
        padding: 15px;
    }
    
    .prize-image {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .prize-name {
        font-size: 0.7rem;
    }
    
    .prize-card {
        min-height: 100px;
        padding: 6px;
    }
    
    .winner-info {
        padding: 20px;
    }
    
    .winner-info h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .winner-display {
        min-height: 150px;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .winner-item .prize-image {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .winner-item .prize-name {
        font-size: 1rem;
    }
    
    .modal {
        width: 420px;
        max-width: 85vw;
        height: 100vh;
        margin: 0;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 20px;
        max-height: none; /* 取消高度上限，使用flex:1滚动 */
        flex: 1;
        overflow-y: auto;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        min-height: 100vh;
        justify-content: center;
    }
    .header { margin-bottom: 8px; }
    .title { margin-bottom: 6px; }
    
    .title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .marquee-content {
        padding: 8px 12px;
        max-width: 400px;
    }
    
    .marquee-content span {
        font-size: 0.9rem;
        margin-right: 20px;
    }
    
    
    
    .prize-grid-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .prize-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 10px;
    }
    
    .prize-card {
        padding: 12px;
    }
    
    .prize-image {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .prize-name {
        font-size: 0.65rem;
    }
    
    .prize-card {
        min-height: 90px;
        padding: 6px;
    }
    
    .draw-button {
        padding: 12px 20px;
        font-size: 1.1rem;
    }
    
    .winner-info {
        padding: 15px;
    }
    
    .winner-info h3 {
        font-size: 1.2rem;
    }
    
    .winner-display {
        min-height: 120px;
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .winner-item .prize-image {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .winner-item .prize-name {
        font-size: 0.9rem;
    }
    
    .modal {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0; /* 去除圆角 */
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .close-btn {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 15px;
        max-height: none; /* 取消小屏上限 */
        flex: 1;
        overflow-y: auto;
    }
    
    .modal-footer {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
    }
    
    .tab-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .prize-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .prize-item input,
    .prize-item select {
        width: 100%;
    }
    
    .probability-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .probability-item .level-name {
        width: 100%;
        text-align: center;
    }
    
    
    .theme-config {
        gap: 10px;
    }
    
    .volume-control {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
}

/* 横屏优化 */
@media (orientation: landscape) and (max-height: 600px) {
    .container {
        padding: 10px;
        min-height: 100vh;
        justify-content: flex-start;
    }
    .header { margin-bottom: 8px; }
    .title { font-size: 2rem; margin-bottom: 6px; }
    
    .marquee-content {
        padding: 6px 12px;
        max-width: 515px;
    }
    
    .marquee-content span {
        font-size: 0.8rem;
        margin-right: 15px;
    }
    
    .main-content {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }
    
    .prize-grid-container {
        flex: 2;
    }
    
    .winner-info {
        flex: 1;
        max-width: 250px;
    }
    
    .prize-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px;
    }
    
    .prize-card {
        min-height: 60px;
        padding: 4px;
    }
    
    .prize-image {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .prize-name {
        font-size: 0.6rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 8px;
        min-height: 100vh;
        justify-content: center;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .marquee-content {
        max-width: 320px;
    }
    
    .prize-grid {
        padding: 10px;
    }
    
    .prize-card {
        padding: 4px;
        min-height: 70px;
    }
    
    .prize-image {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prize-name {
        font-size: 0.6rem;
    }
    
    .draw-button {
        padding: 10px 15px;
        font-size: 1rem;
    }
}

/* 深色主题 */
[data-theme="dark"] {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

[data-theme="dark"] .prize-grid-container,
[data-theme="dark"] .winner-info {
    background: rgba(44, 62, 80, 0.95);
    color: #ecf0f1;
}

[data-theme="dark"] .prize-card {
    background: #34495e;
    color: #ecf0f1;
}

[data-theme="dark"] .prize-card .prize-name {
    color: #ecf0f1;
}

[data-theme="dark"] .prize-card .prize-level {
    background: #2c3e50;
    color: #ecf0f1;
}

[data-theme="dark"] .modal {
    background: #2c3e50;
    color: #ecf0f1;
}

[data-theme="dark"] .modal-header {
    background: #34495e;
    border-bottom-color: #4a5f7a;
}

[data-theme="dark"] .modal-tabs {
    background: #34495e;
    border-bottom-color: #4a5f7a;
}

[data-theme="dark"] .tab-btn {
    color: #bdc3c7;
}

[data-theme="dark"] .tab-btn.active {
    color: #ff6b6b;
    background: #2c3e50;
}

[data-theme="dark"] .modal-footer {
    background: #34495e;
    border-top-color: #4a5f7a;
}
