* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #7c3aed;
    --accent: #f472b6;
    --bg-dark: #0a0e1a;
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(0, 212, 255, 0.2);
    --border-hover: rgba(0, 212, 255, 0.5);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(0, 212, 255, 0.1), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(244, 114, 182, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.main-content {
    padding: 40px 0;
}

.hero-section {
    text-align: center;
    padding: 40px 0 60px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: 28px;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 20px;
}

.install-notice {
    margin-bottom: 40px;
}

.notice-card {
    background: var(--bg-card);
    border: 1px solid var(--warning);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.notice-icon {
    font-size: 40px;
}

.notice-content {
    flex: 1;
}

.notice-content h3 {
    margin-bottom: 4px;
    color: var(--warning);
}

.notice-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.upload-section {
    margin-bottom: 40px;
}

.upload-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.upload-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 25px 50px -12px rgba(0, 212, 255, 0.2);
}

.upload-card.login-required {
    text-align: center;
    padding: 60px 40px;
}

.login-required-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--primary);
}

.login-required h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.login-required p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

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

.upload-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.upload-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 212, 255, 0.02);
    margin-bottom: 24px;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
    transform: scale(1.01);
}

.upload-icon {
    font-size: 60px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upload-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.upload-content p {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.upload-tip {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    margin-top: 8px;
}

.upload-settings {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.setting-group {
    flex: 1;
    min-width: 200px;
}

.setting-group.full-width {
    flex: 100%;
}

.setting-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.select-input,
.text-input,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.select-input:focus,
.text-input:focus,
input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 16px;
}

.result-section {
    margin-bottom: 40px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease;
}

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

.result-header {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.result-header.success {
    background: rgba(16, 185, 129, 0.1);
}

.result-icon {
    font-size: 28px;
}

.result-header h2 {
    font-size: 18px;
    color: var(--success);
}

.result-body {
    padding: 30px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.file-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 1px solid var(--border);
}

.file-details {
    flex: 1;
}

.file-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    word-break: break-all;
}

.file-size {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 2px;
}

.file-expire {
    color: var(--success);
    font-size: 13px;
}

.link-group {
    margin-bottom: 24px;
}

.link-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.link-input-group {
    display: flex;
    gap: 10px;
}

.link-input-group input {
    flex: 1;
    font-family: monospace;
    font-size: 13px;
}

.actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.progress-section {
    margin-bottom: 40px;
}

.progress-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

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

.progress-header h3 {
    font-size: 16px;
}

#progressPercent {
    color: var(--primary);
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(30px); }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

#progressFileName {
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.features-section {
    padding: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.site-footer a {
    color: var(--primary);
    text-decoration: none;
}

.download-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.download-container {
    padding: 40px 20px;
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease;
}

.download-card .file-icon {
    width: 80px;
    height: 80px;
    font-size: 40px;
    margin: 0 auto 20px;
}

.file-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    word-break: break-all;
}

.file-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
}

.meta-item {
    text-align: left;
}

.meta-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
}

.meta-item.highlight .meta-value {
    color: var(--success);
}

.file-description {
    padding: 16px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    margin-bottom: 24px;
    border-left: 3px solid var(--secondary);
    text-align: left;
}

.file-description p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.btn-download {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    margin-bottom: 16px;
}

.download-tip {
    font-size: 12px;
    color: var(--text-muted);
}

.powered-by {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
}

.powered-by a {
    color: var(--primary);
    text-decoration: none;
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.error-container {
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.error-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 450px;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.error-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.error-message {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    padding: 40px 20px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease;
}

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

.login-header .logo {
    justify-content: center;
    margin-bottom: 12px;
}

.login-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.login-form .form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--primary);
}

.install-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-dark);
}

.install-container {
    padding: 40px 20px;
    width: 100%;
    max-width: 500px;
}

.install-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

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

.install-header .logo {
    justify-content: center;
    margin-bottom: 12px;
}

.install-header h1 {
    font-size: 22px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.install-form .form-group {
    margin-bottom: 18px;
}

.install-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.install-info h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.install-info ul {
    list-style: none;
    padding: 0;
}

.install-info li {
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.install-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.install-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.install-actions .btn {
    flex: 1;
}

.admin-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-main {
    padding: 30px 0;
}

.stats-section {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 1px solid var(--border);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.files-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.section-header h2 {
    font-size: 18px;
}

.file-count {
    font-size: 13px;
    color: var(--text-muted);
}

.files-table-container {
    overflow-x: auto;
}

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

.files-table th,
.files-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.files-table th {
    background: rgba(0, 212, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.files-table td {
    color: var(--text-primary);
}

.files-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.03);
}

.file-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 250px;
}

.cell-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.cell-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.files-table code {
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.status-badge.expired {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.action-btns {
    display: flex;
    gap: 6px;
}

.action-btn {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-btn.view {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.action-btn.view:hover {
    background: rgba(0, 212, 255, 0.2);
}

.action-btn.delete {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

.action-btn.copy {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border: none;
    cursor: pointer;
}

.action-btn.copy:hover {
    background: rgba(16, 185, 129, 0.2);
}

.action-btn.logs {
    color: var(--secondary);
    background: rgba(124, 58, 237, 0.1);
}

.action-btn.logs:hover {
    background: rgba(124, 58, 237, 0.2);
}

.logs-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.logs-filter {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(0, 212, 255, 0.03);
}

.filter-form {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.filter-select {
    max-width: 300px;
}

.filter-clear {
    white-space: nowrap;
}

.location-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
}

.referer-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: monospace;
}

.text-muted {
    color: var(--text-muted);
    font-size: 12px;
}

.logs-table {
    min-width: 800px;
}

.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: toastFadeIn 0.3s ease;
}

@keyframes toastFadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.empty-row {
    text-align: center;
    padding: 60px 20px !important;
    color: var(--text-muted) !important;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    border-top: 1px solid var(--border);
}

.page-btn {
    padding: 8px 14px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: white;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-sub {
        font-size: 20px;
    }
    
    .upload-card {
        padding: 24px;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .upload-settings {
        flex-direction: column;
    }
    
    .result-body {
        padding: 20px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .file-meta {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}
