/* ============================================
   Order Now Page - Multi-step Form Styles
   MarkupFox (markupfox.com)
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1e8a8a;
    --primary-hover: #167070;
    --secondary-color: #ecf0f0;
    --text-color: #063232;
    --text-muted: #666;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e2e2e2;
    --error-color: #dc3545;
    --success-color: #28a745;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ============================================
   Section Layout
   ============================================ */
.order-form-section {
    padding: 60px 0 100px;
    background: var(--secondary-color);
    min-height: calc(100vh - 200px);
}

/* ============================================
   Order Form Wrapper
   ============================================ */
.order-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
    .order-form-wrapper {
        padding: 24px 16px;
    }
}

/* ============================================
   Step Progress Indicator
   ============================================ */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    font-family: "Poppins", sans-serif;
}

.step-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
    font-family: "Poppins", sans-serif;
}

.step-connector {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    margin: 0 12px;
    margin-bottom: 28px;
    max-width: 120px;
    transition: var(--transition);
}

/* Step States */
.step-item.active .step-number,
.step-item.completed .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.step-item.active .step-label,
.step-item.completed .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-item.completed + .step-connector {
    background: var(--primary-color);
}

@media (max-width: 576px) {
    .step-progress {
        padding: 0;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .step-connector {
        max-width: 60px;
        margin: 0 8px;
        margin-bottom: 24px;
    }
}

/* ============================================
   Form Steps
   ============================================ */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

.step-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    line-height: 1.2;
}

.step-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-family: "Poppins", sans-serif;
}

@media (max-width: 576px) {
    .step-title {
        font-size: 22px;
    }
    
    .step-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

/* ============================================
   Services Grid (Step 1)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Service Card */
.service-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: var(--primary-color);
    background: rgba(30, 138, 138, 0.05);
}

.service-card.selected::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    line-height: 1.2;
}

.service-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: "Poppins", sans-serif;
}

.service-price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.service-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.service-tag {
    font-size: 10px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-tag.best-seller {
    background: #fff3e0;
    color: #e65100;
}

.service-tag.limited-offer {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Services Loading State */
.services-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--secondary-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

.services-loading p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Services Error State */
.services-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: #fff5f5;
    border-radius: var(--radius-md);
    border: 1px solid #ffcdd2;
}

.services-error i {
    font-size: 48px;
    color: var(--error-color);
    margin-bottom: 16px;
}

.services-error p {
    color: var(--error-color);
    margin-bottom: 16px;
}

.services-error button {
    background: var(--error-color);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.services-error button:hover {
    background: #c62828;
}

/* ============================================
   Form Fields (Step 2 & 3)
   ============================================ */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    margin-bottom: 8px;
}

.form-group {
    padding: 0 10px;
    margin-bottom: 24px;
}

.form-group.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.form-group.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 576px) {
    .form-group.col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

.form-group label .required {
    color: var(--error-color);
}

.form-group label .optional {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 138, 138, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.field-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.field-error {
    display: none;
    font-size: 12px;
    color: var(--error-color);
    margin-top: 6px;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--error-color);
}

.form-group.has-error .field-error {
    display: block;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background: rgba(30, 138, 138, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-placeholder i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.file-upload-placeholder .upload-text {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
}

.file-upload-placeholder .upload-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.file-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.file-selected i {
    font-size: 24px;
    color: var(--success-color);
}

.file-selected .file-name {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.file-selected .remove-file {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.file-selected .remove-file:hover {
    color: var(--error-color);
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.terms-checkbox label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.5;
}

.terms-checkbox label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   Form Error Messages
   ============================================ */
.form-error {
    display: none;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    color: var(--error-color);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
}

.form-error.show {
    display: block;
}

/* ============================================
   Form Navigation
   ============================================ */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.form-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: "Poppins", sans-serif;
    border: none;
}

.form-navigation .btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.form-navigation .btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
}

.form-navigation .btn-primary:disabled {
    background: #b0d4d4;
    cursor: not-allowed;
}

.form-navigation .btn-secondary {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.form-navigation .btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--text-color);
}

@media (max-width: 576px) {
    .form-navigation {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Order Summary (Right Column)
   ============================================ */
.order-summary-wrapper {
    position: sticky;
    top: 100px;
}

.order-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    font-family: "Poppins", sans-serif;
}

/* Summary Loading State */
.summary-loading {
    padding: 20px 0;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Summary Empty State */
.summary-empty {
    text-align: center;
    padding: 40px 20px;
}

.summary-empty i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 16px;
}

.summary-empty p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Summary Service Header */
.summary-service-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 0;
}

.summary-service-header .service-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 138, 138, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-service-header .service-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.summary-service-header .service-info {
    flex: 1;
    min-width: 0;
}

.summary-service-header .service-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-family: "Poppins", sans-serif;
}

.summary-service-header .service-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
    line-height: 1.3;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

/* Summary Section */
.summary-section {
    margin-bottom: 0;
}

.summary-section .section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    font-family: "Poppins", sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-section .section-title i {
    font-size: 14px;
    color: var(--primary-color);
}

/* Breakdown Items */
.summary-breakdown .breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
}

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

.summary-breakdown .label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}

.summary-breakdown .label i {
    font-size: 16px;
    color: var(--primary-color);
}

.summary-breakdown .qty-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 11px;
}

.summary-breakdown .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}

/* Add-ons Section */
.summary-addons-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.summary-addons-list {
    margin-bottom: 12px;
}

.summary-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.summary-addon-item .addon-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}

.summary-addon-item .addon-name i {
    font-size: 14px;
    color: var(--primary-color);
}

.summary-addon-item .addon-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}

.addons-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(30, 138, 138, 0.08);
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

.addons-subtotal .label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.addons-subtotal .value {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: "Poppins", sans-serif;
}

/* Summary Total */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(30, 138, 138, 0.08) 0%, rgba(30, 138, 138, 0.04) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(30, 138, 138, 0.15);
}

.summary-total .label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Poppins", sans-serif;
}

.summary-total .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: "Poppins", sans-serif;
}

.summary-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 12px;
    background: var(--secondary-color);
    border-radius: var(--radius-sm);
}

.summary-note i {
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 14px;
}

.summary-note span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Trust Badges */
.trust-badges {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.badge-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.badge-item:first-child {
    padding-top: 0;
}

.badge-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.badge-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}

/* ============================================
   Mobile: Stack Order Summary Below Form
   ============================================ */
@media (max-width: 991px) {
    .order-summary-wrapper {
        position: relative;
        top: 0;
        margin-top: 32px;
    }
}

/* ============================================
   Success Card (Full Width)
   ============================================ */
.success-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 576px) {
    .success-card {
        padding: 40px 20px;
    }
}

/* Confetti Animation */
.success-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    animation: confetti-fall 3s ease-out forwards;
    opacity: 0;
}

.confetti.c1 { background: #ff6b6b; left: 10%; animation-delay: 0s; }
.confetti.c2 { background: #4ecdc4; left: 25%; animation-delay: 0.2s; }
.confetti.c3 { background: #ffe66d; left: 40%; animation-delay: 0.1s; }
.confetti.c4 { background: #95e1d3; left: 55%; animation-delay: 0.3s; }
.confetti.c5 { background: #f38181; left: 70%; animation-delay: 0.15s; }
.confetti.c6 { background: #aa96da; left: 85%; animation-delay: 0.25s; }
.confetti.c7 { background: #fcbad3; left: 15%; animation-delay: 0.35s; }
.confetti.c8 { background: #a8d8ea; left: 80%; animation-delay: 0.05s; }

@keyframes confetti-fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(120px) rotate(720deg);
        opacity: 0;
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    animation: success-pop 0.5s ease-out;
}

@keyframes success-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon i {
    font-size: 48px;
    color: var(--white);
}

.success-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    font-family: "Poppins", sans-serif;
}

@media (max-width: 576px) {
    .success-title {
        font-size: 24px;
    }
}

.success-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.success-description strong {
    color: var(--text-color);
}

.success-details {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 576px) {
    .success-details {
        flex-direction: column;
        gap: 16px;
        text-align: left;
    }
}

.detail-item {
    text-align: center;
}

@media (max-width: 576px) {
    .detail-item {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }
}

.detail-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.detail-value.highlight {
    color: var(--primary-color);
    font-size: 20px;
}

.success-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(30, 138, 138, 0.1);
    border-radius: 30px;
    margin-bottom: 32px;
}

.success-note i {
    color: var(--primary-color);
}

.success-note span {
    font-size: 14px;
    color: var(--text-color);
}

@media (max-width: 576px) {
    .success-note {
        flex-direction: column;
        text-align: center;
        border-radius: var(--radius-md);
    }
}

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

@media (max-width: 576px) {
    .success-actions {
        flex-direction: column;
    }
}

.success-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: "Poppins", sans-serif;
    border: none;
    text-decoration: none;
}

.success-actions .btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.success-actions .btn-primary:hover {
    background: var(--primary-hover);
}

.success-actions .btn-secondary {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.success-actions .btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--text-color);
}

/* Order Number Badge */
.order-number {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(30, 138, 138, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 16px;
    font-family: "Poppins", sans-serif;
    letter-spacing: 1px;
}

/* ============================================
   Submit Error Message
   ============================================ */
.submit-error-message {
    margin-bottom: 16px;
}

.submit-error-message .alert {
    margin: 0;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.submit-error-message .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.submit-error-message .alert i {
    font-size: 16px;
}

/* Submit Button Loading State */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit .spinner-border-sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

/* ============================================
   Design Links Input
   ============================================ */
.design-link-input-wrapper {
    display: flex;
    gap: 8px;
}

.design-link-input-wrapper input {
    flex: 1;
}

.design-link-input-wrapper .add-link-btn {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.design-link-input-wrapper .add-link-btn:hover {
    background: var(--primary-hover);
}

.design-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.design-link-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-color);
    max-width: 100%;
}

.design-link-tag a {
    color: var(--primary-color);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 250px;
}

.design-link-tag a:hover {
    text-decoration: underline;
}

.design-link-tag .remove-link {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.design-link-tag .remove-link:hover {
    background: var(--error-color);
    color: var(--white);
}

/* ============================================
   Files List (Multiple Files)
   ============================================ */
.files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}

.file-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.file-item .file-info {
    flex: 1;
    min-width: 0;
}

.file-item .file-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item .file-size {
    font-size: 12px;
    color: var(--text-muted);
}

.file-item .remove-file {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.file-item .remove-file:hover {
    color: var(--error-color);
}

/* Character Counter */
.char-counter {
    text-align: right;
    display: block;
}

.char-counter.warning {
    color: #e65100;
}

.char-counter.error {
    color: var(--error-color);
}

/* Limit Reached State */
.limit-reached {
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   Add-ons Accordion
   ============================================ */
.addons-accordion {
    margin-top: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: #e4e8e8;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}

.accordion-title i {
    font-size: 20px;
    color: var(--primary-color);
}

.accordion-toggle {
    transition: var(--transition);
}

.accordion-toggle i {
    font-size: 18px;
    color: var(--text-muted);
}

.addons-accordion.open .accordion-toggle {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.addons-accordion.open .accordion-content {
    max-height: 800px;
}

.addons-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid var(--secondary-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.addons-list {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

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

.addon-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    box-sizing: border-box;
}

.addon-item:hover {
    border-color: var(--primary-color);
    background: rgba(30, 138, 138, 0.02);
}

.addon-item.selected {
    border-color: var(--primary-color);
    background: rgba(30, 138, 138, 0.05);
}

.addon-checkbox {
    flex-shrink: 0;
    margin-top: 2px;
}

.addon-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.addon-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.addon-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    font-family: "Poppins", sans-serif;
}

.addon-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    flex: 1;
}

.addon-price {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: "Poppins", sans-serif;
    align-self: flex-start;
    background: rgba(30, 138, 138, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.addons-empty {
    padding: 40px 20px;
    text-align: center;
}

.addons-empty p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Order Summary Add-ons Section */
.summary-addons {
    margin-top: 12px;
}

.summary-addons .breakdown-item {
    font-size: 13px;
}

.summary-addons .breakdown-item .label {
    color: var(--primary-color);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
