/* ==========================================================================
   TypeUI Gradient Design System - Paidtrends Stylesheet
   ========================================================================== */

/* Design Tokens */
:root {
    --primary-color: #02947A;
    --primary-gradient: linear-gradient(135deg, #02947A 0%, #10B981 100%);
    --secondary-color: #10B981;
    --success-color: #16A34A;
    --success-glow: rgba(22, 163, 74, 0.15);
    --warning-color: #D97706;
    --warning-glow: rgba(217, 119, 6, 0.15);
    --danger-color: #DC2626;
    --danger-glow: rgba(220, 38, 38, 0.15);
    
    /* 6-stop soft pastel gradient background system from gradient-pro.vercel.app */
    --bg-gradient: linear-gradient(135deg, #FCE7F3 0%, #EDE9FE 20%, #DBEAFE 40%, #CCFBF1 60%, #D1FAE5 80%, #FEF3C7 100%);
    
    /* Light-themed Glassmorphism Surfaces */
    --surface-glass: rgba(255, 255, 255, 0.45);
    --surface-glass-hover: rgba(255, 255, 255, 0.6);
    --border-glass: rgba(255, 255, 255, 0.7);
    --border-glass-focus: rgba(2, 148, 122, 0.45);
    
    /* Typography Color Tokens */
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    
    /* Typography Scales */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing (8pt baseline grid) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    
    /* Shadows for light cards */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 18px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.08), 0 1px 6px rgba(15, 23, 42, 0.04);
}

/* Reset & Base Elements */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: var(--bg-gradient);
    color: var(--text-body);
    font-family: var(--font-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Dot Pattern Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: -1;
    pointer-events: none;
}

/* Grain Overlay (Subtle SVG noise) */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* Background Glowing Blurs */
.bg-gradient-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
}

.bg-circle-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #FBCFE8 0%, transparent 70%);
    opacity: 0.45;
}

.bg-circle-2 {
    bottom: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #BAE6FD 0%, transparent 70%);
    opacity: 0.35;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-color);
}

code, .code-font {
    font-family: var(--font-mono);
}

/* Layout Elements */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
}

#main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border-glass);
}

@media (min-width: 769px) {
    #main-header {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
}

.logo-accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#nav-menu {
    display: flex;
    gap: var(--space-sm);
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.4);
}

.nav-btn:active {
    transform: scale(0.97);
}

.nav-btn.active {
    color: #FFFFFF;
    background: var(--primary-gradient);
    box-shadow: 0 4px 12px rgba(2, 148, 122, 0.2);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg) var(--space-xxl);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-xl);
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: var(--space-xxl);
    padding: var(--space-xl) 0;
}

.hero-headline {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    color: var(--text-heading);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-body);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* Section Header Typography inside Cards */
.section-title {
    font-size: 20px;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.section-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.card-divider {
    border: 0;
    height: 1px;
    background: var(--border-glass);
    margin: var(--space-xl) 0;
}

/* Progress Stepper Styles */
.stepper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.step-indicator-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-indicator-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-indicator-count {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.stepper-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: var(--space-xl);
    overflow: hidden;
}

.stepper-progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 20%;
    transition: var(--transition-smooth);
}

.wizard-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border-glass);
    padding-top: var(--space-lg);
}

.wizard-nav-buttons.single-button {
    justify-content: flex-end;
}

/* Loader / Spinners */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
    margin: var(--space-md) auto;
}

.inline-spinner {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin: 0 var(--space-xs);
    display: inline-block;
    vertical-align: middle;
}

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

.channels-loading, .tracking-loading {
    text-align: center;
    padding: var(--space-xl) 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* Interactive Elements & Fields */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.channel-card-select {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.channel-card-select:hover {
    border-color: rgba(15, 23, 42, 0.12);
    background: var(--surface-glass-hover);
    transform: translateY(-2px);
}

.channel-card-select:active {
    transform: translateY(0) scale(0.97);
}

.channel-card-select.selected {
    border-color: var(--primary-color);
    background: rgba(2, 148, 122, 0.08);
    box-shadow: 0 0 15px rgba(2, 148, 122, 0.15);
}

.channel-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-heading);
}

.channel-badge {
    position: absolute;
    top: var(--space-xs);
    right: var(--space-xs);
    font-size: 10px;
    background: var(--primary-gradient);
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: 600;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.channel-card-select.selected .channel-badge {
    opacity: 1;
    transform: scale(1);
}

/* Channel Setup Goals Form */
.channel-goals-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.channel-goals-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.channel-goals-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
}

.goals-list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.goal-pill-select {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.goal-pill-select:hover {
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--text-heading);
}

.goal-pill-select:active {
    transform: scale(0.97);
}

.goal-pill-select.selected {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Inputs & Form Controls */
.form-group {
    margin-bottom: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
select,
textarea {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--border-radius-md);
    color: var(--text-heading);
    font-family: var(--font-primary);
    font-size: 14px;
    padding: 10px 14px;
    width: 100%;
    outline: none;
    transition: var(--transition-smooth);
}

input[type="text"]::placeholder,
input[type="url"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder,
input[type="password"]::placeholder,
input[type="date"]::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

input[type="text"]:focus,
input[type="url"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(2, 148, 122, 0.25);
}

.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 14px;
    color: #9CA3AF;
    font-size: 14px;
    pointer-events: none;
}

.input-with-prefix input {
    padding-left: 28px;
}

/* Sliders */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    outline: none;
    margin: var(--space-sm) 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(2, 148, 122, 0.5);
    transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(0.95);
}

/* Distribution Toolbar */
.distribution-toolbar {
    margin: var(--space-md) 0 var(--space-lg);
    display: flex;
    justify-content: flex-end;
}

/* Calculator Grid */
.allocation-calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.calc-row-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .calc-row-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.calc-sliders-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-sliders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.calc-sliders-title {
    font-size: 15px;
    font-weight: 600;
}

.calc-sliders-budget-badge {
    background: rgba(2, 148, 122, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.calc-results-column {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

.calc-output-qty {
    display: flex;
    flex-direction: column;
}

.qty-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.qty-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
}

.qty-metric-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin-top: 4px;
    align-self: flex-start;
}

.calc-limit-note {
    font-size: 11px;
    color: var(--text-muted);
}

.calc-limit-note.warning-state {
    color: #D97706;
}

.calc-limit-note.error-state {
    color: #DC2626;
}

.calc-secondary-metric {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: var(--space-sm);
    margin-top: var(--space-xs);
    font-size: 12px;
}

.secondary-metric-val {
    font-weight: 600;
    color: var(--text-heading);
}

/* Campaign Form Layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

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

.full-width {
    grid-column: 1 / -1;
}

/* Buttons Styles */
.action-btn {
    background: var(--primary-gradient);
    border: none;
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(2, 148, 122, 0.3);
    text-align: center;
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.action-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
}

.action-btn:disabled {
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.35);
    cursor: not-allowed;
    box-shadow: none;
}

.secondary-btn {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-heading);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.secondary-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.secondary-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.large-btn {
    font-size: 16px;
    padding: 14px 32px;
    border-radius: var(--border-radius-lg);
}

.small-btn {
    padding: 6px 12px;
    font-size: 12px;
}

.full-width-btn {
    width: 100%;
}

/* Tables */
.review-table-container, .admin-table-container {
    width: 100%;
    overflow-x: auto;
    margin: var(--space-md) 0;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-glass);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

th, td {
    padding: 12px var(--space-md);
    border-bottom: 1px solid var(--border-glass);
}

th {
    background: rgba(2, 148, 122, 0.02);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-muted);
}

tbody tr:last-child td {
    border-bottom: none;
}

tfoot tr th, tfoot tr td {
    border-top: 2px solid var(--border-glass);
    font-weight: 600;
    font-size: 15px;
}

.text-right {
    text-align: right;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Disclaimers & Alerts */
.disclaimer-box {
    background: rgba(217, 119, 6, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-left: 4px solid var(--warning-color);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    margin: var(--space-xl) 0;
}

.warning-title {
    font-size: 14px;
    font-weight: 600;
    color: #F59E0B;
    margin-bottom: var(--space-xs);
}

.disclaimer-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.danger-text {
    color: #EF4444;
    font-size: 13px;
    margin: var(--space-xs) 0;
}

/* Modals & Dialogs */
dialog {
    border: none;
    background: transparent;
    margin: auto;
    outline: none;
}

dialog::backdrop {
    background: rgba(13, 14, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content {
    width: 480px;
    max-width: 90vw;
    position: relative;
    animation: modal-entrance 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.18) !important;
}

.modal-content label {
    color: var(--text-body) !important;
}

.modal-content input[type="text"],
.modal-content input[type="url"],
.modal-content input[type="email"],
.modal-content input[type="number"],
.modal-content input[type="password"],
.modal-content input[type="date"] {
    background: #FFFFFF !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
}

@keyframes modal-entrance {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(8px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

.close-modal-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: transparent;
    border: none;
    color: #9CA3AF;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-modal-btn:hover {
    color: var(--text-heading);
}

.modal-title {
    font-size: 22px;
    margin-bottom: var(--space-xs);
    color: var(--text-heading);
}

.modal-desc {
    font-size: 13px;
    color: var(--text-body);
    margin-bottom: var(--space-lg);
}

.invoice-summary-box {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.compliance-note {
    font-size: 11px;
    color: var(--text-body);
    text-align: center;
    margin-bottom: var(--space-md);
}

.form-row {
    display: flex;
    gap: var(--space-md);
}

.width-50 {
    width: 50%;
}

/* Checkout Success View */
.checkout-success-view {
    text-align: center;
    padding: var(--space-lg) 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(22, 163, 74, 0.1);
    border: 2px solid var(--success-color);
    color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto var(--space-md);
    animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.success-message {
    color: var(--text-body);
    font-size: 14px;
    margin-bottom: var(--space-lg);
}

.order-id-display {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--space-lg);
}

.order-id-display span {
    font-size: 12px;
    color: var(--text-muted);
}

.order-id-display strong {
    font-size: 20px;
    letter-spacing: 0.05em;
}

.success-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* Visibility classes */
.hidden {
    display: none !important;
}

.view-section {
    display: none;
}

.view-section.active {
    display: block;
    animation: fade-in-view 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-view {
    from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0px); }
}

.step-content:not(.hidden) {
    animation: step-fade-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes step-fade-in {
    from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0px); }
}

/* Order Tracking UI Details */
.tracker-search-wrapper {
    max-width: 500px;
    margin-bottom: var(--space-xl);
}

.search-input-group {
    display: flex;
    gap: var(--space-sm);
}

.search-input-group input {
    text-transform: uppercase;
}

.tracking-results {
    border-top: 1px solid var(--border-glass);
    padding-top: var(--space-xl);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .tracking-header {
        flex-direction: column;
        gap: var(--space-md);
    }
}

.tracking-title {
    font-size: 26px;
    margin-bottom: var(--space-xs);
}

.tracking-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Status Colors & Glows */
.status-badge.pending_payment, 
.status-badge.pending,
.status-badge.paid {
    background: var(--warning-glow);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
}

.status-badge.submitted,
.status-badge.processing,
.status-badge.inprogress,
.status-badge.in_progress {
    background: rgba(2, 148, 122, 0.1);
    border: 1px solid var(--primary-color);
    color: #02947A;
}

.status-badge.partial {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--secondary-color);
    color: #10B981;
}

.status-badge.completed {
    background: var(--success-glow);
    border: 1px solid var(--success-color);
    color: #4ADE80;
}

.status-badge.cancelled,
.status-badge.canceled,
.status-badge.failed {
    background: var(--danger-glow);
    border: 1px solid var(--danger-color);
    color: #F87171;
}

/* Sub-order Tracking Items */
.tracking-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.track-item-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
}

.track-item-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.track-item-channel {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
}

.track-item-goal {
    font-size: 11px;
    background: rgba(15, 23, 42, 0.05);
    padding: 2px 8px;
    border-radius: 12px;
    color: var(--text-muted);
}

.track-item-details {
    font-size: 13px;
    color: var(--text-body);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.track-item-details span strong {
    color: var(--text-heading);
}

.track-item-logs {
    border-top: 1px solid var(--border-glass);
    padding-top: var(--space-sm);
}

.logs-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 4px;
    font-weight: 600;
}

.logs-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 80px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 11px;
}

.log-entry {
    color: var(--text-body);
    border-left: 2px solid var(--border-glass);
    padding-left: 6px;
}

.admin-notes-track {
    background: rgba(2, 148, 122, 0.03);
    border: 1px solid rgba(2, 148, 122, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
}

.admin-notes-track h3 {
    font-size: 15px;
    margin-bottom: var(--space-xs);
    color: var(--primary-color);
}

.admin-notes-track p {
    font-size: 13px;
    color: var(--text-body);
    margin-bottom: var(--space-xs);
}

/* ==========================================================================
   ADMIN PORTAL UI
   ========================================================================== */
.admin-login-card {
    max-width: 420px;
    margin: 40px auto;
}

.admin-dashboard-view {
    animation: fade-in-view 0.4s ease-out;
}

.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .admin-top-bar {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
}

.admin-title {
    font-size: 28px;
}

.admin-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 500;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-heading);
}

.metric-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Toggle Switch */
.toggle-switch-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-xs) 0;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid var(--border-glass);
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background: var(--primary-gradient);
    border-color: transparent;
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Admin Orders Queue Table Row Details */
.table-header-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.admin-orders-table td {
    vertical-align: top;
}

.admin-order-id {
    font-family: var(--font-mono);
    font-weight: 600;
    color: #C084FC;
    font-size: 13px;
}

.admin-order-date {
    font-size: 10px;
    color: #6B7280;
}

.admin-order-title {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.admin-order-link {
    font-size: 11px;
    max-width: 280px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
}

.admin-order-contact {
    font-size: 11px;
    color: var(--text-muted);
}

.admin-allocation-badge {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 6px;
    font-size: 11px;
}

.admin-allocation-badge:last-child {
    margin-bottom: 0;
}

.admin-sub-status {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: var(--space-xs);
}

.admin-actions-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ==========================================================================
   Home/Landing Page Visual Layouts & Elements (Adopted from gradient-pro.vercel.app)
   ========================================================================== */

/* Floating Ambient Blur Elements */
.bg-ambient-glow {
    pointer-events: none;
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.glow-pink {
    top: 15%;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(251, 207, 232, 0.45) 0%, transparent 70%);
}

.glow-sky {
    top: 25%;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.35) 0%, transparent 70%);
}

.glow-teal {
    bottom: 20%;
    left: 20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(167, 243, 208, 0.25) 0%, transparent 70%);
}

/* Feature Badge */
.hero-badge-container {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.hero-badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* Action Landing Headline & Subtitle */
.landing-hero-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-heading);
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.landing-hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .landing-hero-title {
        font-size: 58px;
    }
}

.landing-hero-subtitle {
    font-size: 16px;
    color: var(--text-body);
    max-width: 650px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .landing-hero-subtitle {
        font-size: 19px;
    }
}

.landing-hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-xxl);
}

@media (min-width: 640px) {
    .landing-hero-actions {
        flex-direction: row;
    }
}

/* Landing Ratings & Badges */
.landing-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xxl);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.stats-divider {
    width: 1px;
    height: 14px;
    background: var(--text-muted);
    opacity: 0.25;
}

.rating-stars {
    color: #FBBF24;
    display: inline-flex;
    gap: 2px;
    vertical-align: middle;
}

/* Interactive Preview Showcase */
.interactive-showcase-container {
    max-width: 780px;
    margin: 0 auto var(--space-xxl);
}

.preview-browser-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px var(--space-md);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dot-red { background: #FF5F56; }
.browser-dot-yellow { background: #FFBD2E; }
.browser-dot-green { background: #27C93F; }

.browser-address-bar {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 3px var(--space-md);
    font-size: 10px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-align: center;
}

.preview-browser-body {
    padding: var(--space-md);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.preview-sidebar {
    background: rgba(255, 255, 255, 0.35);
    border-radius: var(--border-radius-md);
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.preview-sidebar-item {
    font-size: 10px;
    font-weight: 600;
    padding: 6px var(--space-sm);
    border-radius: 6px;
    color: var(--text-muted);
}

.preview-sidebar-item.active {
    background: var(--primary-gradient);
    color: #FFFFFF;
}

.preview-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.preview-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.preview-metric-box {
    background: rgba(255, 255, 255, 0.35);
    border-radius: var(--border-radius-md);
    padding: 8px;
}

.preview-metric-label {
    font-size: 8px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.preview-metric-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-heading);
}

.preview-metric-change {
    font-size: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.preview-chart-box {
    background: rgba(255, 255, 255, 0.35);
    border-radius: var(--border-radius-md);
    padding: 10px;
    flex-grow: 1;
    min-height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
}

.preview-chart-bar {
    flex-grow: 1;
    background: var(--primary-gradient);
    border-radius: 3px 3px 0 0;
    transition: height 1s ease-in-out;
}

/* Autoplay Brand Logo Marquee */
.logo-marquee-section {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.logo-marquee-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: var(--space-sm) 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: inline-block;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    opacity: 0.35;
    margin: 0 var(--space-xl);
}

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

/* Features Grid */
.landing-grid-container {
    margin-bottom: var(--space-xxl);
}

.grid-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-xl);
}

.features-landing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .features-landing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-landing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-landing-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(2, 148, 122, 0.1);
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-size: 20px;
}

.feature-card-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
}

.feature-card-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-xs);
}

.feature-card-desc {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.6;
    flex-grow: 1;
}

/* Timeline Steps */
.timeline-section {
    max-width: 700px;
    margin: 0 auto var(--space-xxl);
}

.timeline-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: var(--primary-gradient);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.timeline-step-badge {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(2, 148, 122, 0.2);
}

.timeline-content-card {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.timeline-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.timeline-item-desc {
    font-size: 13px;
    color: var(--text-body);
}

.timeline-item-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(2, 148, 122, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: var(--space-xs);
}

/* Call to Action Landing Banner */
.cta-landing-banner {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
}

.cta-banner-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-sm);
}

.cta-banner-desc {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Dialog Forms */
.admin-dialog .modal-content {
    width: 500px;
}

.admin-dialog textarea {
    resize: vertical;
}

/* Accessibility - Prefers Reduced Motion settings */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
        transform: none !important;
    }
    
    .view-section.active,
    .step-content:not(.hidden),
    .modal-content {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
    
    .success-icon {
        animation: none !important;
        box-shadow: none !important;
    }
    
    .channel-badge {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   User Auth, Dashboard, Profile Settings, and Paystack Payment Selector Styles
   ========================================================================== */

/* Auth Panel Styles */
.auth-container {
    max-width: 450px;
    margin: 40px auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.auth-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: var(--space-sm);
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.auth-tab-btn:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.2);
}

.auth-tab-btn.active {
    color: #FFFFFF;
    background: var(--primary-gradient);
    box-shadow: 0 4px 12px rgba(2, 148, 122, 0.25);
}

.auth-panel-title {
    font-size: 24px;
    margin-bottom: var(--space-xs);
}

.auth-panel-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.auth-error-text {
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}

.auth-success-text {
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
    color: #10B981;
}

/* User Dashboard & Profile Styles */
.dashboard-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .dashboard-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.dashboard-table-container {
    overflow-x: auto;
}

/* Payment tabs & selector state styling */
.payment-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-heading) !important;
}

.payment-tab-btn.active {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(2, 148, 122, 0.25);
}

/* Custom Platform Selection Panel */
.selection-channel-card {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.selection-channel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: 10px;
}

.selection-channel-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
}

.platform-budget-summary {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-body);
}

.platform-budget-summary.overbudget {
    color: var(--danger-color);
}

.platform-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
}

.platform-option-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--border-radius-md);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.platform-option-card:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.platform-option-card.selected {
    border-color: var(--primary-color);
    background: rgba(2, 148, 122, 0.08);
    box-shadow: 0 4px 12px rgba(2, 148, 122, 0.12);
}

.platform-option-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 5px;
}

.platform-option-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.platform-option-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.selected-tag-badge {
    background: var(--primary-gradient);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(2, 148, 122, 0.15);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: var(--space-xs);
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-xs);
}
.admin-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px var(--space-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.admin-tab-btn:hover {
    color: var(--text-heading);
}
.admin-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Pagination Bar Styles */
.table-pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
}
.pagination-page-indicator {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

/* Platform Option Add Form Grid */
.platform-config-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
}
@media (max-width: 900px) {
    .platform-config-grid {
        grid-template-columns: 1fr;
    }
}

/* Dynamic Goal Descriptions Card */
.channel-goal-description {
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    font-size: 12.5px;
    color: var(--text-body);
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Menu Drawer Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}
.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-heading);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.close-menu-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-heading);
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .close-menu-btn {
        display: block;
    }
    
    #nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 80px 20px 40px;
        gap: 12px;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    #nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-btn {
        width: 100%;
        text-align: left;
        padding: var(--space-md) var(--space-lg);
        font-size: 15px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-btn:hover {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .nav-btn.active {
        background: var(--primary-gradient);
    }
    
    /* Fix preview browser body on mobile to prevent metric alignment wrapping */
    .preview-browser-body {
        grid-template-columns: 1fr !important;
    }
    
    .preview-sidebar {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px;
        padding: var(--space-xs);
    }
    
    .preview-sidebar-item {
        font-size: 9px;
        padding: 4px var(--space-xs);
    }
    
    #main-header {
        z-index: 1001;
    }
    
    .stats-divider {
        display: none;
    }
    
    .landing-stats-row {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .browser-address-bar {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 8px;
    }
}

