@import url('https://fonts.googleapis.com/css2?family=K2D:wght@400;600;700;800&family=League+Spartan:wght@400;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --yt-bg: #05050f;
    --yt-panel: #0b132b;
    --yt-blue: #a95dff;
    --yt-blue-hover: #9333ea;
    --yt-border: rgba(169, 93, 255, 0.25);
    --yt-text: #ffffff;
    --yt-text-secondary: #cbd5e1;
    --yt-radius: 16px;

    --bg-canvas: #05050f;
    --surface-elevated: #0b132b;
    --surface-card: #131622;
    --accent-purple: #a95dff;
    --accent-gold: #faaa1b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

/* Global High-Visibility Placeholder Styling for Form Elements */
::placeholder {
    color: #94a3b8 !important;
    opacity: 0.85 !important;
}
::-webkit-input-placeholder {
    color: #94a3b8 !important;
    opacity: 0.85 !important;
}
::-moz-placeholder {
    color: #94a3b8 !important;
    opacity: 0.85 !important;
}
:-ms-input-placeholder {
    color: #94a3b8 !important;
    opacity: 0.85 !important;
}
input::placeholder, textarea::placeholder, select::placeholder, .form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 0.85 !important;
}

html, body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'League Spartan', 'Outfit', sans-serif;
    background-color: var(--yt-bg);
    color: var(--yt-text);
    scroll-behavior: smooth;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

@keyframes gpMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gp-header-ticker {
    background: linear-gradient(90deg, #2e1065 0%, #4c1d95 50%, #3b0764 100%);
    border-bottom: 1px solid rgba(169, 93, 255, 0.3);
    color: #fff;
    font-size: 0.82rem;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    box-shadow: 0 4px 15px rgba(76, 29, 149, 0.3);
}

.gp-header-ticker-track {
    display: flex;
    width: max-content;
    animation: gpMarquee 28s linear infinite;
}

.gp-header-ticker:hover .gp-header-ticker-track {
    animation-play-state: paused;
}

.gp-header-ticker-content {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    font-family: 'League Spartan', 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffea79;
    padding-right: 20px;
}

.layout-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #05050f;
}

.app-header {
    height: auto !important;
    min-height: 80px;
    background: #0b132b;
    border-bottom: 1px solid var(--yt-border);
    display: flex;
    flex-direction: column;
    padding: 0;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.5rem;
    color: #a95dff;
}

h1 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.subtitle {
    font-size: 0.8rem;
    color: var(--yt-text-secondary);
}

/* Compact Full Screen Main Layout */
.main-content {
    flex: 1;
    display: flex;
    overflow: hidden !important;
    background: #05050f;
    min-height: 0;
}

.panel {
    background: #0b132b;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

#left-panel {
    width: 480px; /* Default width */
    min-width: 320px;
    max-width: 850px;
    border-right: 1px solid var(--yt-border);
    background: #0b132b;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#left-panel .panel-body {
    flex: 1;
    overflow-y: auto !important;
}

#right-panel {
    flex: 1; /* Takes remaining space */
    min-width: 400px;
    background: #070814;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: sticky;
    top: 0;
    overflow: hidden;
}

#right-panel .panel-body {
    flex: 1;
    overflow-y: auto;
}

.panel-header {
    padding: 10px 18px;
    border-bottom: 1px solid var(--yt-border);
    flex-shrink: 0;
    background: #0d1735;
}

.panel-header h2 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.panel-body {
    padding: 12px 18px;
    overflow-y: auto;
    flex: 1;
}

/* Custom Sleek Scrollbar */
.panel-body::-webkit-scrollbar {
    width: 4px;
}
.panel-body::-webkit-scrollbar-thumb {
    background: rgba(169, 93, 255, 0.4);
    border-radius: 10px;
}

/* Resizer Handle */
.resizer {
    width: 6px;
    background: #E5E5E5;
    cursor: col-resize;
    transition: background 0.2s;
    z-index: 10;
    flex-shrink: 0;
}

.resizer:hover, .resizer.dragging {
    background: var(--yt-blue);
}

/* Form Styling */
.input-group {
    margin-bottom: 8px;
}

label {
    display: block;
    margin-bottom: 3px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    font-weight: 700;
    font-family: 'League Spartan', 'Outfit', sans-serif;
}

input, select, textarea {
    width: 100%;
    padding: 8px 12px;
    background: #0b132b;
    border: 1.5px solid rgba(169, 93, 255, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #a95dff;
    box-shadow: 0 0 12px rgba(169, 93, 255, 0.4);
    background: #0d1735;
}

.file-upload-wrapper {
    position: relative;
    border: 1.5px dashed rgba(169, 93, 255, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    font-size: 0.8rem;
    color: #cbd5e1;
    background: #0b132b;
    cursor: pointer;
}

.file-upload-wrapper input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}

.btn-generate, .ve_btn, .btn-primary, button[type="submit"], #generate-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    font-family: 'League Spartan', 'Outfit', sans-serif !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.5) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100%;
    margin-top: 10px;
}

.btn-generate:hover, .ve_btn:hover, .btn-primary:hover, button[type="submit"]:hover, #generate-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.75) !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

/* Output Items */
.output-item {
    margin-bottom: 8px;
}

.output-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.btn-copy {
    background: rgba(169, 93, 255, 0.15) !important;
    border: 1px solid rgba(169, 93, 255, 0.4) !important;
    color: #a95dff !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-copy:hover {
    background: #a95dff !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(169, 93, 255, 0.5) !important;
}

.output-value, textarea.output-value, textarea[readonly], input[readonly] {
    background: #080d1e !important;
    border: 1.5px solid rgba(169, 93, 255, 0.35) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.output-value:focus, textarea.output-value:focus {
    border-color: #a95dff !important;
    box-shadow: 0 0 16px rgba(169, 93, 255, 0.4) !important;
}

/* Loader & Toast */
.loader {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s infinite linear;
}

@keyframes spin { to { transform: rotate(360deg); } }

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #212121;
    color: white;
    padding: 10px 24px;
    font-size: 0.85rem;
    border-radius: 4px;
    z-index: 1000;
}

.hidden { display: none !important; }

/* Media Analysis Status Banner */
.media-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 18px 0 !important;
    padding: 10px 16px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(169, 93, 255, 0.35) !important;
    color: #cbd5e1 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    min-height: 42px !important;
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

/* Spinner pseudo-element, only shown during processing */
.media-status.processing::before {
    content: '';
    flex-shrink: 0;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(169, 93, 255, 0.3);
    border-top-color: #a95dff;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.media-status.processing {
    background: rgba(169, 93, 255, 0.15) !important;
    border-color: rgba(169, 93, 255, 0.6) !important;
    color: #ffea79 !important;
}

.media-status.success {
    background: rgba(52, 211, 153, 0.15) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    color: #34d399 !important;
}

.media-status.error {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    color: #f87171 !important;
}

/* Media Preview */
.media-preview-container {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-card {
    position: relative;
    border-radius: var(--yt-radius);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--yt-border);
}
.preview-card img, .preview-card video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Vertical Shorts Format Overrides */
.video-preview-card {
    aspect-ratio: 9 / 16 !important;
    max-height: 420px;
    max-width: 236px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.video-preview-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.btn-remove-media {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-remove-media:hover {
    background: rgba(255,0,0,0.8);
}

.btn-analyze-media {
    background: #f0f0f0;
    border: 1px solid var(--yt-border);
    border-radius: 18px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.btn-analyze-media:hover {
    background: var(--yt-blue);
    color: white;
    border-color: var(--yt-blue);
}

.btn-analyze-media .btn-icon {
    font-size: 0.9rem;
}



/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    html, body {
        overflow: auto; /* Allow scrolling on mobile */
        height: auto;
    }

    .layout-wrapper {
        height: auto;
        min-height: 100vh;
        display: block; /* Simpler for mobile scroll */
    }

    .main-content {
        display: block; /* Stack naturally */
        overflow: visible;
        background: #F1F1F1;
        padding: 12px 8px; /* Slightly tighter on slim phones */
    }

    #left-panel, #right-panel {
        width: 100% !important;
        max-width: none;
        min-width: 0;
        margin-bottom: 16px; /* Spacing between cards */
        border: 1px solid var(--yt-border);
        border-radius: var(--yt-radius);
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    #left-panel {
        border-right: 1px solid var(--yt-border); /* Re-enable for mobile since it's a card now */
    }

    .panel-body {
        overflow-y: visible; /* Let the container handle scrolling */
        padding: 16px;
    }

    .resizer {
        display: none; /* Hide manual resizer on mobile */
    }

    .app-header {
        padding: 0 16px;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .panel-header {
        padding: 12px 16px;
    }

    /* Better touch targets and readability on mobile */
    input, select, textarea {
        font-size: 1rem;
        padding: 12px;
    }

    label {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    .panel-header h2 {
        font-size: 1.1rem;
    }

    .btn-generate {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .toast {
        width: 90%;
        text-align: center;
        bottom: 16px;
        font-size: 0.95rem;
    }
}

/* ── Analysis Input Source Tabs ── */
.analysis-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.analysis-tab {
    flex: 1;
    background: #f1f3f4;
    border: 1px solid var(--yt-border);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.analysis-tab:hover {
    background: #e2e8f0;
}

.analysis-tab.active {
    background: var(--yt-blue);
    color: white;
    border-color: var(--yt-blue);
    box-shadow: 0 4px 12px rgba(169, 93, 255, 0.4);
}

.tab-credit-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: all 0.2s ease;
    background: #0f172a !important;
    color: #fbbf24 !important;
    border: 1px solid #d97706 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.analysis-tab.active .tab-credit-badge {
    background: #1e1b4b !important;
    color: #ffea79 !important;
    border: 1px solid #faaa1b !important;
}

/* ── Platform-specific hides for output boxes ── */
body.platform-instagram #title-container,
body.platform-instagram #tags-container,
body.platform-facebook #title-container,
body.platform-facebook #tags-container,
body.platform-tiktok #title-container,
body.platform-tiktok #tags-container,
body.platform-twitter #title-container,
body.platform-twitter #tags-container {
    display: none !important;
}

body.platform-instagram #label-description { color: #e1306c; }
body.platform-facebook #label-description { color: #1877f2; }
body.platform-tiktok #label-description { color: #fe2c55; }
body.platform-twitter #label-description { color: #1da1f2; }

/* Expand Description Box to Fully Utilize Panel Space */
#description-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    margin-bottom: 0;
}

#out-description {
    min-height: 380px !important;
    flex: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    resize: vertical !important;
}

body.platform-instagram #description-container,
body.platform-facebook #description-container,
body.platform-tiktok #description-container,
body.platform-twitter #description-container {
    flex: 1;
    min-height: 480px;
}

body.platform-instagram #out-description,
body.platform-facebook #out-description,
body.platform-tiktok #out-description,
body.platform-twitter #out-description {
    min-height: 480px !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
}

/* Dynamic visibility */
.hidden {
    display: none !important;
}

/* Previews Grid for Multi-Photo Uploads */
.previews-grid {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    grid-auto-rows: 90px;
    gap: 8px;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.03);
}
.preview-grid-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    aspect-ratio: 1;
}
.preview-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.btn-remove-media-inline {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff4d4d;
    border-radius: 18px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-media-inline:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
}

/* Tool Switcher Header Styles - Hidden to prevent user confusion */
.tool-switcher {
    display: none !important;
}

.switch-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--yt-text-secondary);
    border-radius: calc(var(--yt-radius) - 2px);
    transition: all 0.2s;
}

.switch-btn:hover {
    color: var(--yt-text);
}

.switch-btn.active {
    background: white;
    color: var(--yt-blue);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Responsive / Mobile Layout Fixes */
@media (max-width: 900px) {
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
    }
    
    .layout-wrapper {
        height: auto !important;
        min-height: 100vh !important;
    }
    
    .app-header {
        flex-direction: column !important;
        height: auto !important;
        padding: 16px !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }
    
    .tool-switcher {
        width: 100% !important;
        justify-content: stretch !important;
    }
    
    .switch-btn {
        flex: 1 !important;
        text-align: center !important;
    }

    .main-content {
        flex-direction: column !important;
        overflow: visible !important;
        height: auto !important;
    }

    .panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    #left-panel {
        border-right: none !important;
        border-bottom: 1px solid var(--yt-border) !important;
    }
    
    .panel-body {
        padding: 16px !important;
        overflow: visible !important;
        max-height: none !important;
        flex: none !important;
    }
}
/* Strategy Selector Options */
.strategy-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.strategy-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.strategy-option:hover {
    background: #f0f7ff;
    border-color: #065fd4;
}

.strategy-option input[type="radio"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.option-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0F0F0F;
}

.option-desc {
    font-size: 0.8rem;
    color: #606060;
    line-height: 1.4;
}

/* Output Cards & Strategy Results Styling */
.output-card {
    background: #0d1735;
    border: 1.5px solid rgba(169, 93, 255, 0.3);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.card-header {
    padding: 14px 22px;
    border-bottom: 1px solid rgba(169, 93, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffea79 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

.card-body {
    padding: 22px;
}

.text-block {
    font-size: 0.95rem;
    color: #f8fafc !important;
    line-height: 1.7;
    white-space: pre-wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px;
    margin: 0;
}

.alt-text-block {
    font-style: italic;
    color: #cbd5e1 !important;
}

.overlay-item-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(169, 93, 255, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    gap: 16px;
    transition: all 0.2s ease;
}

.overlay-item-card:hover {
    border-color: #a95dff;
    background: rgba(169, 93, 255, 0.08);
}

.overlay-content-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.overlay-badge {
    background: linear-gradient(135deg, #a95dff, #6366f1);
    color: #ffffff !important;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(169, 93, 255, 0.4);
}

.overlay-text {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    line-height: 1.5;
}

.btn-copy {
    background: rgba(169, 93, 255, 0.2);
    color: #e2e8f0 !important;
    border: 1px solid rgba(169, 93, 255, 0.4);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    background: #a95dff;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(169, 93, 255, 0.4);
}

.out-heading-style {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(169, 93, 255, 0.4);
}
.out-description-style {
    font-style: normal;
}
/* Margin and image preview helpers */
.mt-16 {
    margin-top: 16px;
}
.sub-label-style {
    font-size: 0.85em;
    color: #666;
}
.mt-6 {
    margin-top: 6px;
}
.preview-img-style {
    max-width: 100%;
    max-height: 80px;
    border-radius: 6px;
    border: 1px solid #ddd;
}
.btn-text-remove {
    margin-left: 8px;
    color: #c00;
    background: none;
    border: none;
    cursor: pointer;
}
