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

    background: #0a0a0a;
    padding: 3xl 0;
    text-align: center;
    border-bottom: 1px solid #374151;
}

.hero .tagline {
    font-size: 18px;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 12px;
}

.hero .description {
    font-size: 16px;
    color: #d1d5db;
    line-height: 24px;
    max-width: 600px;
    margin: 0 auto;
}

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

.tool-container {
    padding: 48px 0;
    min-height: calc(100vh - 200px);
}

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

.settings-row {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    align-items: end;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-group label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.setting-group input[type="text"] {
    background: #141414;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    width: 200px;
}

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

.setting-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    margin-right: 8px;
}

.setting-group label:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: center;
}

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

.input-group label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

#json-input {
    background: #141414;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 240px;
}

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

#json-input::placeholder {
    color: #6b7280;
}

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

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

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

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

.button.primary:hover:not(:disabled) {
    background: #2563eb;
}

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

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

.button.secondary:hover:not(:disabled) {
    background: #374151;
}

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

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

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

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

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

.output-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0;
}

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

.code-output {
    background: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e5e7eb;
    overflow-x: auto;
    white-space: pre-wrap;
    margin: 0;
    min-height: 120px;
}

.pro-section {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #374151;
}

.pro-section h4 {
    font-size: 18px;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 16px;
}

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

.pro-options label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #d1d5db;
    cursor: pointer;
}

.pro-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    border-radius: 4px;
}

.pro-options input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pro-options label:has(input:disabled) {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    background: #7f1d1d;
    border: 1px solid #dc2626;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.error-content {
    color: #fca5a5;
}

.error-content strong {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.error-content p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
        padding: 32px 0;
    }
    
        font-size: 28px;
        line-height: 36px;
    }
    
    .hero .tagline {
        font-size: 16px;
    }
    
    .tool-container {
        padding: 32px 0;
    }
    
    .settings-row {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .setting-group input[type="text"] {
        width: 100%;
    }
    
    .input-actions {
        flex-direction: column;
    }
    
    .button {
        width: 100%;
        justify-content: center;
    }
    
    .output-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .output-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .pro-cta-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .pro-cta-bar .button {
        width: 100%;
        max-width: 300px;
    }
}