/* ==========================================================================
   CUSTOMER PRINT PORTAL - MODERN PREMIUM GLASSMORPHIC DESIGN SYSTEM
   ========================================================================== */

.customer-container {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: clamp(14px, 3vw, 24px);
    padding-bottom: 120px;
}

/* Shop Brand Hero */
.shop-hero {
    text-align: center;
    padding: 24px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.shop-title {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: #f8fafc;
}

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

/* 📄 Animated Upload Dropzone */
.dropzone {
    border: 2px dashed rgba(99, 102, 241, 0.45);
    border-radius: var(--radius-md);
    padding: 32px 18px;
    text-align: center;
    cursor: pointer;
    background: rgba(17, 24, 39, 0.5);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}

.dropzone:hover, .dropzone.drag-over {
    border-color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.25);
}

.dropzone-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.file-info-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-top: 12px;
}

/* ⚙️ Step 2: Print Configuration Rows */
.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
}

.option-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.option-label {
    flex: 1;
}

.option-label div {
    font-size: 0.92rem;
    font-weight: 800;
    color: #f1f5f9;
}

.option-label small {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* 🔘 Modern Segmented Pill Toggles */
.toggle-group {
    display: flex;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 3px;
    gap: 2px;
}

.btn-toggle {
    padding: 7px 14px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

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

.btn-toggle.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 10px var(--primary-glow);
}

/* ➕ Copies Stepper */
.copies-stepper {
    display: flex;
    align-items: center;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 2px;
}

.copies-stepper .step-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.status-step.completed .step-icon {
    background: #10b981;
    color: #ffffff;
}

/* 📄 Realistic A4 Sheet Print Simulation */
.a4-preview-wrapper {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px;
    margin: 14px 0;
}

.a4-sheet-simulator {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1.414;
    background: #ffffff;
    border-radius: 6px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 12px;
    box-sizing: border-box;
    transition: filter 0.2s ease;
}

.a4-sheet-simulator.is-bw {
    filter: grayscale(100%) contrast(1.15);
}

.a4-id-slot-preview {
    width: 100%;
    height: 44%;
    border: 1.5px dashed #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.a4-id-slot-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.a4-id-slot-placeholder {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.a4-cut-line {
    border-top: 1px dashed #cbd5e1;
    width: 100%;
    margin: 4px 0;
    position: relative;
}

.a4-cut-line::after {
    content: "✂️ CUT / FOLD LINE";
    position: absolute;
    right: 0;
    top: -8px;
    font-size: 0.55rem;
    color: #94a3b8;
    background: #ffffff;
    padding: 0 4px;
    font-weight: 700;
}

.preview-toggle-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.preview-pill-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.preview-pill-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-item-preview {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-item-preview:hover {
    background: var(--primary);
    color: #ffffff;
}

.copies-stepper .step-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.copies-stepper input {
    width: 38px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    outline: none;
}

/* 💳 Sticky Checkout Action Bar */
.checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.6);
    max-width: 540px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
}

.price-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.price-val {
    font-size: 1.45rem;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1.1;
}

.price-breakdown {
    font-size: 0.74rem;
    color: var(--text-secondary);
}

/* 📱 Payment Drawer Tab Pills */
.pay-option-tab {
    display: flex;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 16px;
    gap: 4px;
}

.pay-tab-btn {
    flex: 1;
    padding: 8px 6px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 800;
    font-size: 0.78rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

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

.pay-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 10px var(--primary-glow);
}

/* Copy UPI Badge */
.copy-upi-badge {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-upi-badge:hover {
    background: #e2e8f0;
    transform: scale(1.02);
}
