/* ==========================================
   SVG Wave & Blob Generator Page Stylesheet
   File Location: css/svg-generator.css
   ========================================== */

.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-box-container.svg-tool-layout {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* Tab Switcher */
.mode-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 8px;
}

.mode-btn {
    flex: 1;
    padding: 0.65rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* SVG Live Preview Box */
.svg-preview-box {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
    transition: background-color 0.2s ease;
}

#svg-output {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#svg-output svg {
    width: 100%;
    height: 100%;
}

/* Controls Layout */
.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .controls-grid {
        grid-template-columns: 1fr;
    }
}

.control-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-picker-wrapper input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 40px;
    height: 38px;
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

.color-picker-wrapper input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #334155;
    background: #f8fafc;
    text-transform: uppercase;
}

.control-group input[type="range"] {
    width: 100%;
    accent-color: #2563eb;
    cursor: pointer;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}
.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #64748b;
    color: #ffffff;
}
.btn-secondary:hover {
    background: #475569;
}

.btn-success {
    background: #10b981;
    color: #ffffff;
}
.btn-success:hover {
    background: #059669;
}

/* SEO Article Styles */
.seo-article-container {
    max-width: 800px;
    margin: 3rem auto;
    line-height: 1.7;
    color: #334155;
}

.seo-article-container h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.seo-article-container h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-top: 1.5rem;
}

.seo-article-container ul, 
.seo-article-container ol {
    padding-left: 1.25rem;
}

.faq-section {
    margin-top: 2rem;
}

.faq-section h3 {
    font-size: 1.4rem;
    color: #0f172a;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.faq-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.faq-item p {
    margin: 0;
    font-size: 0.95rem;
}