/* PDF标签生成系统 2.0 样式表 */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', '微软雅黑', sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: 600;
}

.drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.drop-zone:hover {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.drop-zone.dragover {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    transform: scale(1.02);
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    border: none;
}

.card-header {
    font-weight: 600;
    border-bottom: 2px solid rgba(0,0,0,0.125);
}

.progress {
    height: 25px;
}

.progress-bar {
    font-size: 14px;
    line-height: 25px;
}

.footer {
    margin-top: auto;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* 文件列表样式 */
.file-list {
    max-height: 400px;
    overflow-y: auto;
}

.file-item {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item:hover {
    background-color: #f8f9fa;
}

/* 单独下载列表样式 */
#fileList .card {
    border: 1px solid #dee2e6;
}

#fileList .card-header {
    background-color: #f8f9fa;
    font-size: 0.95rem;
}

#fileList .card-body {
    max-height: 300px;
    overflow-y: auto;
}

#labelsList .d-flex {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

#labelsList .d-flex:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 按钮组样式 */
.btn-group-custom {
    gap: 0.5rem;
}

/* 文件名截断 */
.text-truncate {
    max-width: 300px;
}

@media (max-width: 768px) {
    .text-truncate {
        max-width: 200px;
    }
    
    .d-flex .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .drop-zone {
        padding: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
