/* style.css - 主应用核心样式（不包含认证界面） */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

.container {
    margin: 0;
    padding: 0;
    max-width: 1400px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 100px);
    min-height: auto;
}

.scrollable-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 15px 20px 15px;
    min-height: 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 
        inset 0 4px 20px rgba(0, 0, 0, 0.05),
        inset 0 2px 8px rgba(102, 126, 234, 0.08);
    position: relative;
}

.scrollable-container::-webkit-scrollbar {
    width: 10px;
}

.scrollable-container::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.3);
    border-radius: 10px;
    margin: 20px 0;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.6), 
        rgba(118, 75, 162, 0.6));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.8), 
        rgba(118, 75, 162, 0.8));
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.app-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #e2e8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-align: center;
}

.header-top-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-top-group h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #e2e8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    margin: 0;
}

.file-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 8px;
}

.info-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.file-list-section {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.file-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.file-list-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    position: relative;
    padding-left: 20px;
}

.file-list-container {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    padding: 10px;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-list-item {
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: normal;
    gap: 20px;
    border-radius: 12px;
    margin: 5px 0;
}

.file-list-item:last-child {
    border-bottom: none;
}

.file-list-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: rgba(102, 126, 234, 0.3);
}

.file-list-item.selected {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.file-name {
    font-weight: 600;
    color: #2d3748;
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
}

.file-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.file-date {
    font-size: 13px;
    color: #718096;
    background: rgba(113, 128, 150, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.file-size {
    font-size: 13px;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.file-list-empty {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
    font-style: italic;
    font-size: 16px;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.content-area {
    padding: 2px 0;
    min-height: 400px;
}

.conversation-block {
    background: white;
    padding: 8px;
    border-radius: 20px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border: 2px solid #f7fafc;
    position: relative;
}

.conversation-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 6px 0 0 6px;
}

.conversation-block:hover {
    transform: translateX(5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.1);
}

.conversation-block.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.speaker-header {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    gap: 15px;
    flex-wrap: wrap;
}

.speaker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.speaker-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.speaker-name-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.speaker-name {
    font-weight: 700;
    font-size: 18px;
    color: #2d3748;
}

.speaker-edit-icon {
    font-size: 14px;
    cursor: pointer;
    opacity:1;  /* 默认完全透明 */
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
    color: #718096;
    padding: 4px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    user-select: none;
}

/* 只在父容器悬停时显示图标 */
.speaker-name-wrapper:hover .speaker-edit-icon {
    opacity: 0.6;  /* 悬停时显示为半透明 */
}

/* 图标本身悬停时完全显示并增加效果 */
.speaker-edit-icon:hover {
    opacity: 1 !important;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.time-range {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace;
    font-size: 13px;
    color: #718096;
    background: rgba(113, 128, 150, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

.merged-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    padding: 4px 0px;
    background: rgba(247, 250, 252, 0.8);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.text-segment {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0px 0px;
    border-radius: 8px;
    display: inline;
    position: relative;
}

.text-segment:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.text-segment.playing {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

.segment-divider {
    color: #cbd5e0;
    margin: 0 0px;
    font-size: 20px;
}

.mini-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    display: none;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: move;
    user-select: none;
    min-width: 180px;
    max-width: 250px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-player.dragging {
    opacity: 0.8;
    cursor: grabbing;
    transform: scale(1.05);
}

.mini-player-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
}

.mini-player-info {
    font-size: 13px;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    font-weight: 600;
}

.mini-player-info.playing {
    color: #667eea;
    font-weight: 700;
}

.mini-player-controls {
    display: flex;
    gap: 8px;
}

.mini-player-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mini-player-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mini-player-btn.play {
    background: linear-gradient(135deg, #48bb78, #38a169);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.mini-player-btn.stop {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.close-detail-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 12px 28px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.close-detail-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.loading {
    display: none;
    text-align: center;
    padding: 100px 20px;
    color: #718096;
}

.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-right: 4px solid #764ba2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    display: none;
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
    color: #c53030;
    padding: 25px;
    margin: 30px;
    border-radius: 20px;
    border-left: 6px solid #c53030;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(245, 101, 101, 0.2);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    color: #718096;
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3748;
}

.empty-state p {
    font-size: 16px;
    max-width: 500px;
    line-height: 1.8;
}


/* ========== Speaker 浮动编辑器样式 ========== */

.speaker-editor {
    position: fixed;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    min-width: 280px;
    max-width: 320px;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.15s ease;
    overflow: visible;
    background-color: #ffffff; /* 确保背景完全不透明 */
    opacity: 1; /* 确保不透明 */
}

.editor-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    top: -8px;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
    z-index: 1002;
}

.editor-header {
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
    background-color: #f8fafc; /* 确保背景不透明 */
}

.editor-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.editor-content {
    padding: 16px;
    background-color: #ffffff; /* 确保背景不透明 */
}

.current-name-tip {
    font-size: 12px;
    color: #718096;
    background: #f8fafc; /* 使用不透明背景 */
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 3px solid #667eea;
    word-break: break-all;
    background-color: #f8fafc; /* 确保背景不透明 */
}

.speaker-name-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    box-sizing: border-box;
    background-color: #ffffff; /* 确保背景不透明 */
}

.speaker-name-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.speaker-name-input.invalid {
    border-color: #f56565;
    background-color: #fff5f5; /* 使用不透明背景 */
}

.input-tip {
    font-size: 11px;
    color: #a0aec0;
    margin-top: 4px;
    background-color: transparent;
}

.input-error {
    font-size: 12px;
    color: #e53e3e;
    background: #fff5f5; /* 使用不透明背景 */
    padding: 8px 10px;
    border-radius: 6px;
    margin-top: 10px;
    animation: shake 0.3s ease;
    border: 1px solid #feb2b2;
}

.editor-footer {
    padding: 12px 16px 16px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    border-top: 1px solid #edf2f7;
    background-color: #ffffff; /* 确保背景不透明 */
}

.editor-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.editor-btn.cancel {
    background: #e2e8f0;
    color: #4a5568;
    background-color: #e2e8f0; /* 确保背景不透明 */
}

.editor-btn.cancel:hover {
    background: #cbd5e0;
    transform: translateY(-1px);
}

.editor-btn.save {
    background: #667eea;
    color: white;
    background-color: #667eea; /* 确保背景不透明 */
}

.editor-btn.save:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.save-toast {
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

.save-toast.success {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.save-toast.error {
    background: linear-gradient(135deg, #f56565, #e53e3e);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 删除按钮和对话框样式 */
.delete-file-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    color: #718096;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 12px;
}

.delete-file-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #fed7d7, #fc8181);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.delete-file-btn span {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.delete-file-btn:hover {
    border-color: #fc8181;
    box-shadow: 0 4px 12px rgba(252, 129, 129, 0.2);
    transform: translateY(-2px);
}

.delete-file-btn:hover::before {
    opacity: 1;
}

.delete-file-btn:hover span {
    color: white;
    transform: scale(1.1);
}

.delete-confirm-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
}

.delete-confirm-dialog {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

.delete-dialog-header {
    background: linear-gradient(135deg, #fc8181, #f56565);
    color: white;
    padding: 24px;
    text-align: center;
}

.delete-dialog-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.delete-dialog-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.delete-dialog-content {
    padding: 24px;
}

.delete-file-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    margin: 16px 0;
    border-left: 4px solid #fc8181;
}

.delete-warning {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 12px;
}

.delete-dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 24px 24px 24px;
}

.delete-btn-secondary {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: #e2e8f0;
    color: #4a5568;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.delete-btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-1px);
}

.delete-btn-danger {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #fc8181, #f56565);
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.delete-btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.file-info-main {
    flex: 1;
    display: flex;
    min-width: 0;
}

.file-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #718096;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container {
        margin: 0;
        padding: 0;
        max-width: 768px;
        margin: 0px auto;
        background: rgba(255, 255, 255, 0.95);
        border-radius:6px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        position: relative;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        flex-direction: column;
        height: calc(100vh - 60px);
        max-height: calc(100vh - 100px);
        min-height: auto;
    }

    .scrollable-container {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0 15px 20px 15px;
        min-height: 0;
        background: linear-gradient(180deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(248, 250, 252, 0.98) 100%);
        border-radius: 20px;
        border: 1px solid rgba(226, 232, 240, 0.8);
        box-shadow: 
            inset 0 4px 20px rgba(0, 0, 0, 0.05),
            inset 0 2px 8px rgba(102, 126, 234, 0.08);
        position: relative;
    }

    .app-header h1 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
        background: linear-gradient(90deg, #fff, #e2e8ff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        letter-spacing: -0.5px;
        text-align: center;
    }

    .file-info {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        font-size: 14px;
        margin-bottom: 1px;
    }

    .info-item {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        padding: 5px 5px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-weight: 500;
    }

    .file-list-section {
        padding: 5px 5px;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    .file-list-header {
        display: flex;
        padding: 1px 1px;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1px;
    }

    .file-list-title {
        font-size: 16px;
        font-weight: 700;
        color: #2d3748;
        position: relative;
        padding-left: 5px;
    }

    .file-list-item {
        padding: 5px 5px;
        border-bottom: 1px solid #e2e8f0;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: normal;
        gap: 5px;
        border-radius: 12px;
        margin: 0px 0;
    }

    .speaker-editor {
        position: fixed;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0;
    }
    
    .editor-arrow {
        display: none;
    }
    
    .editor-footer {
        flex-direction: column;
    }
    
    .editor-btn {
        width: 100%;
        padding: 12px;
    }

    .delete-confirm-dialog {
        width: 95%;
        margin: 20px;
    }

    .delete-dialog-buttons {
        flex-direction: column;
    }

    .delete-btn-secondary,
    .delete-btn-danger {
        width: 100%;
        padding: 14px;
    }
}