/* PDF Compressor - Dark Theme Styles (matching app.py) */

:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;
    --border-radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(at 40% 20%, rgba(102, 126, 234, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(118, 75, 162, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(102, 126, 234, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(118, 75, 162, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(102, 126, 234, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(118, 75, 162, 0.15) 0px, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Logo Image */
.logo-img {
    height: 120px;
    width: auto;
}

.logo-img-small {
    height: 50px;
    width: auto;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Price Badge */
.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    font-weight: bold;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Upload Section */
.upload-section {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.upload-header {
    text-align: center;
    margin-bottom: 2rem;
}

.upload-header h2 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.upload-header p {
    color: var(--text-secondary);
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.file-input {
    display: none;
}

.drop-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.drop-icon {
    font-size: 3rem;
}

.drop-text {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.drop-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* File List */
.file-list {
    margin-top: 1.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.file-number {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    min-width: 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.file-name {
    color: var(--text-primary);
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
}

.file-actions {
    display: flex;
    gap: 0.25rem;
}

.file-remove,
.file-move {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-remove:hover {
    color: var(--error);
    background: rgba(220, 53, 69, 0.1);
}

.file-move:hover {
    color: var(--accent-primary);
    background: rgba(102, 126, 234, 0.1);
}

/* Merge Info */
.merge-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    text-align: center;
}

.merge-info-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.merge-info-highlight {
    color: var(--accent-primary);
    font-weight: bold;
}

/* Controls */
.controls {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.target-size-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.target-size-control label {
    color: var(--text-primary);
}

.target-size-control input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    appearance: none;
    -webkit-appearance: none;
}

.target-size-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--accent-secondary);
    cursor: pointer;
}

.target-size-control input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--accent-secondary);
    cursor: pointer;
}

.target-display {
    font-weight: 600;
    min-width: 60px;
    color: var(--text-primary);
}

/* Analysis Result */
.analysis-result {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-result.warning {
    border-left: 4px solid var(--warning);
    background: rgba(255, 193, 7, 0.15);
}

.analysis-result.error {
    border-left: 4px solid var(--error);
    background: rgba(220, 53, 69, 0.15);
}

.analysis-result.success {
    border-left: 4px solid var(--success);
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    flex: 1;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-download {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

/* Mercado Pago Button */
.mp-button {
    background: linear-gradient(135deg, #009ee3 0%, #00b4d8 100%) !important;
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    display: block;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 158, 227, 0.4);
    transition: all 0.3s ease;
    width: 100%;
}

.mp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.5);
    color: white !important;
    text-decoration: none !important;
}

/* Progress Section */
.progress-section {
    margin-top: 2rem;
}

.progress-container {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 24px;
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: var(--text-secondary);
}

.upload-progress {
    padding: 0.75rem;
    width: 100%;
}

.upload-progress-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.upload-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.upload-item .progress-bar {
    height: 8px;
    margin-bottom: 0.5rem;
}

.progress-filename {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.25rem;
}

/* Result Section */
.result-container {
    text-align: center;
    padding: 2rem;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

/* Stat Cards */
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Success Header */
.success-header {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-header h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.success-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Payment Box */
.payment-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 1rem 0;
}

.payment-box h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.payment-box p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Download Section */
.download-section {
    margin: 2rem 0;
}

/* Info Box */
.info-box {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.info-box p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.info-box.warning {
    border-color: var(--warning);
    background: rgba(255, 193, 7, 0.1);
}

/* Instructions / Steps */
.instructions {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.instructions h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Step styling (matching app.py) */
.step {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    margin: 0.5rem 0;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.step-number {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.step-text {
    color: var(--text-primary);
    font-size: 1rem;
}

/* Disclaimer Box */
.disclaimer-box {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.disclaimer-box strong {
    color: var(--text-primary);
}

.disclaimer-box span {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact {
    margin-top: 0.5rem;
}

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

.footer-contact a:hover {
    text-decoration: underline;
}

/* Alert messages */
.alert {
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
}

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

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

.alert-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Trust Strip (simplified) */
.trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin: 1.5rem 0;
}

.trust-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* Responsive */

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    .logo {
        font-size: 2rem;
    }

    .logo-img {
        height: 90px;
    }

    .logo-img-small {
        height: 40px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .trust-strip {
        flex-direction: column;
        gap: 0.25rem;
    }

    .trust-divider {
        display: none;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .result-stats {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }
}

/* Social Proof Section */
.social-proof {
    margin: 2rem 0;
    text-align: center;
}

.social-proof-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.counter-icon {
    font-size: 1.25rem;
}

.counter-text strong {
    color: var(--text-primary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Why Choose Us Section */
.why-us {
    margin: 1rem 0 2rem;
    text-align: center;
}

.why-us h3 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

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

.feature {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: justify;
}

/* Minimal Header for transaction pages */
.header-minimal {
    padding: 1rem 0;
    margin-bottom: 1rem;
    text-align: center;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--accent-primary);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.25rem 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Launch Promotion Banner */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 1.5rem;
}

.promo-text {
    color: white;
    font-size: 1rem;
    text-align: center;
}

.promo-text strong {
    font-weight: 700;
}

.countdown {
    display: flex;
    gap: 0.5rem;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    text-align: center;
    min-width: 50px;
}

.countdown-value {
    display: block;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.countdown-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.promo-banner.hidden {
    display: none;
}

body.has-promo-banner {
    padding-top: 70px;
}

/* Discount type promo - orange gradient */
.promo-banner.promo-discount {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

/* Custom type promo - green gradient */
.promo-banner.promo-custom {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

@media (max-width: 600px) {
    .promo-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-icon {
        display: none;
    }

    .countdown-item {
        min-width: 40px;
        padding: 0.3rem 0.4rem;
    }

    .countdown-value {
        font-size: 1rem;
    }

    body.has-promo-banner {
        padding-top: 110px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;  /* Hidden by default - use display: flex to show */
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;  /* Show with flex when active */
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-warning {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-left: 4px solid var(--warning);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #ffc107;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-actions .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
}

.modal-file-info {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.modal-file-name {
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-all;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-actions {
        gap: 0.5rem;
    }
}
