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

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

.tool-main {
    margin-top: 60px;
    padding-bottom: 120px;
}

.tool-header {
    text-align: center;
    margin-bottom: 48px;
}

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

.tool-tagline {
    font-size: 16px;
    color: #9ca3af;
    margin: 0;
    font-weight: 400;
}

.input-section,
.output-section,
.batch-section {
    margin-bottom: 48px;
}

.input-group {
    margin-bottom: 32px;
}

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

.text-input {
    width: 100%;
    background: #141414;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
    transition: border-color 150ms ease;
}

.text-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.text-input::placeholder {
    color: #6b7280;
}

.text-input:disabled {
    background: #0a0a0a;
    color: #6b7280;
    cursor: not-allowed;
}

.options-group,
.pro-options-group {
    margin-bottom: 32px;
}

.options-title {
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    cursor: pointer;
    transition: all 150ms ease;
}

.radio-option:hover:not(.pro-disabled .radio-option) {
    background: #1a1a1a;
    border-color: #3b82f6;
}

.radio-option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    margin-top: 2px;
}

.radio-option input[type="radio"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.radio-label {
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 4px;
}

.radio-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.4;
}

.pro-options-group {
    position: relative;
}

.pro-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.pro-badge {
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.pro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.upgrade-btn {
    color: #0a0a0a;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.upgrade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 150ms ease;
    flex: 1;
}

.btn-secondary {
    background: #1a1a1a;
    color: #e5e7eb;
    border: 1px solid #374151;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 150ms ease;
}

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

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #d1d5db;
    margin: 0;
}

.btn-copy {
    background: #059669;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.btn-copy:hover:not(:disabled) {
    background: #047857;
}

.btn-copy:disabled {
    background: #374151;
    color: #6b7280;
    cursor: not-allowed;
}

.output-container {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    min-height: 200px;
    position: relative;
}

.output-text-area {
    padding: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #e5e7eb;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.empty-state {
    color: #6b7280;
    font-style: italic;
    text-align: center;
    padding: 48px 24px;
}

.batch-section {
    position: relative;
}

.pro-feature {
    opacity: 0.8;
}

.section-header {
    margin-bottom: 24px;
}

.section-description {
    font-size: 14px;
    color: #9ca3af;
    margin: 4px 0 0 0;
}

.batch-input-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.batch-output {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.batch-output h4 {
    font-size: 16px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 16px 0;
}

.batch-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.batch-result-item {
    background: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #e5e7eb;
}

.btn-download {
    background: #059669;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 150ms ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-download:hover:not(:disabled) {
    background: #047857;
}

.btn-download:disabled {
    background: #374151;
    color: #6b7280;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tool-container {
        padding: 0 16px;
    }
    
    .tool-main {
        margin-top: 60px;
        padding-bottom: 100px;
    }
    
    .tool-header h1 {
        font-size: 32px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .output-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .bug-report-btn {
        bottom: 20px;
        left: 20px;
        right: auto;
    }
    
    .batch-input-area {
        gap: 12px;
    }
}