/* ==========================================================================
   MÜHENDİS TEK-SEN AFİŞ STUDIO - PREMIUM ULTRA MODERN STYLESHEET
   ========================================================================== */

:root {
    --navy-primary: #032b43;
    --teal-accent: #009ca6;
    --teal-glow: rgba(0, 156, 166, 0.4);
    --bg-studio: #0b0f19;
    --panel-dark: #131b2e;
    --panel-card: #1c263d;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

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

/* Utility Helper Classes */
.hidden {
    display: none !important;
}

body.studio-body {
    background-color: var(--bg-studio);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--teal-accent);
}

/* ==========================================
   PREMIUM CUSTOM RANGE SLIDER DESIGN SYSTEM
   ========================================== */

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    display: block;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 156, 166, 0.8) 100%);
    border-radius: 99px;
    outline: none;
    margin: 10px 0 6px 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--teal-accent);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 8px rgba(0, 156, 166, 0.6);
    cursor: grab;
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s ease, background-color 0.18s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px var(--teal-accent);
}

input[type=range]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.25);
    background: #f0fdfa;
    box-shadow: 0 0 16px var(--teal-accent);
}

/* Firefox range slider support */
input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--teal-accent);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    cursor: grab;
}

input[type=range]::-moz-range-track {
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 156, 166, 0.8) 100%);
    border-radius: 99px;
}

/* ==========================================
   1. APP HEADER
   ========================================== */

.app-header {
    height: 64px;
    background: rgba(19, 27, 46, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 0;
}

.brand-logo {
    height: 32px;
    max-width: 170px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.header-divider {
    width: 1px;
    height: 24px;
    background: var(--border-light);
    flex-shrink: 0;
}

.brand-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.brand-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--teal-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* Button Styling (Perfect Equal Alignment) */
.btn {
    height: 36px;
    padding: 0 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    user-select: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-preset {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-zip {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    color: var(--text-muted);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Presets Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: var(--panel-dark);
    min-width: 240px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    z-index: 100;
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
}

.preset-item {
    width: 100%;
    padding: 11px 16px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preset-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--teal-accent);
}

/* ==========================================
   2. UNIFIED SIDEBAR & CONTROL PANEL
   ========================================== */

.app-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.editor-sidebar {
    width: 380px;
    background: var(--panel-dark);
    border-right: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

.sidebar-header-bar {
    padding: 16px 1.25rem;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid var(--border-dark);
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.sidebar-header-bar i {
    font-size: 1rem;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

/* Card Editor Box (Main Section Card) */
.card-editor-box {
    background-color: #0e1828;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 1.15rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-editor-box:hover {
    border-color: rgba(0, 156, 166, 0.35);
}

.card-header-sm {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--teal-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 9px;
    letter-spacing: 0.2px;
}

.card-header-sm i {
    font-size: 0.95rem;
}

/* Structured Inner Sub-Editor Box / Sub-Card Container */
.sub-editor-box {
    background: #050b14;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sub-editor-box:hover {
    border-color: rgba(0, 156, 166, 0.35);
    background: #08111f;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.sub-editor-box .form-group:last-child {
    margin-bottom: 0 !important;
}

.sub-header-sm {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Form Controls */
.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 7px;
    width: 100%;
}

.form-group label .text-teal {
    color: var(--teal-accent);
}

/* Sleek Font Size Stepper Controls */
.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
    width: 100%;
}

.form-label-row label {
    margin-bottom: 0 !important;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.font-stepper-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 4px;
    flex-shrink: 0;
}

.btn-font-step {
    background: transparent;
    border: none;
    color: var(--teal-accent);
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-font-step:hover {
    background: var(--teal-accent);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 156, 166, 0.4);
}

.font-size-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
    min-width: 54px;
    text-align: center;
    user-select: none;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: #0f1f34;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #f8fafc;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

textarea.form-control {
    resize: vertical;
    min-height: 48px;
    line-height: 1.4;
}

.form-control:focus {
    outline: none;
    background: #132742;
    border-color: var(--teal-accent);
    box-shadow: 0 0 0 3px rgba(0, 156, 166, 0.25);
}

.form-row {
    display: flex;
    gap: 0.85rem;
}
.form-row .form-group {
    flex: 1;
}

.form-color {
    width: 100%;
    height: 42px;
    padding: 3px;
    background: var(--bg-studio);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    cursor: pointer;
}

/* Slogan & Scope Input Rows in Control Panel */
.slogan-input-row,
.discount-scope-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.btn-remove-slogan,
.btn-remove-scope {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove-slogan:hover,
.btn-remove-scope:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Catchy Add Buttons (Positioned under text fields) */
.btn-add-catchy {
    width: 100%;
    margin-top: 0.75rem;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(0, 156, 166, 0.15) 0%, rgba(3, 43, 67, 0.4) 100%);
    border: 1.5px dashed var(--teal-accent);
    border-radius: 9px;
    color: var(--teal-accent);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 156, 166, 0.12);
}

.btn-add-catchy:hover {
    background: linear-gradient(135deg, var(--teal-accent) 0%, #0284c7 100%);
    color: #ffffff;
    border-style: solid;
    border-color: #38bdf8;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 16px rgba(0, 156, 166, 0.4);
}

.btn-add-catchy:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 156, 166, 0.3);
}

.btn-add-catchy i {
    font-size: 0.95rem;
    transition: transform 0.22s ease;
}

.btn-add-catchy:hover i {
    transform: rotate(90deg);
}

.btn-color-reset {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.72rem;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-color-reset:hover {
    color: var(--teal-accent);
    background-color: rgba(0, 156, 166, 0.15);
}

/* Upload Box */
.file-upload-box {
    position: relative;
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    padding: 1.15rem 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.22s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-box:hover {
    border-color: var(--teal-accent);
    background: rgba(0, 156, 166, 0.05);
}

.file-upload-box.has-file {
    border-style: solid;
    border-color: rgba(0, 156, 166, 0.4);
    background: rgba(0, 156, 166, 0.08);
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

/* Top-Right Clear Button "X" */
.clear-upload-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.85);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.clear-upload-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
}

.clear-upload-btn.hidden {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
}

.upload-icon {
    color: var(--teal-accent);
    transition: transform 0.2s ease;
}

.file-upload-box:hover .upload-icon {
    transform: translateY(-3px);
}

.upload-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
}

.upload-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Uploaded Image Preview Thumbnail inside Upload Box */
.upload-preview-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 2px 4px;
}

.upload-preview-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upload-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-file-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
}

.upload-file-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.upload-file-status {
    font-size: 0.7rem;
    color: var(--teal-accent);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* Color Presets */
.color-preset-btn {
    background: var(--bg-studio);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-preset-btn:hover {
    border-color: var(--teal-accent);
}

.color-preset-btn.active {
    border-color: var(--teal-accent);
    background: rgba(0, 156, 166, 0.15);
    box-shadow: 0 0 10px rgba(0, 156, 166, 0.25);
}

.swatch-group {
    display: flex;
    gap: 3px;
}

.swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

/* ==========================================
   3. WORKSPACE & CANVAS ENVIRONMENT
   ========================================== */

.workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-studio);
    overflow: hidden;
    position: relative;
}

.studio-grid-bg {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    background-position: center center;
}

/* Canvas Toolbar */
.canvas-toolbar {
    height: 44px;
    background: rgba(19, 27, 46, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: 10;
}

.zoom-controls {
    display: flex;
    align-items: center;
    background: var(--bg-studio);
    border: 1px solid var(--border-dark);
    border-radius: 7px;
    padding: 2px 4px;
}

.tool-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: all 0.15s ease;
}

.tool-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-fit {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal-accent);
}

.zoom-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    padding: 0 6px;
}

/* STANDALONE INDEPENDENT THEME TOGGLE GROUP */
.theme-toggle-group {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--bg-studio);
    border: 1px solid var(--border-dark);
    border-radius: 7px;
    padding: 3px 12px;
}

.theme-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sleek Canvas Toolbar Theme Toggle Switch */
.theme-switch-wrap {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
    user-select: none;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-switch-wrap input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.theme-switch-slider {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--border-light);
    border-radius: 99px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.theme-switch-slider .icon-sun {
    font-size: 0.72rem;
    color: #f59e0b;
    z-index: 1;
}

.theme-switch-slider .icon-moon {
    font-size: 0.72rem;
    color: #38bdf8;
    z-index: 1;
}

.switch-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.theme-switch-wrap input:checked + .theme-switch-slider {
    background-color: rgba(14, 165, 233, 0.25);
    border-color: #0284c7;
}

.theme-switch-wrap input:checked + .theme-switch-slider .switch-knob {
    transform: translateX(26px);
    background-color: #38bdf8;
}

.format-indicator {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal-accent);
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 156, 166, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 156, 166, 0.25);
}

.canvas-container-outer {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.canvas-wrapper {
    transition: transform 0.2s ease;
    transform-origin: center center;
}

/* ==========================================
   4. THE POSTER CARD TEMPLATE (TOP SECTION & BOTTOM CONTACT SEPARATED)
   ========================================== */

.poster-card {
    background-color: #ffffff;
    color: #1e293b;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
    transition: background-color 0.25s ease, color 0.25s ease;
    box-sizing: border-box;
}

/* 2-COLUMN MAIN DEAL SECTION (TOP SIDE ONLY - HOUSES BG IMAGE & DEAL CONTENT) */
.poster-deal-section {
    position: relative; /* Contain absolute BG image to top section only */
    display: grid;
    grid-template-columns: 40% 60%; /* Exact 40% / 60% ratio */
    gap: 1.75rem;
    padding: 2.5rem;
    align-items: center;
    background-color: transparent;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* Background Image Container Scoped to LEFT 60% Area */
.poster-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.poster-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    transform-origin: center center;
}

.poster-bg-image.active {
    opacity: 1;
}

/* HTML2Canvas-compatible RGBA Overlay (100% Solid Opacity until 20% left width, then smooth fade) */
.poster-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 62%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0) 20%, 
        rgba(255, 255, 255, 0.35) 42%, 
        rgba(255, 255, 255, 0.85) 70%, 
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: background 0.25s ease;
}

/* Poster Sections Z-Index Order */
.poster-header,
.left-hero-column,
.right-content-column,
.poster-contact-section,
.poster-footer {
    position: relative;
    z-index: 2;
    min-width: 0;
}

/* GLOBAL DARK THEME OVERRIDES FOR POSTER CARD TEXT & CANVAS-SAFE GRADIENT FADE */
.poster-card.dark-theme {
    background-color: #0f172a;
    color: #f8fafc;
}

.poster-card.dark-theme .poster-bg-overlay {
    background: linear-gradient(to right, 
        rgba(15, 23, 42, 0) 0%, 
        rgba(15, 23, 42, 0) 20%, 
        rgba(15, 23, 42, 0.35) 42%, 
        rgba(15, 23, 42, 0.85) 70%, 
        rgba(15, 23, 42, 1) 100%
    );
}

.poster-card.dark-theme .company-name {
    color: #ffffff;
}

.poster-card.dark-theme .company-slogan-item {
    color: #38bdf8;
}

.poster-card.dark-theme .discount-badge-header {
    color: #ffffff;
}

.poster-card.dark-theme .discount-main-shape {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.poster-card.dark-theme .discount-svg-fill {
    fill: var(--teal-accent);
    stroke: none;
}

.poster-card.dark-theme .discount-rate {
    color: #ffffff;
    text-shadow: none;
}

.poster-card.dark-theme .discount-label {
    color: #ffffff;
    text-shadow: none;
}

.poster-card.dark-theme .discount-scope-ribbon {
    background-color: var(--teal-accent);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.poster-card.dark-theme .contact-text .label {
    color: #38bdf8;
}

.poster-card.dark-theme .contact-text .val {
    color: #f8fafc;
}

.poster-card.dark-theme .company-logo-area {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
}

.poster-card.dark-theme .company-logo-area.has-logo {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
}

.poster-card.dark-theme .company-logo-placeholder {
    color: #94a3b8;
}

.poster-card.dark-theme .poster-contact-section {
    border-top-color: rgba(255, 255, 255, 0.12);
}

.poster-card.dark-theme .handwriting-quote-wrapper {
    color: #38bdf8;
}

.poster-card.dark-theme .handwriting-quote {
    color: currentColor;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Master A4 Size (794 x 1123 px) */
.format-poster {
    width: 794px;
    height: 1123px;
}

/* Header Bar */
.poster-header {
    background-color: var(--navy-primary);
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    position: relative;
    border-bottom: 4px solid var(--teal-accent);
    flex-shrink: 0;
}

.header-logo-wrap {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 60%;
}

.poster-header-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transition: all 0.2s ease;
}

.poster-header-logo.vertical-logo {
    max-height: 90px;
}

/* Ribbon Badge Top Right - Vector SVG V-Cut Notch Ribbon Shape */
.header-ribbon-badge {
    position: absolute;
    right: 2.5rem;
    top: 0;
    width: 175px;
    height: 160px;
    color: #ffffff;
    z-index: 20;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.ribbon-bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.ribbon-svg-fill {
    fill: var(--teal-accent);
    transition: fill 0.25s ease;
}

.ribbon-content {
    width: 100%;
    height: 82%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    gap: 7px;
    margin: 0 auto;
}

/* Prominently Enlarged Ribbon Icon */
.ribbon-icon {
    font-size: 2.85rem;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Prominently Enlarged Badge Text */
#displayBadgeTitle {
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    line-height: 1.15;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Left Column: Hero Showcase Space (40%) */
.left-hero-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* Right Column: The Vertical Content Stack (60%) */
.right-content-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    width: 100%;
    text-align: center;
}

.company-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
    margin-top: 1.2rem;
}

/* Company Logo Container */
.company-logo-area {
    width: 100%;
    max-width: 270px;
    height: 165px;
    border: 2.5px dashed #94a3b8;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.35);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

/* Dynamic Height when Logo is Present (Pushes elements below down as resized) */
.company-logo-area.has-logo {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 1rem;
}

.company-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    gap: 8px;
    text-align: center;
    width: 100%;
    height: 100%;
}

.placeholder-icon {
    font-size: 3.5rem;
    margin: 0 auto;
}

.company-logo-placeholder span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Company Logo Image Sizing & Extra Soft Rounding Variations */
.company-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    display: block;
    transition: border-radius 0.2s ease, box-shadow 0.2s ease;
    transform-origin: center center;
}

/* Company Name (PRESERVE USER CASING EXACTLY AS TYPED) */
.company-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy-primary);
    line-height: 1.15;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
    width: 100%;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    white-space: pre-wrap;
    transition: font-size 0.15s ease, color 0.25s ease;
}

/* Multiple Dynamic Slogans Container on Poster Card */
.company-slogans-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.2rem;
}

/* Company Slogan Item (PRESERVE USER CASING EXACTLY AS TYPED) */
.company-slogan-item {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal-accent);
    letter-spacing: 0.4px;
    width: 100%;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    line-height: 1.25;
    transition: color 0.25s ease, font-size 0.15s ease;
}

.discount-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    min-width: 0;
    margin-top: 1.85rem;
}

.discount-badge-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy-primary);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    width: 100%;
    text-align: center;
    transition: color 0.25s ease;
}

.discount-badge-header .header-title {
    font-size: 1.45rem;
    font-weight: 800;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

/* Vector SVG Cut Geometric Discount Badge */
.discount-main-shape {
    width: 100%;
    max-width: 340px;
    color: #ffffff;
    padding: 2.2rem 1.2rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 14px 24px rgba(3, 43, 67, 0.35));
}

.discount-bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.discount-svg-fill {
    fill: var(--navy-primary);
    transition: fill 0.25s ease;
}

.discount-rate {
    font-size: 5.0rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1.5px;
    color: #ffffff;
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    text-align: center;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    margin-top: 0.2rem;
    transition: font-size 0.15s ease;
}

.discount-label {
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 1.1;
    margin-top: 5px;
    color: #ffffff;
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* MULTIPLE DYNAMIC DISCOUNT SCOPE / ALT BAND PILL RIBBONS WRAPPER (SEPARATED FROM MAIN DISCOUNT BOX) */
.discount-scopes-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: calc(100% - 20px);
    max-width: 320px;
    margin-top: 1.25rem;
    z-index: 5;
}

/* Discount Scope Ribbon (PRESERVE USER CASING EXACTLY AS TYPED) */
.discount-scope-ribbon {
    width: 100%;
    background-color: var(--teal-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 8px 14px;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 156, 166, 0.4);
    letter-spacing: 0.5px;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    line-height: 1.2;
    transition: background-color 0.25s ease, color 0.25s ease, font-size 0.15s ease;
}

/* Contact & Slogan Section - Distinct Solid Bottom Section (No BG Image) */
.poster-contact-section {
    position: relative;
    padding: 1.5rem 2.5rem;
    background-color: transparent;
    flex: 0 0 auto; /* Takes strictly natural height as needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 2px solid rgba(226, 232, 240, 0.8);
    min-height: 0;
    overflow: hidden;
    z-index: 2;
}

.angled-divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--navy-primary) 100%);
}

.contact-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

/* Contact list expands horizontally as needed */
.contact-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--navy-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-text .label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--navy-primary);
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.contact-text .val {
    font-size: 0.85rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    transition: color 0.25s ease;
}

/* Slogan quote container takes flexible natural width */
.slogan-quote-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    min-width: 0;
}

.handwriting-quote-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-6.5deg);
    color: var(--teal-accent);
    transition: color 0.25s ease;
    margin: auto 0;
}

.handwriting-quote {
    font-family: 'Caveat', cursive;
    font-size: 2.05rem;
    font-weight: 700;
    color: currentColor;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
    transition: font-size 0.15s ease, color 0.25s ease;
    text-align: center;
}

.tapered-line-svg {
    width: 100%;
    height: 36px;
    margin-top: -6px;
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}

.tapered-stroke-fill {
    fill: currentColor;
    transition: fill 0.25s ease;
}

/* Footer Bar */
.poster-footer {
    background-color: var(--navy-primary);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    max-width: 60%;
}

.footer-logo-img {
    max-height: 44px;
    max-width: 100%;
    object-fit: contain;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.social-handle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    word-break: break-all;
}

/* ==========================================
   LOGO CROPPER MODAL DESIGN
   ========================================== */

.btn-recrop-logo {
    background: rgba(0, 156, 166, 0.15);
    border: 1px solid var(--teal-accent);
    color: var(--teal-accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-recrop-logo:hover {
    background: var(--teal-accent);
    color: #ffffff;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.crop-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 156, 166, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.crop-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid var(--border-dark);
    background: rgba(0, 0, 0, 0.2);
}

.crop-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crop-modal-title i {
    color: var(--teal-accent);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.crop-modal-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: var(--text-light);
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.btn-close-modal:hover {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.15);
}

.crop-modal-body {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.crop-viewport-container {
    position: relative;
    width: 100%;
    height: 320px;
    background: #09131d;
    border: 1.5px dashed var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.crop-viewport-container:active {
    cursor: grabbing;
}

.crop-viewport-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.crop-resizable-box {
    position: absolute;
    border: 2px solid var(--teal-accent);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.65), 0 0 15px rgba(0, 156, 166, 0.4);
    cursor: move;
    touch-action: none;
    user-select: none;
    border-radius: 4px;
}

.crop-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.crop-grid-lines::before {
    content: '';
    position: absolute;
    top: 33.33%;
    bottom: 33.33%;
    left: 0;
    right: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.35);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}

.crop-grid-lines::after {
    content: '';
    position: absolute;
    left: 33.33%;
    right: 33.33%;
    top: 0;
    bottom: 0;
    border-left: 1px dashed rgba(255, 255, 255, 0.35);
    border-right: 1px dashed rgba(255, 255, 255, 0.35);
}

.crop-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 2px solid var(--teal-accent);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: transform 0.1s ease, background-color 0.1s ease;
}

.crop-handle:hover {
    transform: scale(1.3);
    background: #38bdf8;
}

.crop-handle.handle-tl { top: -6px; left: -6px; cursor: nwse-resize; }
.crop-handle.handle-tr { top: -6px; right: -6px; cursor: nesw-resize; }
.crop-handle.handle-bl { bottom: -6px; left: -6px; cursor: nesw-resize; }
.crop-handle.handle-br { bottom: -6px; right: -6px; cursor: nwse-resize; }

.crop-handle.handle-t { top: -6px; left: calc(50% - 6px); cursor: ns-resize; }
.crop-handle.handle-b { bottom: -6px; left: calc(50% - 6px); cursor: ns-resize; }
.crop-handle.handle-l { left: -6px; top: calc(50% - 6px); cursor: ew-resize; }
.crop-handle.handle-r { right: -6px; top: calc(50% - 6px); cursor: ew-resize; }

.crop-controls-bar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.crop-control-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.crop-control-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.crop-ratio-btn-group {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.btn-crop-ratio {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-crop-ratio:hover {
    color: var(--text-light);
}

.btn-crop-ratio.active {
    background: var(--teal-accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 156, 166, 0.4);
}

.crop-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 1rem 1.4rem;
    border-top: 1px solid var(--border-dark);
    background: rgba(0, 0, 0, 0.2);
}
