body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #0f1923;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    width: 100%;
}

.card {
    border: none;
    border-radius: 10px;
    background-color: #1a2634;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.15);
    border: 1px solid rgba(0, 195, 255, 0.1);
    overflow: hidden;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    background-color: #1a2634;
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
    padding: 15px 20px;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    background-color: #0f1923;
    border: 1px solid rgba(0, 195, 255, 0.3);
    color: #e0e0e0;
    caret-color: #00c3ff;
}

.form-control:focus {
    background-color: #0f1923;
    box-shadow: 0 0 0 0.25rem rgba(0, 195, 255, 0.25);
    border-color: rgba(0, 195, 255, 0.5);
    color: #e0e0e0;
}

.form-control::placeholder {
    color: #7a8b99;
    opacity: 0.8;
}

.form-select {
    background-color: #0f1923;
    border: 1px solid rgba(0, 195, 255, 0.3);
    color: #e0e0e0;
}

.form-select:focus {
    background-color: #0f1923;
    border-color: rgba(0, 195, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(0, 195, 255, 0.25);
    color: #e0e0e0;
}

.btn {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #00c3ff;
    border-color: #00c3ff;
    color: #0f1923;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #0099ff;
    border-color: #0099ff;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.5);
}

.btn-primary:active {
    background-color: #0077cc;
    border-color: #0077cc;
}

.alert {
    border-radius: 8px;
    background-color: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.2);
    color: #00c3ff;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Bootstrap背景色样式 */
.bg-success {
    background-color: #28a745 !important;
    color: #fff !important;
}

.bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
    color: #fff !important;
}

.bg-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
}

.bg-primary {
    background-color: #00c3ff !important;
    color: #0f1923 !important;
}

/* Bootstrap文本颜色样式 */
.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-muted {
    color: #7a8b99 !important;
}

.text-primary {
    color: #00c3ff !important;
}

.text-secondary {
    color: #6c757d !important;
}

.word-break {
    word-break: break-all;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 195, 255, 0.15) !important;
}

/* 文件列表样式 */
.file-item {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
    transition: background-color 0.2s ease;
}

.file-item:hover {
    background-color: rgba(0, 195, 255, 0.05);
}

.file-icon {
    width: 24px;
    text-align: center;
    margin-right: 10px;
}

.folder-icon {
    color: #00c3ff;
}

.file-icon-generic {
    color: #7a8b99;
}

.file-name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e0e0e0;
}

.file-size {
    color: #7a8b99;
    font-size: 0.9rem;
    width: 100px;
    text-align: right;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #00c3ff;
}

.breadcrumb-item.active {
    color: #7a8b99;
}

.file-list-container {
    max-height: 600px;
    overflow-y: auto;
    background-color: #1a2634;
}

.file-list-container::-webkit-scrollbar {
    width: 8px;
}

.file-list-container::-webkit-scrollbar-track {
    background: #0f1923;
}

.file-list-container::-webkit-scrollbar-thumb {
    background: rgba(0, 195, 255, 0.3);
    border-radius: 4px;
}

.file-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 195, 255, 0.5);
}

.file-info-panel {
    background-color: #1a2634;
    border-left: 1px solid rgba(0, 195, 255, 0.1);
    padding: 15px;
    height: 100%;
}

.file-info-panel .text-muted {
    color: #7a8b99 !important;
    font-weight: 500;
}

.file-info-panel .neon-text {
    color: #00c3ff;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.5);
    font-size: 1.5rem;
    font-weight: 700;
}

.file-info-panel h5 {
    color: #e0e0e0 !important;
    font-weight: 600;
    margin-bottom: 15px;
}

.file-info-panel hr {
    border-color: rgba(0, 195, 255, 0.2);
    margin: 20px 0;
}

/* 文件信息卡片标题 */
.file-info-header {
    color: #00c3ff !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.3);
}

.download-btn {
    background-color: #00c3ff;
    border-color: #00c3ff;
    color: #0f1923;
}

.download-btn:hover {
    background-color: #0099ff;
    border-color: #0099ff;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.5);
}

.cancel-btn {
    background-color: rgba(0, 195, 255, 0.1);
    border-color: rgba(0, 195, 255, 0.2);
    color: #00c3ff;
}

.cancel-btn:hover {
    background-color: rgba(0, 195, 255, 0.2);
    border-color: rgba(0, 195, 255, 0.3);
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    accent-color: #00c3ff;
}

.file-list-header {
    font-weight: 500;
    color: #7a8b99;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
    background-color: #1a2634;
}

/* 页面切换动画 */
.page-transition {
    transition: opacity 0.3s ease;
}

.page-hidden {
    display: none;
    opacity: 0;
}

.page-visible {
    display: block;
    opacity: 1;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25rem solid rgba(0, 195, 255, 0.1);
    border-radius: 50%;
    border-top-color: #00c3ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 赛博朋克风格标题 */
.cyber-title {
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
    color: #00c3ff;
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
}

/* 霓虹灯效果 */
.neon-text {
    color: #00c3ff;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.7), 0 0 10px rgba(0, 195, 255, 0.5);
}

/* 闪烁动画 */
@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.5;
    }
}

.flicker {
    animation: flicker 8s infinite;
}

/* 下载器状态样式 */
#downloaderStatus {
    font-size: 0.9rem;
}

/* 下载器设置按钮 */
.btn-outline-info {
    color: #00c3ff;
    border-color: rgba(0, 195, 255, 0.3);
    background-color: rgba(0, 195, 255, 0.05);
}

.btn-outline-info:hover {
    color: #0f1923;
    background-color: #00c3ff;
    border-color: #00c3ff;
}

/* 下载器设置模态框 */
.modal-content {
    background-color: #1a2634;
    border: 1px solid rgba(0, 195, 255, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
}

.modal-footer {
    border-top: 1px solid rgba(0, 195, 255, 0.2);
}

.form-text {
    color: #7a8b99;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

.btn-info {
    background-color: rgba(0, 195, 255, 0.2);
    border-color: rgba(0, 195, 255, 0.3);
    color: #00c3ff;
}

.btn-info:hover, .btn-info:focus {
    background-color: rgba(0, 195, 255, 0.3);
    border-color: rgba(0, 195, 255, 0.4);
    color: #00c3ff;
}

#fileInfoPanel {
    background-color: #1a2634;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 195, 255, 0.3);
}

#selectedCount, #totalSize {
    color: #00c3ff;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.8);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.file-info-panel .text-muted {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.file-info-panel h5 {
    color: #00c3ff !important;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.5);
}

/* 下载器状态样式增强 */
#downloaderStatus {
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.5);
}

/* 下载配置区域样式 */
.download-config-area {
    background-color: rgba(0, 195, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 195, 255, 0.2);
}

/* 下载按钮增强 */
.download-btn {
    background-color: #00c3ff;
    border-color: #00c3ff;
    color: #0f1923;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px;
    text-shadow: none;
}

.download-btn:hover {
    background-color: #0099ff;
    border-color: #0099ff;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.7);
}

.cancel-btn {
    background-color: rgba(0, 195, 255, 0.1);
    border-color: rgba(0, 195, 255, 0.2);
    color: #00c3ff;
    font-weight: 600;
}

.cancel-btn:hover {
    background-color: rgba(0, 195, 255, 0.2);
    border-color: rgba(0, 195, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.3);
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    accent-color: #00c3ff;
}

.file-list-header {
    font-weight: 500;
    color: #7a8b99;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 195, 255, 0.1);
    background-color: #1a2634;
}

/* 页面切换动画 */
.page-transition {
    transition: opacity 0.3s ease;
}

.page-hidden {
    display: none;
    opacity: 0;
}

.page-visible {
    display: block;
    opacity: 1;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25rem solid rgba(0, 195, 255, 0.1);
    border-radius: 50%;
    border-top-color: #00c3ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 赛博朋克风格标题 */
.cyber-title {
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
    color: #00c3ff;
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
}

/* 霓虹灯效果 */
.neon-text {
    color: #00c3ff;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.7), 0 0 10px rgba(0, 195, 255, 0.5);
}

/* 闪烁动画 */
@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.5;
    }
}

.flicker {
    animation: flicker 8s infinite;
}

/* 下载器状态样式 */
#downloaderStatus {
    font-size: 0.9rem;
}

/* 下载器设置按钮 */
.btn-outline-info {
    color: #00c3ff;
    border-color: rgba(0, 195, 255, 0.3);
    background-color: rgba(0, 195, 255, 0.05);
}

.btn-outline-info:hover {
    color: #0f1923;
    background-color: #00c3ff;
    border-color: #00c3ff;
}

/* 下载器设置模态框 */
.modal-content {
    background-color: #1a2634;
    border: 1px solid rgba(0, 195, 255, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
}

.modal-footer {
    border-top: 1px solid rgba(0, 195, 255, 0.2);
}

.form-text {
    color: #7a8b99;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

.btn-info {
    background-color: rgba(0, 195, 255, 0.2);
    border-color: rgba(0, 195, 255, 0.3);
    color: #00c3ff;
}

.btn-info:hover, .btn-info:focus {
    background-color: rgba(0, 195, 255, 0.3);
    border-color: rgba(0, 195, 255, 0.4);
    color: #00c3ff;
}

#fileInfoPanel {
    background-color: rgba(15, 25, 35, 0.8);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 195, 255, 0.3);
}

#selectedCount, #totalSize {
    color: #00c3ff;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 195, 255, 0.7);
    letter-spacing: 1px;
}

.file-info-panel .text-muted {
    color: #a0b0c0 !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 0 2px rgba(160, 176, 192, 0.3);
}

.file-info-panel h5 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.3);
}

/* 下载器状态图标样式 */
.status-connected {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

.status-disconnected {
    color: #ff3333;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
}

.status-unknown {
    color: #ffcc00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.7);
}

/* 分页组件样式 */
.pagination-container {
    background-color: #1a2634;
    border-top: 1px solid rgba(0, 195, 255, 0.1);
}

.pagination-container .btn-outline-info {
    color: #00c3ff;
    border-color: #00c3ff;
    background-color: transparent;
    transition: all 0.3s ease;
}

.pagination-container .btn-outline-info:hover:not(:disabled) {
    color: #1a2634;
    background-color: #00c3ff;
    border-color: #00c3ff;
}

.pagination-container .btn-outline-info:disabled {
    color: #7a8b99;
    border-color: #7a8b99;
    opacity: 0.5;
}

.pagination-container span {
    color: #e0e0e0;
}

.pagination-container #currentPage {
    color: #00c3ff;
    font-weight: bold;
}

.pagination-container #pageInfo {
    color: #7a8b99 !important;
}

.pagination-container .form-select {
    background-color: #1a2634;
    color: #e0e0e0;
    border-color: #00c3ff;
}

.pagination-container .form-select:focus {
    border-color: #00c3ff;
    box-shadow: 0 0 0 0.2rem rgba(0, 195, 255, 0.25);
}

.pagination-container .form-select option {
    background-color: #1a2634;
    color: #e0e0e0;
}