/* Compact Dark-Themed Custom Order Wizard */
:root {
    /* Improved Dark Theme Colors - Less Black */
    --tgpco-bg-primary: #1A1A1A;
    --tgpco-bg-secondary: #252525;
    --tgpco-bg-tertiary: #2F2F2F;
    --tgpco-bg-card: #333333;
    --tgpco-text-primary: #FFFFFF;
    --tgpco-text-secondary: #E0E0E0;
    --tgpco-text-muted: #999999;
    --tgpco-text-light: #CCCCCC;
    --tgpco-primary: #6366F1;
    --tgpco-primary-light: #818CF8;
    --tgpco-primary-dark: #4F46E5;
    --tgpco-accent: #F472B6;
    --tgpco-success: #10B981;
    --tgpco-warning: #F59E0B;
    --tgpco-danger: #EF4444;
    --tgpco-info: #06B6D4;
    --tgpco-border: #444444;
    --tgpco-border-light: #555555;
    --tgpco-border-radius: 8px;
    --tgpco-border-radius-lg: 12px;
    --tgpco-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --tgpco-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --tgpco-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --tgpco-transition: all 0.2s ease;
    --tgpco-glass-bg: rgba(26, 26, 26, 0.95);
    --tgpco-glass-border: rgba(255, 255, 255, 0.1);
}

/* Global Reset */
.tgpco-modal * {
    box-sizing: border-box;
}

/* Modal Overlay - Less Dark */
.tgpco-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tgpco-modal.modal-visible {
    opacity: 1;
}

/* Compact Modal Content */
.tgpco-modal-content {
    background: var(--tgpco-bg-primary);
    border: 1px solid var(--tgpco-border);
    border-radius: var(--tgpco-border-radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    color: var(--tgpco-text-primary);
    box-shadow: var(--tgpco-shadow-xl);
    transform: translateY(-20px) scale(0.98);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.tgpco-modal.modal-visible .tgpco-modal-content {
    transform: translateY(0) scale(1);
}

/* SweetAlert2 */
.swal2-container {
    z-index: 2147483647 !important; /* Maximum possible z-index */
}

/* Specific styling for close modal container */
.tgpco-close-modal-container {
    z-index: 2147483647 !important; /* Maximum possible z-index */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Force all SweetAlert elements to be visible above everything */
.swal2-container,
.swal2-popup,
.swal2-modal,
.tgpco-swal-popup,
.swal2-mobile-popup {
    z-index: 2147483647 !important;
    position: fixed !important;
}

/* Mobile-specific overrides to ensure visibility */
@media (max-width: 768px) {
    .swal2-container {
        z-index: 2147483647 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.8) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .swal2-popup,
    .tgpco-swal-popup,
    .swal2-mobile-popup {
        position: relative !important;
        z-index: auto !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    }
}

.swal2-popup {
    background: var(--tgpco-bg-primary) !important;
    color: var(--tgpco-text-primary) !important;
    border-radius: var(--tgpco-border-radius) !important;
    border: 1px solid var(--tgpco-border) !important;
}

.tgpco-swal-popup {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.tgpco-swal-title {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.tgpco-swal-text {
    color: #e0e0e0 !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
}

.tgpco-swal-confirm {
    background: #dc3545 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.tgpco-swal-confirm:hover {
    background: #c82333 !important;
    transform: translateY(-1px) !important;
}

.tgpco-swal-cancel {
    background: #3085d6 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.tgpco-swal-cancel:hover {
    background: #2673c4 !important;
    transform: translateY(-1px) !important;
}

.swal2-icon.swal2-warning {
    border-color: #ffc107 !important;
    color: #ffc107 !important;
}

.swal2-icon.swal2-warning .swal2-icon-content {
    color: #ffc107 !important;
    font-weight: 600 !important;
}

/* Compact Modal Header */
.tgpco-modal-header {
    padding: 16px 20px 8px 20px;
    border-bottom: 1px solid var(--tgpco-border);
    position: relative;
    flex-shrink: 0;
}

/* Close Button - Fixed */
.tgpco-close-modal {
    position: absolute !important;
    top: 16px !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
    color: var(--tgpco-text-muted) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.tgpco-close-modal:hover {
    color: var(--tgpco-danger) !important;
    background: rgba(239, 68, 68, 0.1) !important;
    transform: scale(1.1) rotate(90deg) !important;
}

.tgpco-close-modal:active {
    transform: scale(1.05) rotate(90deg) !important;
}

/* Compact Modal Body */
.tgpco-modal-body {
    padding: 12px 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.tgpco-modal-body::-webkit-scrollbar {
    width: 4px;
}

.tgpco-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.tgpco-modal-body::-webkit-scrollbar-thumb {
    background: var(--tgpco-border);
    border-radius: 2px;
}

/* Compact Modal Footer - Fixed */
.tgpco-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--tgpco-border);
    background: var(--tgpco-bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 60px;
}

/* Footer Layout */
.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tgpco-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.current-step {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--tgpco-primary) 0%, var(--tgpco-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-separator, .total-steps {
    color: var(--tgpco-text-muted);
}

/* Compact Progress Steps */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tgpco-border);
    z-index: 1;
}

.wizard-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tgpco-bg-tertiary) 0%, var(--tgpco-bg-card) 100%);
    border: 2px solid var(--tgpco-border);
    color: var(--tgpco-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wizard-step.active .step-number {
    background: linear-gradient(135deg, var(--tgpco-primary) 0%, var(--tgpco-primary-light) 100%);
    border-color: var(--tgpco-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.wizard-step.completed .step-number {
    background: linear-gradient(135deg, var(--tgpco-success) 0%, #14D574 100%);
    border-color: var(--tgpco-success);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.step-label {
    font-size: 11px;
    color: var(--tgpco-text-muted);
    font-weight: 500;
    transition: var(--tgpco-transition);
}

.wizard-step.active .step-label {
    color: var(--tgpco-text-primary);
    font-weight: 600;
}

.wizard-step.completed .step-label {
    color: var(--tgpco-success);
}

/* Compact Step Content */
.wizard-step-content {
    padding: 8px 0;
    animation: stepFadeIn 0.2s ease;
}

.step-title {
    color: var(--tgpco-text-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-description {
    color: var(--tgpco-text-light);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
}

/* Mobile styles - hide step text labels */
@media (max-width: 768px) {
    .wizard-step .step-label {
        display: none !important;
    }
    
    .wizard-progress {
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px 16px !important;
        margin-bottom: 12px !important;
    }
    
    .wizard-step {
        flex: none !important;
        min-width: auto !important;
        text-align: center !important;
    }
    
    .wizard-step .step-number {
        width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        font-size: 14px !important;
    }
}

/* Compact Grid Layout */
.main-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.pricing-box, .delivery-box {
    background: var(--tgpco-bg-card);
    border: 1px solid var(--tgpco-border);
    border-radius: var(--tgpco-border-radius);
    padding: 12px;
    transition: var(--tgpco-transition);
}

.pricing-box:hover, .delivery-box:hover {
    border-color: var(--tgpco-border-light);
}

.pricing-box h5, .delivery-box h5 {
    color: var(--tgpco-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-box h5::before {
    content: '';
    font-size: 14px;
}

.delivery-box h5::before {
    content: '';
    font-size: 14px;
}

.price-content, .delivery-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.base-price, .revision-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--tgpco-text-secondary);
    font-weight: 500;
    font-size: 13px;
}

.base-price span, .revision-price span {
    color: var(--tgpco-text-primary);
    font-weight: 600;
    font-size: 14px;
}

.delivery-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
    font-size: 13px;
}

.delivery-row i {
    color: var(--tgpco-primary);
    width: 12px;
    font-size: 12px;
}

/* New Revision Info Section */
.revision-info-section {
    background: var(--tgpco-bg-card);
    border: 1px solid var(--tgpco-border);
    border-radius: var(--tgpco-border-radius);
    padding: 12px;
    margin-bottom: 16px;
    transition: var(--tgpco-transition);
}

.revision-info-section:hover {
    border-color: var(--tgpco-border-light);
}

.revision-info-section h5 {
    color: var(--tgpco-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.revision-info-section h5::before {
    content: '';
    font-size: 14px;
}

.revision-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.revision-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
    font-size: 13px;
    color: var(--tgpco-text-secondary);
}

.revision-row i {
    color: var(--tgpco-primary);
    width: 12px;
    font-size: 12px;
}

/* Compact Section Blocks */
.section-block {
    margin-bottom: 16px;
}

.section-block h5 {
    color: var(--tgpco-text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-block h5::before {
    content: '';
    font-size: 16px;
}

/* Compact Addons */
.addons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addon-row {
    background: var(--tgpco-bg-card);
    border: 1px solid var(--tgpco-border);
    padding: 12px;
    border-radius: var(--tgpco-border-radius);
    transition: var(--tgpco-transition);
}

.addon-row:hover {
    border-color: var(--tgpco-border-light);
}

.addon-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.addon-name {
    color: var(--tgpco-text-primary);
    font-weight: 600;
    font-size: 14px;
}

.addon-price {
    color: var(--tgpco-primary);
    font-weight: 700;
    font-size: 14px;
}

.addon-delivery-time {
    color: var(--tgpco-success);
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.3;
    padding: 4px 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
}

.addon-description {
    color: var(--tgpco-text-light);
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.3;
}

/* Fast Delivery Time Comparison Styles */
.delivery-time-comparison {
    margin-top: 8px;
    padding: 8px 0;
}

.delivery-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
}

.delivery-item:last-child {
    margin-bottom: 0;
}

.delivery-label {
    color: var(--tgpco-text-muted);
    font-weight: 600;
    width: 40px;
    flex-shrink: 0;
}

.delivery-time.fast {
    color: var(--tgpco-success);
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 6px;
    font-size: 11px;
}

.delivery-vs {
    color: var(--tgpco-text-muted);
    font-size: 11px;
    text-decoration: line-through;
}

/* Compact DAW Options */
.daw-options {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--tgpco-border);
}

.daw-options-label {
    color: var(--tgpco-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.daw-options-label::before {
    content: '';
    font-size: 14px;
}

.daw-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.daw-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    color: var(--tgpco-primary-light);
    font-size: 11px;
    font-weight: 500;
    transition: var(--tgpco-transition);
}

.daw-tag:hover {
    background: rgba(99, 102, 241, 0.2);
}

/* Compact Form Controls */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    color: var(--tgpco-text-primary);
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    padding: 10px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 40px;
    border-radius: 12px !important;
    border: 2px solid var(--tgpco-border);
    background: linear-gradient(135deg, var(--tgpco-bg-card) 0%, var(--tgpco-bg-tertiary) 100%);
    color: var(--tgpco-text-primary);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: var(--tgpco-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--tgpco-bg-card);
}

.form-control::placeholder {
    color: var(--tgpco-text-muted);
}

.form-note {
    font-size: 12px;
    color: var(--tgpco-text-muted);
    margin-top: 4px;
    line-height: 1.3;
}

/* Compact Reference Links */
.reference-links-container {
    margin-bottom: 16px;
}

.reference-link-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}

.reference-link-item input {
    flex: 1;
}

.reference-link-item button {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--tgpco-danger);
    background: rgba(239, 68, 68, 0.1);
    color: var(--tgpco-danger);
    cursor: pointer;
    transition: var(--tgpco-transition);
    min-width: 32px;
    height: 32px;
}

.reference-link-item button:hover {
    background: var(--tgpco-danger);
    color: white;
}

/* Compact File Upload */
.reference-tracks-uploader {
    margin-bottom: 16px;
}

.upload-zone {
    padding: 18px 16px;
    min-height: 70px;
    border-radius: 16px !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--tgpco-bg-card) 0%, rgba(99, 102, 241, 0.02) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.upload-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-zone:hover::before,
.upload-zone.dragover::before {
    opacity: 1;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--tgpco-primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.upload-prompt {
    color: var(--tgpco-text-light);
    font-size: 14px;
    margin-bottom: 4px;
}

.upload-prompt i {
    font-size: 24px;
    color: var(--tgpco-primary);
    margin-bottom: 8px;
    display: block;
}

.upload-note {
    font-size: 11px;
    color: var(--tgpco-text-muted);
    margin-top: 4px;
}

/* Compact DAW Options Grid */
.daw-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.daw-option {
    min-height: 40px;
    border-radius: 12px !important;
    padding: 10px;
    background: var(--tgpco-bg-card);
    border: 1px solid var(--tgpco-border);
    cursor: pointer;
    transition: var(--tgpco-transition);
}

.daw-option:hover {
    border-color: var(--tgpco-border-light);
}

.daw-option.active {
    border-color: var(--tgpco-primary);
    background: rgba(99, 102, 241, 0.1);
}

.daw-option input[type="radio"] {
    display: none;
}

.daw-name {
    color: var(--tgpco-text-primary);
    font-weight: 600;
    font-size: 12px;
}

/* Compact Addon Options */
.addon-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addon-item {
    background: var(--tgpco-bg-card);
    border: 1px solid var(--tgpco-border);
    border-radius: var(--tgpco-border-radius);
    padding: 12px;
    transition: var(--tgpco-transition);
}

.addon-item:hover {
    border-color: var(--tgpco-border-light);
}

.addon-checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.addon-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--tgpco-primary);
}

.addon-name {
    flex: 1;
    color: var(--tgpco-text-primary);
    font-size: 14px;
}

.addon-price {
    color: var(--tgpco-primary);
    font-weight: 700;
    font-size: 14px;
}

.addon-description {
    color: var(--tgpco-text-light);
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.3;
}

/* Compact Order Summary */
.order-summary {
    background: var(--tgpco-bg-card);
    border: 1px solid var(--tgpco-border);
    border-radius: var(--tgpco-border-radius);
    padding: 16px;
    margin-bottom: 16px;
}

.summary-section {
    margin-bottom: 16px;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-section h4 {
    color: var(--tgpco-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--tgpco-border);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    font-size: 13px;
}

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

.summary-label {
    color: var(--tgpco-text-light);
    font-weight: 500;
}

.summary-value {
    color: var(--tgpco-text-primary);
    font-weight: 600;
}

.total-section {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--tgpco-border-radius);
    padding: 12px;
    margin-top: 16px;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.total-label {
    color: var(--tgpco-text-primary);
    font-weight: 600;
    font-size: 14px;
}

.total-value {
    color: var(--tgpco-primary);
    font-weight: 700;
    font-size: 16px;
}

/* Compact Price Summary */
.price-summary {
    background: var(--tgpco-bg-card);
    border: 1px solid var(--tgpco-border);
    border-radius: var(--tgpco-border-radius);
    padding: 12px;
    margin-top: 16px;
}

.price-summary h4 {
    color: var(--tgpco-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.base-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    color: var(--tgpco-text-primary);
    font-weight: 500;
    font-size: 13px;
}

.selected-addons {
    margin: 8px 0;
}

.addon-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    color: var(--tgpco-text-light);
    font-size: 12px;
}

.no-addons-message {
    color: var(--tgpco-text-muted);
    font-style: italic;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
}

.total-amount {
    color: var(--tgpco-primary);
    font-weight: 700;
    font-size: 16px;
}

/* Compact Deposit Information */
.deposit-info {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--tgpco-border-radius);
    padding: 8px;
    margin-top: 8px;
}

.deposit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    font-size: 12px;
}

.deposit-label {
    color: var(--tgpco-text-light);
    font-weight: 500;
}

.deposit-amount {
    color: var(--tgpco-success);
    font-weight: 600;
}

.deposit-note {
    color: var(--tgpco-text-muted);
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.3;
}

/* Compact Alerts */
.tgpco-alert {
    padding: 8px 12px;
    border-radius: var(--tgpco-border-radius);
    margin-bottom: 8px;
    border-left: 3px solid;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.tgpco-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--tgpco-danger);
    color: var(--tgpco-danger);
}

.tgpco-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--tgpco-success);
    color: var(--tgpco-success);
}

.tgpco-alert::before {
    font-size: 16px;
}

.tgpco-alert-danger::before {
    content: '⚠️';
}

.tgpco-alert-success::before {
    content: '✅';
}

/* Compact Loading States */
.tgpco-loading {
    text-align: center;
    padding: 30px 16px;
    color: var(--tgpco-text-light);
}

.tgpco-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 8px;
}

/* Modern Buttons */
.tgpco-btn {
    padding: 8px 20px !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 80px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 36px !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.tgpco-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    transition: left 0.5s !important;
}

.tgpco-btn:hover::before {
    left: 100% !important;
}

.tgpco-btn-primary {
    background: linear-gradient(135deg, var(--tgpco-primary) 0%, var(--tgpco-primary-light) 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
}

.tgpco-btn-primary:hover {
    background: linear-gradient(135deg, var(--tgpco-primary-dark) 0%, var(--tgpco-primary) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
}

.tgpco-btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important;
}

.tgpco-btn-primary:disabled {
    background: linear-gradient(135deg, var(--tgpco-border) 0%, var(--tgpco-border-light) 100%) !important;
    color: var(--tgpco-text-muted) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.tgpco-btn-secondary {
    background: linear-gradient(135deg, var(--tgpco-bg-card) 0%, var(--tgpco-bg-tertiary) 100%) !important;
    border: 1px solid var(--tgpco-border) !important;
    color: var(--tgpco-text-primary) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.tgpco-btn-secondary:hover {
    background: linear-gradient(135deg, var(--tgpco-bg-tertiary) 0%, var(--tgpco-bg-card) 100%) !important;
    border-color: var(--tgpco-border-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.tgpco-btn-secondary:active {
    transform: translateY(0) !important;
}

.tgpco-btn-outline {
    background: rgba(99, 102, 241, 0.1) !important;
    border: 2px solid var(--tgpco-primary) !important;
    color: var(--tgpco-primary) !important;
    backdrop-filter: blur(10px) !important;
}

.tgpco-btn-outline:hover {
    background: var(--tgpco-primary) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
}

.tgpco-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Button Icons */
.tgpco-btn i {
    transition: transform 0.3s ease !important;
    font-size: 12px !important;
}

.tgpco-btn:hover i {
    transform: translateX(2px) !important;
}

.tgpco-btn-secondary:hover i {
    transform: translateX(-2px) !important;
}

/* Loading Spinner for Buttons */
.spinner {
    width: 14px !important;
    height: 14px !important;
    border: 2px solid transparent !important;
    border-top: 2px solid currentColor !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

.tgpco-btn.loading {
    pointer-events: none !important;
    position: relative !important;
}

.tgpco-btn.loading::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 14px !important;
    height: 14px !important;
    border: 2px solid transparent !important;
    border-top: 2px solid currentColor !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

/* Step Indicator Modern Style */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tgpco-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.current-step {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--tgpco-primary) 0%, var(--tgpco-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-separator, .total-steps {
    color: var(--tgpco-text-muted);
}

/* Progress Steps Modern Style */
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tgpco-bg-tertiary) 0%, var(--tgpco-bg-card) 100%);
    border: 2px solid var(--tgpco-border);
    color: var(--tgpco-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wizard-step.active .step-number {
    background: linear-gradient(135deg, var(--tgpco-primary) 0%, var(--tgpco-primary-light) 100%);
    border-color: var(--tgpco-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.wizard-step.completed .step-number {
    background: linear-gradient(135deg, var(--tgpco-success) 0%, #14D574 100%);
    border-color: var(--tgpco-success);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Form Controls Modern Style */
.form-control {
    padding: 10px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 40px;
    border-radius: 12px !important;
    border: 2px solid var(--tgpco-border);
    background: linear-gradient(135deg, var(--tgpco-bg-card) 0%, var(--tgpco-bg-tertiary) 100%);
    color: var(--tgpco-text-primary);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: var(--tgpco-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--tgpco-bg-card);
}

.form-control::placeholder {
    color: var(--tgpco-text-muted);
}

/* Upload Zone Modern Style */
.upload-zone {
    padding: 18px 16px;
    min-height: 70px;
    border-radius: 16px !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--tgpco-bg-card) 0%, rgba(99, 102, 241, 0.02) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.upload-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-zone:hover::before,
.upload-zone.dragover::before {
    opacity: 1;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--tgpco-primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

/* Responsive Design - Compact */
@media (max-width: 768px) {
    .tgpco-modal {
        padding: 8px;
    }
    
    .tgpco-modal-content {
        max-height: 90vh;
        border-radius: 16px;
    }
    
    .tgpco-modal-header {
        padding: 16px 20px 8px 20px;
    }
    
    .tgpco-modal-body {
        padding: 12px 20px;
    }
    
    .tgpco-modal-footer {
        padding: 16px 20px;
        flex-direction: row;
        gap: 12px;
        min-height: 64px;
    }

    /* Compact Button Responsive */
    .tgpco-btn {
        padding: 8px 18px;
        font-size: 13px;
        height: 36px;
        min-width: 80px;
        border-radius: 50px;
    }

    /* Minimal Close Button Responsive */
    .tgpco-close-modal {
        top: 12px;
        right: 16px;
        width: 32px;
        height: 32px;
        padding: 6px;
        border-radius: 50%;
        font-size: 18px;
    }

    /* Compact Progress Steps */
    .wizard-progress {
        margin-bottom: 16px;
        padding: 0 12px;
    }
    
    .wizard-progress::before {
        display: none;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
        margin-bottom: 6px;
    }

    .step-label {
        font-size: 11px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .main-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .revision-info-section {
        margin-bottom: 16px;
    }

    /* Compact Form Controls */
    .form-control {
        padding: 10px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 40px;
        border-radius: 12px !important;
    }

    /* Compact Step Indicator */
    .step-indicator {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 50px;
    }
    
    .current-step {
        font-size: 14px;
    }

    /* Compact Upload Zone */
    .upload-zone {
        padding: 18px 16px;
        min-height: 70px;
        border-radius: 16px !important;
    }
    
    .upload-prompt i {
        font-size: 22px;
    }

    /* Compact DAW Options */
    .daw-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 8px;
    }

    .daw-option {
        min-height: 40px;
        border-radius: 12px !important;
        padding: 10px;
    }

    /* Compact Reference Links */
    .reference-link-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .reference-link-item button {
        align-self: flex-end;
        min-width: 40px;
        height: 40px;
        border-radius: 50px;
    }
    
    .footer-left,
    .footer-right {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .tgpco-modal {
        padding: 6px;
    }
    
    .tgpco-modal-content {
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .tgpco-modal-header {
        padding: 12px 16px 6px 16px;
    }
    
    .tgpco-modal-body {
        padding: 8px 16px;
    }
    
    .tgpco-modal-footer {
        padding: 12px 16px;
        gap: 8px;
        min-height: 56px;
        flex-wrap: wrap;
    }

    /* Ultra-compact buttons */
    .tgpco-btn {
        padding: 6px 16px;
        font-size: 12px;
        height: 32px;
        min-width: 70px;
        border-radius: 50px;
    }

    /* Ultra-minimal close button */
    .tgpco-close-modal {
        top: 8px;
        right: 12px;
        width: 28px;
        height: 28px;
        padding: 4px;
        border-radius: 50%;
        font-size: 16px;
    }

    /* Ultra-compact progress */
    .wizard-progress {
        padding: 0 8px;
        margin-bottom: 12px;
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .step-label {
        font-size: 10px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    /* Ultra-compact form elements */
    .form-control {
        padding: 8px 14px;
        min-height: 36px;
        border-radius: 12px !important;
    }

    /* Ultra-compact step indicator */
    .step-indicator {
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 50px;
    }
    
    .current-step {
        font-size: 13px;
    }

    /* Ultra-compact sections */
    .pricing-box, .delivery-box, .revision-info-section {
        padding: 12px;
        border-radius: 12px !important;
    }
    
    .addon-row, .addon-item {
        padding: 12px;
        border-radius: 12px !important;
    }
    
    .order-summary {
        padding: 12px;
        border-radius: 12px !important;
    }

    /* Ultra-compact upload zone */
    .upload-zone {
        padding: 14px 12px;
        min-height: 60px;
        border-radius: 16px !important;
    }

    /* Stack footer on very small screens */
    .tgpco-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-left {
        order: 2;
        justify-content: center;
        margin-top: 8px;
    }

    .footer-right {
        order: 1;
        gap: 8px;
    }

    .tgpco-btn {
        flex: 1;
        min-width: 0;
    }
}

/* SweetAlert2 Custom Styling */
.modern-swal-popup {
    background: var(--tgpco-bg-primary) !important;
    border-radius: var(--tgpco-border-radius) !important;
    border: 1px solid var(--tgpco-border) !important;
}

.modern-swal-popup .swal2-title {
    color: var(--tgpco-text-primary) !important;
}

.modern-swal-popup .swal2-html-container {
    color: var(--tgpco-text-light) !important;
}

.modern-swal-confirm-button {
    background: var(--tgpco-primary) !important;
    border-radius: var(--tgpco-border-radius) !important;
}

.modern-swal-confirm-button:hover {
    background: var(--tgpco-primary-dark) !important;
}

.modern-swal-cancel-button {
    background: var(--tgpco-bg-card) !important;
    border: 1px solid var(--tgpco-border) !important;
    color: var(--tgpco-text-primary) !important;
    border-radius: var(--tgpco-border-radius) !important;
}

.modern-swal-cancel-button:hover {
    background: var(--tgpco-bg-tertiary) !important;
}

/* Animation Keyframes - Simplified */
@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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