/* Tool-specific styles only - base styles are in tool-layout.css */

.tool-main {
    margin-top: 60px; /* Required top margin for proper nav spacing */
    background: #0a0a0a;
    min-height: calc(100vh - 60px);
}

.tool-header {
    text-align: center;
    padding: 48px 24px;
    background: #0a0a0a;
    border-bottom: 1px solid #374151;
}

.tool-header h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.tool-tagline {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #e5e7eb;
    margin: 0;
}

.tool-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.input-section {
    padding: 32px 0;
    border-bottom: 1px solid #374151;
}

.upload-area {
    margin-bottom: 32px;
}

.upload-zone {
    background: #0a0a0a;
    border: 2px dashed #374151;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: all 150ms ease;
}

.upload-zone:hover {
    border-color: #3b82f6;
    background: #141414;
}

.upload-zone.drag-active {
    border-color: #3b82f6;
    background: #1e3a8a;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.upload-icon {
    opacity: 0.6;
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
    color: #e5e7eb;
    margin: 0;
}

.upload-hint {
    font-size: 14px;
    font-weight: 400;
    color: #9ca3af;
    margin: 0;
}

.controls-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.control-group {
    position: relative;
}

.control-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 12px;
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 150ms ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.button.primary {
    background: #3b82f6;
    color: #ffffff;
}

.button.primary:hover {
    background: #2563eb;
}

.button.primary:active {
    background: #1d4ed8;
}

.button.secondary {
    background: #1a1a1a;
    color: #e5e7eb;
    border: 1px solid #374151;
}

.button.secondary:hover {
    background: #374151;
}

.button.success {
    background: #059669;
    color: #ffffff;
}

.button.success:hover {
    background: #047857;
}

.button.pro {
    color: #0a0a0a;
    font-weight: 600;
}

.button.pro:hover {
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.pro-feature {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.pro-feature.unlocked {
    opacity: 1;
    pointer-events: auto;
}

.pro-badge {
    position: absolute;
    top: -8px;
    right: 0;
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 16px;
}

.input-with-unit input[type="range"] {
    flex: 1;
    height: 4px;
    background: #374151;
    border-radius: 2px;
    outline: none;
    appearance: none;
}

.input-with-unit input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}

.input-with-unit input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
}

.unit {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    min-width: 40px;
}

.pro-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #e5e7eb;
    cursor: pointer;
}

.pro-input {
    opacity: 0.5;
    pointer-events: none;
}

.pro-feature.unlocked .pro-input {
    opacity: 1;
    pointer-events: auto;
}

.batch-upload {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.batch-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.batch-item {
    padding: 12px;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #e5e7eb;
}

.output-section {
    padding: 32px 0;
}

.preview-container {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
}

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

.preview-header h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    color: #d1d5db;
    margin: 0;
}

.preview-info {
    font-size: 14px;
    color: #9ca3af;
}

.preview-area {
    margin-bottom: 24px;
    text-align: center;
    background: #0a0a0a;
    border-radius: 6px;
    padding: 16px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.pro-cta-section {
    padding: 48px 0;
    text-align: center;
}

.pro-cta-card {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    margin: 0 auto;
}

.pro-cta-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.pro-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pro-feature-item {
    font-size: 15px;
    color: #e5e7eb;
    padding: 8px 0;
    border-bottom: 1px solid #374151;
}

.pro-feature-item:last-child {
    border-bottom: none;
}

.bug-report {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .tool-header {
        padding: 32px 16px;
    }

    .tool-header h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .tool-container {
        padding: 0 16px;
    }

    .upload-zone {
        padding: 32px 16px;
    }

    .button-group {
        flex-direction: column;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .input-with-unit {
        flex-direction: column;
        align-items: stretch;
    }

    .unit {
        text-align: center;
        min-width: auto;
    }

    .bug-report {
        bottom: 20px;
        left: 20px;
        right: auto;
    }
}