/* Layout & Structural Grid Setup */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Master Button Formatting */
.btn {
    padding: 12px 24px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: white;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Typography Optimization */
.subtitle {
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    color: #4a5568 !important;
    margin-top: 10px !important;
    margin-bottom: 25px !important;
}

.card h2 {
    font-weight: 800 !important;
    font-size: 2.2rem !important;
    color: var(--primary) !important;
}

.card span {
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: #2d3748 !important;
}

/* Advanced Drag & Drop Zone Styling */
.drop-zone {
    border: 2px dashed #cbd5e0 !important;
    background: #f7fafc;
    padding: 45px 20px;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.drop-zone.drag-active {
    border-color: var(--primary) !important;
    background: #ebf8ff;
    box-shadow: inset 0 0 10px rgba(66, 153, 225, 0.15);
}

.upload-icon {
    width: 52px;
    height: 52px;
    color: var(--primary);
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.drop-zone:hover .upload-icon {
    transform: translateY(-3px);
}

.prompt-text {
    font-weight: 700;
    font-size: 16px;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.prompt-subtext {
    font-size: 13px;
    font-weight: 600;
    color: #a0aec0;
}

/* Preview Wrapper CSS */
.preview-container img {
    max-width: 100%;
    max-height: 260px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.image-meta-badge {
    background: #2d3748;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

/* Control Elements */
.control-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.control-label {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
}

.professional-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    background: #fff;
    color: #4a5568;
    cursor: pointer;
    outline: none;
}

.professional-select:focus {
    border-color: var(--primary);
}

.slider-wrapper {
    padding-top: 10px;
}

.professional-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 7px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}

.professional-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.1s;
}

.professional-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* ⚡ LOGO SIZE SYNC WITH MOBILE.CSS ⚡ */
.site-logo-custom {
    height: 58px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: height 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .site-logo-custom {
        height: 44px !important;
    }
    .seo-content {
        padding: 0 20px !important;
    }
}

@media (max-width: 576px) {
    .subtitle {
        font-size: 15px !important;
        font-weight: 600 !important;
    }
    .control-panel-grid {
        grid-template-columns: 1fr !important;
    }
    .btn {
        width: 100%;
    }
}