* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5a6fd6;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --danger-dark: #dc2626;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

svg {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    z-index: -1;
}

.particles-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content h1 svg {
    width: 36px;
    height: 36px;
}

.welcome-text {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.logout-form {
    display: flex;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-logout svg {
    width: 18px;
    height: 18px;
}

.site-header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    padding: 40px 20px;
}

.site-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 6s ease-in-out infinite;
}

.site-subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 2px;
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.visitor-card, .admin-card {
    flex: 1;
    min-width: 320px;
    max-width: 420px;
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.admin-card .card-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.3);
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.card h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: relative;
    padding: 0 20px;
}

.divider span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

@media (max-width: 900px) {
    .divider::before, .divider::after {
        display: none;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group.focused label {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-primary);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, var(--danger-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover:not(:disabled) {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-submit {
    margin-top: 10px;
}

.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
    opacity: 0.7;
}

.success-message, .error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.success-message.show, .error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.success-message svg {
    width: 22px;
    height: 22px;
    color: var(--success-color);
}

.error-message {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.error-message svg {
    width: 22px;
    height: 22px;
    color: var(--danger-color);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.section-card {
    animation: fadeInUp 0.5s ease forwards;
}

.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.section-header h2 svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    margin-top: 12px;
    color: var(--warning-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 80px;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.file-upload-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
}

.file-upload-area svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    transition: var(--transition);
}

.file-upload-area:hover svg {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.upload-text {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.upload-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.file-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.file-info-icon svg {
    width: 22px;
    height: 22px;
}

.file-info-text {
    flex: 1;
    min-width: 0;
}

.file-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.file-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.file-remove svg {
    width: 20px;
    height: 20px;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.file-item:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.file-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    color: white;
    flex-shrink: 0;
}

.file-item-icon svg {
    width: 18px;
    height: 18px;
}

.file-item-info {
    flex: 1;
    min-width: 0;
}

.file-item-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-item-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.download-btn {
    flex-shrink: 0;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin: 0;
}

.tabs-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-bottom: 30px;
}

.tabs-nav {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    width: 80%;
}

.tab-btn svg {
    width: 20px;
    height: 20px;
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.tab-content {
    padding: 30px;
}

.tab-panel {
    display: none;
    animation: slideIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

.admin-files-list {
    overflow-x: auto;
}

.files-table-header, .file-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr 1.5fr 1.2fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
}

@media (max-width: 1200px) {
    .files-table-header, .file-row {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

.files-table-header {
    background: var(--bg-gray);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-row {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.file-row:last-child {
    border-bottom: none;
}

.file-row:hover {
    background: var(--bg-light);
}

.file-row.visitor-upload {
    background: rgba(245, 158, 11, 0.05);
}

.file-row.visitor-upload:hover {
    background: rgba(245, 158, 11, 0.1);
}

.col-name {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.col-name .file-item-name {
    font-size: 0.95rem;
}

.visitor-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 2px solid;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.8rem;
    background: transparent;
}

.toggle-btn.visible {
    color: var(--success-color);
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.toggle-btn.visible:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.toggle-btn.hidden {
    color: var(--text-secondary);
    border-color: var(--text-muted);
    background: rgba(156, 163, 175, 0.1);
}

.toggle-btn.hidden:hover {
    background: rgba(156, 163, 175, 0.2);
    transform: translateY(-2px);
}

.toggle-btn svg {
    width: 14px;
    height: 14px;
}

.col-actions {
    display: flex;
    gap: 8px;
}

.inline-form {
    display: inline;
}

.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.submission-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.submission-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.submission-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.submission-id {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.submission-date, .submission-ip {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.submission-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.submission-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.submission-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 100px;
    flex-shrink: 0;
}

.submission-value {
    color: var(--text-primary);
    word-break: break-word;
    flex: 1;
}

.submission-file-path {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.submission-actions {
    display: flex;
    justify-content: flex-end;
}

.contact-item-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
    animation: fadeInUp 0.3s ease;
}

@media (max-width: 768px) {
    .contact-item-row {
        grid-template-columns: 1fr;
    }
}

.remove-contact-btn {
    margin-top: 30px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

.texts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.text-item-row {
    margin-bottom: 8px;
}

.password-strength {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.strength-bar {
    height: 6px;
    background: var(--bg-gray);
    border-radius: 3px;
    overflow: hidden;
    transition: var(--transition);
    width: 0;
}

.strength-bar.weak {
    background: var(--danger-color);
}

.strength-bar.medium {
    background: var(--warning-color);
}

.strength-bar.strong {
    background: var(--success-color);
}

.strength-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.password-match {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
}

.password-match.match {
    color: var(--success-color);
}

.password-match.nomatch {
    color: var(--danger-color);
}

.site-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.admin-container {
    max-width: 1400px;
}

.admin-header {
    margin-bottom: 24px;
}

.upload-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .site-subtitle {
        font-size: 1rem;
    }
    
    .card {
        padding: 28px 22px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .tab-btn {
        padding: 14px 18px;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.2rem;
    }
    
    .files-table-header {
        display: none;
    }
    
    .file-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .file-row > div::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-secondary);
        font-size: 0.8rem;
        margin-bottom: 4px;
        display: block;
    }
    
    .col-actions {
        justify-content: flex-start;
    }
    
    .submission-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
