/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 明亮主题 (默认) */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #E8E8FF 0%, #F0DAD2 50%, #8080C0 100%);
    min-height: 100vh;
    color: #333;
}

body.dark-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部 */
.header {
    background: rgba(128, 128, 192, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(128, 128, 192, 0.2);
    border: 1px solid rgba(128, 128, 192, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-theme .header {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(80, 80, 120, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #8080C0 0%, #606090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .header h1 {
    background: linear-gradient(135deg, #a0a0d0 0%, #8080b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.header h1 a {
    text-decoration: none;
    color: inherit;
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav a {
    color: #606090;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

body.dark-theme .nav a {
    color: #a0a0c0;
}

.nav a:hover {
    background: rgba(128, 128, 192, 0.2);
    transform: translateY(-2px);
}

body.dark-theme .nav a:hover {
    background: rgba(100, 100, 150, 0.3);
}

.nav a.active {
    background: linear-gradient(135deg, #8080C0 0%, #606090 100%);
    color: #f0f0f0;
    box-shadow: 0 4px 15px rgba(128, 128, 192, 0.4);
}

body.dark-theme .nav a.active {
    background: linear-gradient(135deg, #6060a0 0%, #404080 100%);
    box-shadow: 0 4px 15px rgba(100, 100, 200, 0.3);
}

#user-info {
    color: #606090;
    font-weight: 500;
}

body.dark-theme #user-info {
    color: #a0a0c0;
}

/* 主内容 */
.main {
    background: rgba(232, 232, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 32px rgba(128, 128, 192, 0.2);
    border: 1px solid rgba(128, 128, 192, 0.2);
}

body.dark-theme .main {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(60, 60, 100, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 上传区域 */
.upload-section h2 {
    margin-bottom: 20px;
    color: #404060;
}

body.dark-theme .upload-section h2 {
    color: #c0c0e0;
}

.upload-area {
    border: 2px dashed #8080C0;
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    background: rgba(240, 218, 210, 0.3);
}

body.dark-theme .upload-area {
    border-color: #6060a0;
    background: rgba(40, 40, 70, 0.5);
}

.upload-area:hover, .upload-area.dragover {
    border-color: #6060a0;
    background: rgba(128, 128, 192, 0.15);
}

body.dark-theme .upload-area:hover, 
body.dark-theme .upload-area.dragover {
    border-color: #8080c0;
    background: rgba(80, 80, 130, 0.3);
}

.upload-icon {
    width: 64px;
    height: 64px;
    fill: #8080C0;
    margin-bottom: 20px;
}

body.dark-theme .upload-icon {
    fill: #8080c0;
}

.upload-hint p {
    margin: 10px 0;
    color: #606090;
}

body.dark-theme .upload-hint p {
    color: #a0a0c0;
}

.upload-limit {
    font-size: 14px;
    color: #8080a0;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #404060;
}

body.dark-theme .form-group label {
    color: #c0c0e0;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(128, 128, 192, 0.3);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, background 0.3s;
    background: rgba(248, 245, 255, 0.9);
    color: #333;
    cursor: pointer;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea,
body.dark-theme .form-group select {
    background: rgba(40, 40, 70, 0.8);
    border-color: rgba(100, 100, 150, 0.5);
    color: #e0e0e0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8080C0;
    background: rgba(250, 248, 255, 0.98);
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group textarea:focus,
body.dark-theme .form-group select:focus {
    border-color: #8080c0;
    background: rgba(50, 50, 80, 0.9);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23606090' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

body.dark-theme .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0c0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.form-group select:hover {
    border-color: rgba(128, 128, 192, 0.5);
}

body.dark-theme .form-group select:hover {
    border-color: rgba(120, 120, 180, 0.6);
}

.form-group select option {
    background: #fff;
    color: #333;
    padding: 10px;
}

body.dark-theme .form-group select option {
    background: #404070;
    color: #e0e0e0;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #8080a0;
    font-size: 12px;
}

body.dark-theme .form-group small {
    color: #8080a0;
}

.form-group-inline {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-group-inline input,
.form-group-inline select {
    flex: 1;
}

.form-group-inline select {
    min-width: 120px;
}

.form-group-inline input {
    min-width: 100px;
}

/* 按钮 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #8080C0 0%, #606090 100%);
    color: #f0f0f0;
    box-shadow: 0 4px 15px rgba(128, 128, 192, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7070b0 0%, #505080 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 128, 192, 0.4);
}

body.dark-theme .btn-primary {
    background: linear-gradient(135deg, #6060a0 0%, #404080 100%);
    box-shadow: 0 4px 15px rgba(100, 100, 200, 0.3);
}

body.dark-theme .btn-primary:hover {
    background: linear-gradient(135deg, #5050a0 0%, #303070 100%);
    box-shadow: 0 6px 20px rgba(100, 100, 200, 0.4);
}

.btn-secondary {
    background: rgba(128, 128, 192, 0.2);
    color: #606090;
    border: 1px solid rgba(128, 128, 192, 0.3);
}

.btn-secondary:hover {
    background: rgba(128, 128, 192, 0.3);
}

body.dark-theme .btn-secondary {
    background: rgba(60, 60, 100, 0.5);
    color: #a0a0c0;
    border-color: rgba(100, 100, 150, 0.5);
}

body.dark-theme .btn-secondary:hover {
    background: rgba(80, 80, 130, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, #c04040 0%, #903030 100%);
    color: #f0f0f0;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b03030 0%, #802020 100%);
}

/* 登录提示 */
.login-prompt, .login-required {
    text-align: center;
    padding: 40px;
    background: rgba(240, 218, 210, 0.3);
    border-radius: 12px;
}

body.dark-theme .login-prompt, 
body.dark-theme .login-required {
    background: rgba(40, 40, 70, 0.5);
}

.login-prompt p, .login-required p {
    margin-bottom: 20px;
    color: #606090;
}

body.dark-theme .login-prompt p,
body.dark-theme .login-required p {
    color: #a0a0c0;
}

/* 上传进度 */
.upload-progress, #upload-progress {
    margin: 20px 0;
}

.progress-bar {
    height: 8px;
    background: rgba(128, 128, 192, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

body.dark-theme .progress-bar {
    background: rgba(60, 60, 100, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8080C0 0%, #6060a0 100%);
    transition: width 0.3s;
    width: 0%;
}

body.dark-theme .progress-fill {
    background: linear-gradient(90deg, #6060a0 0%, #4040a0 100%);
}

#progress-text {
    text-align: center;
    color: #606090;
}

body.dark-theme #progress-text {
    color: #a0a0c0;
}

/* 上传结果 */
#upload-result {
    padding: 20px;
    background: rgba(200, 230, 200, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(128, 192, 128, 0.3);
}

body.dark-theme #upload-result {
    background: rgba(40, 80, 40, 0.3);
    border-color: rgba(80, 150, 80, 0.3);
}

#upload-result .error {
    background: rgba(230, 200, 200, 0.3);
    border-color: rgba(192, 128, 128, 0.3);
}

body.dark-theme #upload-result .error {
    background: rgba(80, 40, 40, 0.3);
}

/* 功能说明 */
.features {
    padding: 30px;
    background: rgba(240, 218, 210, 0.3);
    border-radius: 12px;
}

body.dark-theme .features {
    background: rgba(40, 40, 70, 0.5);
}

.features h3 {
    margin-bottom: 20px;
    color: #404060;
}

body.dark-theme .features h3 {
    color: #c0c0e0;
}

.features ul {
    list-style: none;
}

.features li {
    padding: 10px 0;
    color: #606090;
}

body.dark-theme .features li {
    color: #a0a0c0;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

body.dark-theme .modal {
    background: rgba(0, 0, 0, 0.7);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: rgba(232, 232, 255, 0.98);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(128, 128, 192, 0.3);
}

body.dark-theme .modal-content {
    background: rgba(30, 30, 50, 0.98);
    border: 1px solid rgba(80, 80, 130, 0.5);
}

.modal-large {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #8080a0;
    transition: color 0.3s;
}

body.dark-theme .modal-close {
    color: #8080a0;
}

.modal-close:hover {
    color: #6060a0;
}

.modal-content h2 {
    margin-bottom: 25px;
    color: #404060;
}

body.dark-theme .modal-content h2 {
    color: #c0c0e0;
}

.modal-content form button {
    width: 100%;
}

/* 仪表板 */
.dashboard {
    animation: fadeIn 0.5s;
}

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

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #8080C0 0%, #6060a0 100%);
    color: #f0f0f0;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(118, 118, 184, 0.3);
}

body.dark-theme .stat-card {
    background: linear-gradient(135deg, #5050a0 0%, #303080 100%);
    box-shadow: 0 8px 25px rgba(80, 80, 180, 0.3);
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    opacity: 0.9;
}

.files-section {
    margin-top: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    color: #404060;
}

body.dark-theme .section-header h2 {
    color: #c0c0e0;
}

.files-list, .files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.file-card {
    background: rgba(232, 232, 255, 0.6);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid rgba(128, 128, 192, 0.2);
}

body.dark-theme .file-card {
    background: rgba(40, 40, 70, 0.6);
    border: 1px solid rgba(80, 80, 130, 0.3);
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(128, 128, 192, 0.2);
}

body.dark-theme .file-card:hover {
    box-shadow: 0 8px 25px rgba(80, 80, 150, 0.3);
}

.file-thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: rgba(200, 200, 220, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
}

body.dark-theme .file-thumbnail {
    background: rgba(50, 50, 80, 0.5);
}

.file-info {
    padding: 10px 0;
}

.file-name {
    font-size: 14px;
    color: #404060;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.dark-theme .file-name {
    color: #c0c0e0;
}

.file-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #8080a0;
    margin-bottom: 10px;
}

body.dark-theme .file-meta {
    color: #8080a0;
}

.file-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
    gap: 5px;
}

.file-card:hover .file-actions {
    display: flex;
}

.file-action-btn {
    background: rgba(232, 232, 255, 0.9);
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #404060;
}

body.dark-theme .file-action-btn {
    background: rgba(50, 50, 80, 0.9);
    color: #c0c0e0;
}

.file-action-btn.delete {
    color: #c04040;
}

.video-badge, .access-count, .expire-badge {
    position: absolute;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.video-badge {
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #f0f0f0;
}

.access-count {
    bottom: 5px;
    left: 5px;
    background: linear-gradient(135deg, #8080C0 0%, #6060a0 100%);
    color: #f0f0f0;
}

.expire-badge {
    bottom: 5px;
    right: 5px;
    background: #c04040;
    color: #f0f0f0;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    background: rgba(232, 232, 255, 0.6);
    color: #606090;
    border: 1px solid rgba(128, 128, 192, 0.2);
    transition: all 0.3s;
}

body.dark-theme .pagination a,
body.dark-theme .pagination span {
    background: rgba(40, 40, 70, 0.6);
    color: #a0a0c0;
    border-color: rgba(80, 80, 130, 0.3);
}

.pagination a:hover {
    background: rgba(128, 128, 192, 0.3);
}

body.dark-theme .pagination a:hover {
    background: rgba(80, 80, 130, 0.5);
}

.pagination .active {
    background: linear-gradient(135deg, #8080C0 0%, #6060a0 100%);
    color: #f0f0f0;
    border-color: transparent;
}

body.dark-theme .pagination .active {
    background: linear-gradient(135deg, #5050a0 0%, #303080 100%);
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 密码页面 */
.password-page, .password-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    margin: 100px auto;
    background: rgba(232, 232, 255, 0.9);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(128, 128, 192, 0.2);
    border: 1px solid rgba(128, 128, 192, 0.2);
}

body.dark-theme .password-page,
body.dark-theme .password-form {
    background: rgba(30, 30, 50, 0.9);
    border-color: rgba(80, 80, 130, 0.3);
}

.password-header {
    text-align: center;
    margin-bottom: 30px;
}

.password-header h2 {
    color: #404060;
}

body.dark-theme .password-header h2 {
    color: #c0c0e0;
}

.password-box .file-info {
    background: rgba(240, 218, 210, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

body.dark-theme .password-box .file-info {
    background: rgba(40, 40, 70, 0.5);
}

.error-message, .error-msg {
    background: rgba(230, 200, 200, 0.3);
    color: #c04040;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

body.dark-theme .error-message,
body.dark-theme .error-msg {
    background: rgba(80, 40, 40, 0.3);
}

/* 文件详情 */
.file-detail {
    animation: fadeIn 0.3s;
}

.file-detail-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.file-detail-preview {
    width: 200px;
    height: 200px;
    background: rgba(200, 200, 220, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.dark-theme .file-detail-preview {
    background: rgba(50, 50, 80, 0.5);
}

.file-detail-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.file-detail-info h2 {
    margin-bottom: 15px;
    color: #404060;
}

body.dark-theme .file-detail-info h2 {
    color: #c0c0e0;
}

.file-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.file-detail-meta div, .file-detail-info p {
    padding: 10px;
    background: rgba(240, 218, 210, 0.3);
    border-radius: 6px;
    color: #404060;
}

body.dark-theme .file-detail-meta div,
body.dark-theme .file-detail-info p {
    background: rgba(40, 40, 70, 0.5);
    color: #c0c0e0;
}

.file-detail-meta label {
    display: block;
    font-size: 12px;
    color: #8080a0;
    margin-bottom: 5px;
}

.file-detail-meta span {
    font-weight: 500;
    color: #404060;
}

body.dark-theme .file-detail-meta span {
    color: #c0c0e0;
}

/* 访问日志 */
.access-logs {
    margin-top: 30px;
}

.access-logs h3 {
    margin-bottom: 15px;
    color: #404060;
}

body.dark-theme .access-logs h3 {
    color: #c0c0e0;
}

.log-table {
    width: 100%;
    border-collapse: collapse;
}

.log-table th,
.log-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(128, 128, 192, 0.2);
}

body.dark-theme .log-table th,
body.dark-theme .log-table td {
    border-color: rgba(80, 80, 130, 0.3);
}

.log-table th {
    background: rgba(232, 232, 255, 0.5);
    font-weight: 500;
    color: #404060;
}

body.dark-theme .log-table th {
    background: rgba(40, 40, 70, 0.5);
    color: #c0c0e0;
}

.log-table tr:hover {
    background: rgba(232, 232, 255, 0.3);
}

body.dark-theme .log-table tr:hover {
    background: rgba(50, 50, 80, 0.3);
}

/* 统计卡片 */
.detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.detail-stat {
    background: linear-gradient(135deg, #8080C0 0%, #6060a0 100%);
    color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

body.dark-theme .detail-stat {
    background: linear-gradient(135deg, #5050a0 0%, #303080 100%);
}

.detail-stat-value {
    font-size: 24px;
    font-weight: bold;
}

.detail-stat-label {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px;
    color: #606090;
}

body.dark-theme .loading {
    color: #a0a0c0;
}

/* 响应式 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .main {
        padding: 15px;
    }

    .container {
        padding: 15px;
    }

    .files-list, .files-grid {
        grid-template-columns: 1fr;
    }

    .file-detail-header {
        flex-direction: column;
    }

    .modal-content {
        margin: 15px;
        padding: 20px;
    }
    
    .modal-large {
        max-width: 95%;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .upload-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 13px;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .form-group-inline input,
    .form-group-inline select {
        width: 100%;
        min-width: auto;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .header {
        padding: 10px 12px;
    }
    
    .header h1 {
        font-size: 18px;
    }
    
    .nav {
        gap: 5px;
    }
    
    .nav a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .main {
        padding: 10px;
    }
    
    .container {
        padding: 10px;
    }
    
    .modal-content {
        margin: 10px;
        padding: 15px;
    }
    
    .files-list, .files-grid {
        gap: 10px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 8px;
        font-size: 14px;
    }
    
    .upload-layout {
        gap: 15px;
    }
    
    .section {
        padding: 15px;
    }
    
    .section-title {
        font-size: 16px;
    }
}
