:root {
    --bg-dark: #070913;
    --card-bg: rgba(13, 18, 36, 0.6);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-indigo: #6366f1;
    --accent-violet: #8b5cf6;
    --accent-violet-glow: rgba(139, 92, 246, 0.15);
    --accent-cyan: #06b6d4;
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Cybernetic Grid Background Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

/* Background Glowing Blobs */
.glow-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    animation: shiftHue 40s infinite linear; /* Smoothly morphs colors over time */
}

@keyframes shiftHue {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.08) 60%, transparent 100%);
    animation: moveBlob1 25s infinite alternate ease-in-out;
}

.blob-2 {
    bottom: -20%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.08) 60%, transparent 100%);
    animation: moveBlob2 30s infinite alternate ease-in-out;
}

.blob-3 {
    top: 30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(99, 102, 241, 0.05) 60%, transparent 100%);
    animation: moveBlob3 20s infinite alternate ease-in-out;
}

/* Mouse-following dynamic glow blob */
.interactive-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(99, 102, 241, 0.05) 60%, transparent 100%);
    transform: translate(-50%, -50%);
    opacity: 0.6;
    z-index: 5;
    filter: blur(100px);
    pointer-events: none;
    will-change: left, top;
}

@keyframes moveBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 15%) scale(1.1); }
    100% { transform: translate(-5%, 5%) scale(0.95); }
}

@keyframes moveBlob2 {
    0% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(-15%, -10%) scale(0.9); }
    100% { transform: translate(5%, 5%) scale(1.05); }
}

@keyframes moveBlob3 {
    0% { transform: translate(0, 0) scale(0.95); }
    50% { transform: translate(20%, -5%) scale(1.15); }
    100% { transform: translate(-10%, 10%) scale(1); }
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.logo-text h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    font-size: 0.9rem;
    font-weight: 500;
}

.status-indicator.connected {
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.status-indicator.connected .pulse-dot {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    display: inline-block;
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.06), 0 0 1px rgba(99, 102, 241, 0.2);
}

.card h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Control Panel Form */
.input-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper input, .input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus, .input-group input:focus {
    outline: none;
    border-color: var(--accent-indigo);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

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

.form-row .half {
    flex: 1;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-column: 1 / -1;
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Left Panel: CTA Matrix */
.cta-matrix-card {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    max-height: 500px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.count-badge {
    background: var(--accent-violet-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c084fc;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.table-container {
    overflow-y: auto;
    flex: 1;
    border: 1px solid var(--card-border);
    border-radius: 8px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.data-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1;
    backdrop-filter: blur(8px);
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.empty-row td {
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem 1rem;
}

.selector-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    max-width: 180px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-untested {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.badge-tracked {
    background: var(--success-glow);
    color: #34d399;
}

.badge-untracked {
    background: var(--warning-glow);
    color: #fbbf24;
}

.badge-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

/* Right Panel: Terminal logs */
.terminal-card {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

.terminal {
    flex: 1;
    background: rgba(5, 5, 10, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    line-height: 1.5;
}

.terminal-line {
    word-break: break-all;
}

.system-line {
    color: #60a5fa;
}

.info-line {
    color: var(--text-secondary);
}

.action-line {
    color: #c084fc;
}

.dl-line {
    color: #fb7185;
    padding-left: 0.5rem;
    border-left: 2px solid #e11d48;
}

.ga4-line {
    color: #34d399;
    padding-left: 0.5rem;
    border-left: 2px solid #059669;
}

.error-line {
    color: #f87171;
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .cta-matrix-card, .terminal-card {
        grid-column: 1 / -1;
    }
}

/* Expandable Details Styles */
.clickable-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

.clickable-row:hover {
    background: rgba(99, 102, 241, 0.08) !important;
}

.clickable-row.expanded-row {
    background: rgba(99, 102, 241, 0.12) !important;
    border-bottom: none;
}

.details-row {
    background: rgba(0, 0, 0, 0.3) !important;
}

.details-container {
    padding: 1.25rem;
    border-left: 3px solid var(--accent-indigo);
    border-radius: 0 0 12px 12px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.details-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-value a {
    color: #a5b4fc;
    text-decoration: none;
    word-break: break-all;
}

.meta-value a:hover {
    text-decoration: underline;
}

.meta-badges {
    display: flex;
    gap: 0.5rem;
}

.badge-enquiry {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.details-logs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.details-log-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.details-log-block h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.details-code-panel {
    background: rgba(5, 5, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    max-height: 220px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.4;
}

.no-events-placeholder {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.85rem;
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}

.details-dl-item {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.details-dl-item:last-child {
    border-bottom: none;
}

.details-ga4-event {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.details-ga4-event:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.ga4-event-title {
    font-weight: 600;
    color: #34d399;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.ga4-params-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.ga4-params-table td {
    padding: 0.25rem 0.5rem;
    border-bottom: none !important;
}

.ga4-params-table td.param-key {
    color: #a5b4fc;
    font-family: var(--font-mono);
    width: 40%;
    vertical-align: top;
}

.ga4-params-table td.param-val {
    color: var(--text-primary);
    word-break: break-all;
}

@media (max-width: 768px) {
    .details-logs-grid {
        grid-template-columns: 1fr;
    }
}

/* Tabs and GA4 Hub Console Styles */
.tab-btn {
    opacity: 0.65;
}

.tab-btn:hover {
    opacity: 1;
    color: var(--text-primary) !important;
}

.tab-btn.active {
    opacity: 1;
}

.tab-content {
    height: 100%;
}

.ga4-hub-list {
    padding: 0.5rem;
    overflow-y: auto;
}

.ga4-hub-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.ga4-hub-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.2);
}

.ga4-hub-card-header {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.ga4-hub-card-title {
    font-weight: 700;
    color: #34d399;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ga4-hub-card-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.ga4-hub-card-url {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0 1rem 0.75rem 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ga4-hub-card-body {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 0 0 10px 10px;
    display: none;
}

.ga4-hub-card.expanded .ga4-hub-card-body {
    display: block;
}

.ga4-hub-card-body .ga4-params-table {
    width: 100%;
}

/* Tab contents and switching */
.nav-tab-content {
    display: none;
}
.nav-tab-content.active-tab {
    display: block;
}

.nav-tab-btn {
    opacity: 0.65;
    transition: all 0.2s ease;
}
.nav-tab-btn:hover {
    opacity: 1;
    color: var(--text-primary) !important;
}
.nav-tab-btn.active {
    opacity: 1;
}

/* Alignment layout grid (stacked for full-width views) */
.alignment-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 900px) {
    .tag-inventory-layout {
        flex-direction: column !important;
    }
    .tag-editor-card {
        min-width: 100% !important;
        position: static !important;
    }
}

/* File upload drag and drop */
.file-upload-dropzone {
    border: 2px dashed var(--card-border) !important;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-upload-dropzone:hover, .file-upload-dropzone.dragover {
    border-color: var(--accent-indigo) !important;
    background: rgba(99, 102, 241, 0.04);
}

.upload-icon {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    display: block;
}

.upload-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.required {
    color: #f87171;
    margin-left: 2px;
}

.file-info-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--accent-indigo);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #a5b4fc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Alert banners */
.alert-banner {
    display: flex;
    gap: 0.75rem;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.warning-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* Alignment Status Pills */
.status-pill {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
}

.status-pill-active {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-pill-inactive {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-pill-dynamic {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Results tab button styling */
.results-tab-btn {
    opacity: 0.65;
    transition: all 0.3s ease;
}

.results-tab-btn:hover {
    opacity: 1;
    color: var(--text-primary) !important;
}

.results-tab-btn.active {
    opacity: 1;
}

.sub-tab-btn {
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    color: var(--text-secondary);
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.sub-tab-btn:hover, .sub-tab-btn.active {
    background: var(--accent-indigo) !important;
    border-color: var(--accent-indigo) !important;
    color: white !important;
}

/* Premium Select Dropdown Styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%27http%3B%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%3E%3Cpath%20fill%3D%27%239ca3af%27%20d%3D%27M10.293%203.293L6%207.586%201.707%203.293A1%201%200%2000.293%204.707l5%205a1%201%200%20001.414%200l5-5a1%201%200%2010-1.414-1.414z%27%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 0.65rem;
    padding-right: 2rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

select option {
    background-color: #111827;
    color: #f3f4f6;
}

/* Version Comparison Styling */
.dropzone-container {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dropzone {
    flex: 1;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.dropzone-icon {
    font-size: 2rem;
    color: var(--accent-indigo);
}

.dropzone-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

.badge-added {
    background: var(--success-glow);
    color: #34d399;
}

.badge-deleted {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.badge-modified {
    background: var(--warning-glow);
    color: #fbbf24;
}

.diff-detail-list {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
    list-style-type: disc;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.diff-detail-item {
    margin-bottom: 0.25rem;
}



