/* ==========================================================================
   ScopeShield Premium Style System
   Design: Modern Cyberpunk-Glassmorphism Dark Mode
   Typography: Outfit (Headings), Plus Jakarta Sans (Body), JetBrains Mono (Numbers)
   ========================================================================== */

:root {
    --bg-dark: #0A0A0C;
    --bg-panel: rgba(18, 18, 22, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(16, 185, 129, 0.15);
    
    --primary-green: #10B981;
    --primary-green-glow: rgba(16, 185, 129, 0.25);
    --accent-red: #EF4444;
    --accent-red-glow: rgba(239, 68, 68, 0.2);
    --accent-yellow: #F59E0B;
    
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Color Theme Selection Presets */
:root[data-theme="cyberpunk"] {
    --primary-green: #FF007F; /* Neon Cyber Magenta */
    --primary-green-glow: rgba(255, 0, 127, 0.25);
    --border-glow: rgba(255, 0, 127, 0.15);
}

:root[data-theme="nordic"] {
    --primary-green: #06B6D4; /* Ice Cyan Blue */
    --primary-green-glow: rgba(6, 182, 212, 0.25);
    --border-glow: rgba(6, 182, 212, 0.15);
}

:root[data-theme="amber"] {
    --primary-green: #F59E0B; /* Sunset Amber Gold */
    --primary-green-glow: rgba(245, 158, 11, 0.25);
    --border-glow: rgba(245, 158, 11, 0.15);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Stunning Ambient Radial Background Gradients */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.02) 0%, transparent 35%);
    z-index: -2;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* Typography Helper */
.text-green { color: var(--primary-green); }
.text-yellow { color: var(--accent-yellow); }
.text-red { color: var(--accent-red); }
.text-bold { font-weight: 700; }
.font-mono { font-family: var(--font-mono); }

/* Premium Glassmorphic Card Container */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Header Styling */
.app-header {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    position: sticky;
    top: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Premium Theme Selector Widget */
.theme-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 99px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.theme-dot.emerald { background: #10B981; }
.theme-dot.cyberpunk { background: #FF007F; }
.theme-dot.nordic { background: #06B6D4; }
.theme-dot.amber { background: #F59E0B; }

.theme-dot:hover {
    transform: scale(1.2);
}

.theme-dot.active {
    border-color: #FFFFFF;
    box-shadow: 0 0 10px currentColor;
    transform: scale(1.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--primary-green-glow));
}

.logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.logo .badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    letter-spacing: 0.5px;
}

/* Status Badge Alerts */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent-yellow);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.approved {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 12px var(--primary-green-glow);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    animation: blink 1.8s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Main Container & Grid */
.main-container {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

/* Left Side: Change Order Details Pane */
.details-pane {
    padding: 32px;
}

.pane-header .category {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.pane-header h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.order-id-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.order-id-wrapper .value {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 600;
}

.pane-body {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-block h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-block .description-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.06);
    padding: 16px;
    border-radius: 10px;
}

.compliance-card {
    background: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.compliance-item .bullet {
    font-weight: 800;
    font-size: 14px;
}

.compliance-item .bullet.red { color: var(--accent-red); }
.compliance-item .bullet.green { color: var(--primary-green); }

/* Pricing Table */
.pricing-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    margin-top: 12px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.pricing-row.header {
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}

.pricing-row.line-item {
    padding: 6px 0;
}

.pricing-row.line-item span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 12px 0;
}

.pricing-row.total {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-row.total span:last-child {
    font-size: 22px;
    font-weight: 800;
    filter: drop-shadow(0 0 8px var(--primary-green-glow));
}

/* Right Side: Checkout Form & Action Pane */
.checkout-pane {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.express-checkout {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.section-title.margin-top {
    margin-top: 24px;
}

/* Apple Pay Button Simulation */
.apple-pay-btn {
    background: #FFFFFF;
    color: #000000;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.apple-pay-btn:hover {
    background: #F4F4F5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.apple-pay-btn i {
    font-size: 18px;
    margin-top: -2px;
}

.or-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.or-separator span {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* Checkout Card Authorization Form */
.checkout-form {
    padding: 28px;
}

/* Signature Pad Styling */
.signature-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signature-header label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.signature-header .btn-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

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

.signature-canvas-container {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
}

#signature-pad {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}

.signature-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-heading);
}

.signature-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.signature-agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-green);
    border-radius: 4px;
    margin-top: 3px;
    cursor: pointer;
}

.signature-agreement label {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

/* Stripe Secure Element Inputs */
.stripe-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-row {
    display: flex;
    gap: 16px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-field.full { width: 100%; }
.input-field.half { width: 50%; }

.input-field label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.input-field input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
}

.input-field input::placeholder {
    color: var(--text-muted);
}

.input-field input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px var(--primary-green-glow);
    background: rgba(0, 0, 0, 0.35);
}

.card-input-wrapper {
    position: relative;
    width: 100%;
}

.card-input-wrapper input {
    padding-right: 40px;
}

.card-brand-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.card-brand-icon i.text-blue { color: #3B82F6; }
.card-brand-icon i.text-orange { color: #F97316; }
.card-brand-icon i.text-cyan { color: #06B6D4; }

/* Submitting & Action CTA */
.submit-btn {
    background: var(--primary-green);
    color: #0A0A0C;
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 15px 20px;
    cursor: pointer;
    width: 100%;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.submit-btn:hover {
    background: #34D399;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Receipt Panel */
.success-panel {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 32px;
    text-align: center;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary-green);
    box-shadow: 0 0 20px var(--primary-green-glow);
}

.success-panel h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.success-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

.receipt-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    margin-bottom: 32px;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.receipt-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.receipt-number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--primary-green);
    font-weight: 700;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}

.receipt-row .label {
    color: var(--text-secondary);
}

.receipt-row .value {
    color: var(--text-primary);
    font-weight: 600;
    max-width: 60%;
    text-align: right;
}

.signature-receipt-preview {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 4px;
    height: 48px;
    display: flex;
    align-items: center;
}

.signature-receipt-preview img {
    height: 100%;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(1.2);
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.action-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    outline: none;
}

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

.action-btn.primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.action-btn.secondary {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
}

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

/* Apple Pay Simulator Overlay */
.apple-pay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.apple-pay-sheet {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ap-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.ap-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ap-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
}

.ap-row .label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.ap-row .value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.ap-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

.ap-row.total .label {
    font-size: 13px;
    color: var(--text-primary);
}

.ap-row.total .value {
    font-size: 18px;
    font-weight: 800;
}

.ap-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.ap-biometrics-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    padding: 16px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.03);
    border: 1px dashed rgba(16, 185, 129, 0.15);
    width: 100%;
}

.ap-biometrics-loading:hover {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}

.ap-biometrics-loading i {
    font-size: 36px;
    filter: drop-shadow(0 0 10px var(--primary-green-glow));
}

.ap-biometrics-loading i.pulse {
    animation: heartbeat 1.4s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ap-dismiss-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

/* Footer Affiliate Link */
.app-footer {
    width: 100%;
    padding: 32px 24px;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.branding-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.branding-link:hover {
    color: var(--text-secondary);
}

.branding-link .logo-font {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.branding-link .logo-font i {
    font-size: 11px;
}

.branding-link .logo-font .footer-logo-img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 2px;
    margin-top: -2px;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
}

.branding-link .action-text {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* ================= ================= =================
   Responsive Mobile Adjustments
   ========================================================= */

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .main-container {
        padding: 24px 16px;
    }
}

@media (max-width: 576px) {
    .pane-header h1 {
        font-size: 26px;
    }
    .details-pane, .checkout-form {
        padding: 20px;
    }
    .input-row {
        flex-direction: column;
        gap: 16px;
    }
    .input-field.half {
        width: 100%;
    }
    .success-panel {
        padding: 30px 16px;
    }
    .success-actions {
        flex-direction: column;
        gap: 12px;
    }
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}
