/* ==========================================================================
   DESIGNER ENGINE SUITE - PREMIUM FINE TUNING SYSTEM WITH NUDGE CONTROLS
   ========================================================================== */

:root {
    --bg-main: #f4f6f9;
    --panel-bg: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --accent-blue: #2563eb;
    --accent-hover: #1d4ed8;
    --border-color: #e2e8f0;
    --radius: 12px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-main);
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    overflow-x: hidden;
}

header {
    background: #0f172a;
    color: #fff;
    padding: 15px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
header h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
header p { margin: 4px 0 0 0; font-size: 13px; color: #94a3b8; }

.wrapper {
    display: grid;
    grid-template-columns: 1fr 440px;
    max-width: 1650px;
    margin: 20px auto;
    padding: 0 20px;
    gap: 25px;
    box-sizing: border-box;
}

.canvas-zone {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--panel-bg);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    overflow: hidden;
}

.canvas-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.canvas-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.canvas-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

#mini-canvas-container {
    background: #f8fafc;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: inline-block;
}

canvas {
    border-radius: 6px;
    background: #fff;
    display: block;
    max-width: 100%;
    max-height: 55vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

#miniCanvas {
    width: 120px;
    height: 120px;
}

.canvas-quick-actions {
    display: flex;
    gap: 10px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.canvas-quick-actions button {
    flex: 1;
    padding: 10px;
    background: #64748b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}
.canvas-quick-actions button:hover { background: #475569; }

.controls-sidebar {
    background: var(--panel-bg);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    border: 1px solid var(--border-color);
}

.control-group {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 18px;
}
.control-group:last-child { border: none; margin: 0; padding: 0; }

label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-dark);
}

select, input[type="text"], input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 13px;
    background-color: #fff;
    color: var(--text-dark);
    transition: all 0.2s;
}

.slider-box {
    display: flex;
    align-items: center;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}
.slider-box span:first-child { width: 100px; font-weight: 500; color: var(--text-dark); }
.slider-box input[type="range"] { 
    flex: 1; 
    margin: 0 10px; 
    cursor: pointer;
    accent-color: var(--accent-blue);
}
.val-tag { width: 50px !important; text-align: right; font-weight: 600; color: var(--accent-blue); }

/* 🆕 कस्टमाइज्ड नज़ कंट्रोल पैड डिजाइन */
.nudge-control-pad {
    margin-top: 15px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nudge-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}
.nudge-buttons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.nudge-buttons button {
    flex: 1;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s ease;
    user-select: none;
}
.nudge-buttons button:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
}
.nudge-buttons button:active {
    background: #cbd5e1;
    transform: translateY(0);
}

.bg-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0;
}
.thumb-option {
    width: 65px;
    height: 65px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.2s ease;
}
.thumb-option:hover { transform: translateY(-2px); border-color: #cbd5e1; }
.thumb-option.active {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.text-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
}
.text-tab {
    flex: 1;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}
.text-tab.active {
    background: #fff;
    color: var(--accent-blue);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.text-style-row { display: flex; gap: 10px; margin: 10px 0; }
.text-style-row select { flex: 1; }

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.download-zone { display: flex; flex-direction: column; gap: 10px; }
.btn-download {
    width: 100%;
    padding: 12px;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.webp-btn { background: var(--accent-blue); }
.jpeg-btn { background: #10b981; }
.png-btn { background: #475569; }

/* 📢 AdSense Ad Container (कैनवस के नीचे) */
.ad-container {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

/* 🌐 फुटर - चैनल प्रमोशन */
.site-footer {
    margin-top: 30px;
    padding: 35px 20px 25px;
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
}
.footer-heading {
    font-size: 14px;
    margin: 0 0 16px 0;
    color: #f1f5f9;
    font-weight: 600;
}
.telegram-cta {
    display: inline-block;
    background: #229ED9;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.5);
    animation: pulse-telegram 2s infinite;
    transition: transform 0.2s ease;
}
.telegram-cta:hover { transform: translateY(-2px); }
@keyframes pulse-telegram {
    0% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(34, 158, 217, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 158, 217, 0); }
}
.footer-sub-links {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-sub-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-sub-links a:hover { color: #fff; }
.footer-copy {
    margin: 22px 0 0 0;
    font-size: 11px;
    color: #475569;
}

@media (max-width: 1100px) {
    .wrapper { grid-template-columns: 1fr; gap: 20px; }
    .controls-sidebar { width: 100%; }
}


/* Style for seo containe by vishal */
/* SEO Content Section */

.seo-content{
    background:#ffffff;
    margin:35px 0;
    padding:35px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.seo-content h2{
    font-size:30px;
    color:#0f172a;
    margin:0 0 20px;
    font-weight:700;
}

.seo-content h3{
    font-size:22px;
    color:#1e40af;
    margin:30px 0 15px;
    font-weight:600;
}

.seo-content p{
    font-size:16px;
    line-height:1.9;
    color:#4b5563;
    margin:0 0 18px;
}

@media (max-width:768px){

.seo-content{
    padding:20px;
}

.seo-content h2{
    font-size:24px;
}

.seo-content h3{
    font-size:20px;
}

.seo-content p{
    font-size:15px;
    line-height:1.8;
}

}

/* end of Style for seo containe by vishal */