:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-indigo: #6366f1;
    --accent-gold: #eab308;
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-focus: rgba(99, 102, 241, 0.4);
    --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --font-sans: 'Outfit', 'Noto Sans KR', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0d1527 0%, #030712 100%);
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.3;
    mix-blend-mode: screen;
    animation: float 25s ease-in-out infinite alternate;
}

.glow-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -10vh;
    left: -10vw;
}

.glow-2 {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -15vh;
    right: -10vw;
    animation-delay: -7s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(6vw, 4vh) scale(1.1); }
}

/* App Container */
.app-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
}

/* Glassmorphism Card Base */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-glow);
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Header */
.header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.sub-logo {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 0.85;
}

.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.step.active .step-num {
    background: var(--accent-indigo);
    border-color: #818cf8;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    color: #ffffff;
}

.step.completed .step-num {
    background: var(--accent-emerald);
    border-color: #34d399;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

.step-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-indigo), var(--accent-emerald));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-line.completed::after {
    width: 100%;
}

/* Main Content */
.main-content {
    min-height: 500px;
}

.step-content {
    padding: 30px;
    display: none;
}

.step-content.active-content {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

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

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.section-title i {
    color: var(--accent-cyan);
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Inputs & Form styling */
.input-group-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-box label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

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

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.3s;
}

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

.divider-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 0.95rem;
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo) 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}

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

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

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

/* OCR Scanner Overlay styling */
.ocr-scanner-overlay {
    position: relative;
    width: 100%;
    height: 280px;
    background: rgba(5, 7, 18, 0.8);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}

.ocr-scanner-overlay.hidden {
    display: none;
}

.scanner-window {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0) 0%, var(--accent-cyan) 50%, rgba(6, 182, 212, 0) 100%);
    box-shadow: 0 0 15px var(--accent-cyan);
    animation: scan 2.2s ease-in-out infinite;
}

@keyframes scan {
    0% { top: 10%; }
    50% { top: 90%; }
    100% { top: 10%; }
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.double-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-cyan);
    border-bottom-color: var(--accent-indigo);
    animation: spin 1.2s linear infinite;
}

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

.scanner-text {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.mock-plate {
    margin-top: 24px;
    background: #fde047;
    color: #0f172a;
    font-weight: 900;
    padding: 10px 28px;
    border-radius: 8px;
    border: 3px solid #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    opacity: 0.9;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
    100% { transform: scale(1.03); box-shadow: 0 8px 25px rgba(253, 224, 71, 0.2); }
}

.mock-plate-num {
    font-size: 1.8rem;
    letter-spacing: 3px;
    font-family: 'Noto Sans KR', sans-serif;
}

.mock-plate-desc {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-top: -2px;
}

/* Vehicle Card Info display */
.vehicle-card {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    animation: slideUp 0.3s ease-out;
}

.vehicle-card.hidden {
    display: none;
}

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

.vehicle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vehicle-card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-primary {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.vehicle-card-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.text-monospace {
    font-family: monospace;
    letter-spacing: 0.5px;
    color: var(--accent-cyan) !important;
}

/* Step 2 & 3 Grid layouts */
.parts-grid-layout, .booking-grid-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .parts-grid-layout, .booking-grid-layout {
        grid-template-columns: 1fr;
    }
}

.selected-vehicle-badge {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #e2e8f0;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.selected-vehicle-badge i {
    color: var(--accent-cyan);
}

/* Part Cards styling */
.part-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

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

.part-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.part-card-title i {
    color: var(--accent-indigo);
}

.part-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Switch UI styling */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.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: .3s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-indigo);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

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

/* Options display row */
.part-options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    transition: opacity 0.3s;
}

.part-option-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    text-align: left;
}

.part-option-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.part-option-btn.selected {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--accent-indigo);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.part-option-btn.selected::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-indigo);
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 1.05rem;
}

.part-option-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
}

.part-option-name {
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 500;
    line-height: 1.4;
    padding-right: 18px;
    min-height: 40px;
}

.part-option-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 4px;
}

.part-card.disabled {
    opacity: 0.35;
}

.part-card.disabled .part-option-btn {
    pointer-events: none;
    background: rgba(255, 255, 255, 0.01) !important;
    border-color: rgba(255, 255, 255, 0.02) !important;
}

/* Side Calculator / Checkout Sidebars */
.calculator-sidebar, .checkout-sidebar {
    padding: 24px;
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    color: var(--accent-cyan);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.calc-row span {
    font-weight: 500;
}

.calc-row span:last-child {
    color: #e2e8f0;
    font-weight: 600;
}

.summary-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.total-row {
    font-size: 1rem;
    color: #ffffff;
}

.total-row span {
    font-weight: 700;
}

.total-row strong {
    font-size: 1.4rem;
    color: var(--accent-cyan);
    font-weight: 800;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.sidebar-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-indigo);
    display: flex;
    gap: 8px;
}

.sidebar-info i {
    color: var(--accent-indigo);
    font-size: 0.95rem;
    margin-top: 1px;
}

/* Step 3 Booking Options */
.booking-options {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sub-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-section-title i {
    color: var(--accent-cyan);
}

.shop-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.shop-card.selected {
    background: rgba(16, 185, 129, 0.06);
    border-color: var(--accent-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.shop-info-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 70%;
}

.shop-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.shop-address {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.shop-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    font-size: 0.8rem;
}

.shop-rating {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
}

.shop-distance {
    color: var(--text-muted);
}

.shop-price-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shop-labor-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-labor-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.shop-card.selected .shop-labor-price {
    color: #34d399;
}

/* Date/time inputs */
.datetime-selection-section {
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.disabled-section {
    opacity: 0.25;
    pointer-events: none;
}

.calendar-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.date-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.3s;
}

.date-input:focus {
    border-color: var(--accent-indigo);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.time-slot-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 0;
    color: #cbd5e1;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-size: 0.85rem;
    font-family: var(--font-sans);
}

.time-slot-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.time-slot-btn.selected {
    background: var(--accent-indigo);
    color: #ffffff;
    border-color: #818cf8;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
}

/* Checkout Sidebar Info items */
.checkout-vehicle-info, .checkout-parts-summary, .checkout-shop-info, .checkout-datetime-info {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-vehicle-info .label, .checkout-parts-summary .label, .checkout-shop-info .label, .checkout-datetime-info .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.checkout-vehicle-info .value, .checkout-shop-info .value, .checkout-datetime-info .value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.checkout-shop-info .address {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.parts-summary-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.parts-summary-list li {
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
}

.parts-summary-list li .p-name {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.parts-summary-list li .p-price {
    font-weight: 600;
    color: var(--accent-cyan);
}

.checkout-shop-info.hidden, .checkout-datetime-info.hidden {
    display: none;
}

/* Virtual Payment Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 18, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay:not(.hidden) .modal-container {
    transform: translateY(0);
}

.modal-container.hidden {
    display: none;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header h3 i {
    color: var(--accent-cyan);
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.close-modal-btn:hover {
    color: #ffffff;
}

.pay-payment-summary {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.pay-merchant {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pay-amount {
    font-size: 1.1rem;
    color: #ffffff;
}

.pay-amount strong {
    color: var(--accent-cyan);
    font-size: 1.35rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.pay-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.pay-method-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all 0.2s;
    font-weight: 600;
}

.pay-method-card i {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.pay-method-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.pay-method-card.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-indigo);
    color: #ffffff;
}

.pay-method-card.active i {
    color: var(--accent-indigo);
}

.pay-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.pay-card-details label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pay-select {
    padding: 10px 12px;
    border-radius: 8px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-sans);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

/* Step 4 Success Screen styling */
.success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.success-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.success-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-emerald);
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.35;
    z-index: 1;
}

.success-check-icon {
    font-size: 4rem;
    color: var(--accent-emerald);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.success-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.success-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.5;
}

/* Receipt Card */
.order-receipt-card {
    width: 100%;
    max-width: 480px;
    padding: 24px;
    text-align: left;
    margin-bottom: 30px;
}

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

.receipt-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.receipt-id {
    font-size: 1.05rem;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    font-family: monospace;
}

.receipt-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.receipt-row .lbl {
    color: var(--text-muted);
    font-weight: 500;
}

.receipt-row .val {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.receipt-row .val.highlight {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.success-actions {
    margin-top: 10px;
}

.guide-box {
    margin-top: 36px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px dashed rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 16px;
    max-width: 580px;
    text-align: left;
}

.guide-box i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-top: 2px;
}

.guide-box span {
    font-size: 0.8rem;
    color: #e2e8f0;
    line-height: 1.5;
}
