/* Tool-specific overrides */
/* Dropzone styles moved to global style.css */

/* Progress Section */
.progress-section {
    display: none;
    padding: 24px;
    background: var(--dropzone-bg);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.progress-section.visible {
    display: block;
}

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

.progress-bar-track {
    height: 8px;
    background: var(--tag-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.3s ease;
}

/* Output Section */
.output-section {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.output-section.visible {
    display: flex;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.output-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.output-actions {
    display: flex;
    gap: 8px;
}

.view-tabs {
    display: flex;
    background: var(--bg-color);
    padding: 4px;
    border-radius: 8px;
    gap: 2px;
}

.view-tab {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.view-tab.active {
    background: var(--card-bg);
    color: var(--text-main);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.output-content {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    padding: 24px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.output-content pre {
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
}

.stats-bar {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 12px 16px;
    background: var(--dropzone-bg);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

/* File Info */
.file-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--card-bg);
    margin-bottom: 24px;
}

.file-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-color);
}

.file-meta {
    flex: 1;
}

.file-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

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

.hidden {
    display: none !important;
}

.output-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
    color: var(--text-tertiary);
}

/* Mobile Layout Optimizations */
@media (max-width: 640px) {
    .app-shell {
        padding-left: 0;
        padding-right: 0;
        padding-top: 20px;
    }

    .tool-container {
        padding: 0;
        max-width: 100% !important;
    }

    .card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 20px !important;
    }

    .guide-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-top: 24px;
    }

    .hero-compact {
        margin-bottom: 4px !important;
        padding: 0;
    }

    .hero-compact h1 {
        font-size: 1.75rem;
        margin-bottom: 6px;
        padding: 0 16px;
    }

    .hero-compact p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 16px;
    }
}