/* =========================================================
   K2 Hub CRM — Orders & Clients Styling (Design System)
   ========================================================= */

/* KPI Cards Grid */
.crm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.crm-stat-card {
    background: var(--k2-surface);
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--k2-shadow-sm);
    transition: var(--k2-transition);
}

.crm-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--k2-shadow-md);
    border-color: rgba(0, 92, 154, 0.25);
}

.crm-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--k2-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crm-stat-icon.blue { background: rgba(0, 92, 154, 0.12); color: var(--k2-blue); }
.crm-stat-icon.orange { background: rgba(243, 86, 9, 0.12); color: var(--k2-orange); }
.crm-stat-icon.green { background: rgba(16, 185, 129, 0.12); color: var(--k2-success); }
.crm-stat-icon.purple { background: rgba(147, 51, 234, 0.12); color: #9333ea; }
.crm-stat-icon.amber { background: rgba(245, 158, 11, 0.12); color: var(--k2-warning); }

.crm-stat-content {
    flex: 1;
    min-width: 0;
}

.crm-stat-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--k2-text-muted);
    margin-bottom: 4px;
}

.crm-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--k2-text);
    line-height: 1.2;
}

.crm-stat-sub {
    font-size: 11px;
    color: var(--k2-text-secondary);
    margin-top: 2px;
}

/* Filters bar */
.crm-filter-bar {
    background: var(--k2-surface);
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius-md);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    box-shadow: var(--k2-shadow-sm);
}

.crm-search-box {
    position: relative;
    flex: 1 1 260px;
}

.crm-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--k2-text-muted);
    pointer-events: none;
}

.crm-search-box input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    font-size: 13px;
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius);
    background: var(--k2-bg-secondary);
    color: var(--k2-text);
    outline: none;
    transition: var(--k2-transition);
}

.crm-search-box input:focus {
    background: #fff;
    border-color: var(--k2-blue);
    box-shadow: 0 0 0 3px rgba(0, 92, 154, 0.15);
}

.crm-filter-select {
    padding: 9px 12px;
    font-size: 13px;
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius);
    background: var(--k2-surface);
    color: var(--k2-text);
    outline: none;
    cursor: pointer;
    min-width: 140px;
}

.crm-filter-select:focus {
    border-color: var(--k2-blue);
}

/* Table Enhancements */
.crm-table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-title-link {
    font-weight: 600;
    color: var(--k2-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--k2-transition);
}

.service-title-link:hover {
    color: var(--k2-orange);
    text-decoration: underline;
}

.client-link {
    font-weight: 600;
    color: var(--k2-text);
    text-decoration: none;
    display: block;
    line-height: 1.3;
}

.client-link:hover {
    color: var(--k2-blue);
}

.website-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--k2-text-secondary);
    background: var(--k2-bg-secondary);
    padding: 2px 7px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--k2-border-light);
    margin-top: 3px;
    transition: var(--k2-transition);
}

.website-chip:hover {
    color: var(--k2-blue);
    border-color: var(--k2-blue);
    background: #fff;
}

/* Status with change date */
.status-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.status-change-date {
    font-size: 11px;
    color: var(--k2-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.status-change-date i {
    width: 11px;
    height: 11px;
}

/* Badges */
.badge-order-new { background: rgba(0, 92, 154, 0.12); color: var(--k2-blue); border: 1px solid rgba(0, 92, 154, 0.25); }
.badge-order-in_progress { background: rgba(245, 158, 11, 0.15); color: #b45309; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-order-agreement { background: rgba(147, 51, 234, 0.12); color: #7e22ce; border: 1px solid rgba(147, 51, 234, 0.25); }
.badge-order-in_work { background: rgba(6, 182, 212, 0.15); color: #0e7490; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-order-completed { background: rgba(16, 185, 129, 0.15); color: #047857; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-order-cancelled { background: rgba(239, 68, 68, 0.12); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.25); }

.badge-pay-unpaid { background: rgba(239, 68, 68, 0.12); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.25); }
.badge-pay-partially_paid { background: rgba(245, 158, 11, 0.15); color: #b45309; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-pay-paid { background: rgba(16, 185, 129, 0.15); color: #047857; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-pay-refunded { background: rgba(156, 163, 175, 0.2); color: #4b5563; border: 1px solid rgba(156, 163, 175, 0.3); }

/* =========================================================
   ORDER CARD VIEW (Full page, not a popup)
   ========================================================= */
.order-card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header summary banner */
.order-banner-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius-lg);
    padding: 24px;
    box-shadow: var(--k2-shadow-sm);
    position: relative;
    overflow: hidden;
}

.order-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--k2-blue);
}

.order-banner-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.order-main-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--k2-text);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 6px 0;
}

.order-number-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--k2-blue);
    background: rgba(0, 92, 154, 0.1);
    padding: 4px 10px;
    border-radius: var(--k2-radius-sm);
    font-family: var(--k2-font-mono);
}

.order-sub-meta {
    font-size: 13px;
    color: var(--k2-text-muted);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Pipeline Workflow Stepper */
.workflow-stepper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    background: var(--k2-bg-secondary);
    padding: 8px;
    border-radius: var(--k2-radius-md);
    border: 1px solid var(--k2-border);
}

.stepper-step {
    padding: 10px 12px;
    border-radius: var(--k2-radius);
    text-align: center;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--k2-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stepper-step:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--k2-border);
}

.stepper-step.active {
    background: #ffffff;
    box-shadow: var(--k2-shadow-md);
    border-color: var(--k2-blue);
    cursor: default;
}

.stepper-step.completed {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.stepper-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--k2-text);
}

.stepper-step.active .stepper-label {
    color: var(--k2-blue);
    font-weight: 700;
}

.stepper-time {
    font-size: 10px;
    color: var(--k2-text-muted);
    white-space: nowrap;
}

/* Order Grid Layout */
.order-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards within Detail View */
.order-section-card {
    background: var(--k2-surface);
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius-md);
    padding: 20px;
    box-shadow: var(--k2-shadow-sm);
    margin-bottom: 20px;
}

.order-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--k2-border-light);
}

.order-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--k2-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.order-section-title i {
    color: var(--k2-blue);
    width: 18px;
    height: 18px;
}

/* Payment summary in Card */
.payment-summary-block {
    background: var(--k2-bg-secondary);
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-progress-bar-bg {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.payment-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.payment-stat-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.payment-stat-val {
    font-size: 17px;
    font-weight: 700;
    color: var(--k2-text);
}

.payment-stat-lbl {
    font-size: 11px;
    color: var(--k2-text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Team Person Widget */
.team-person-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--k2-bg-secondary);
    border: 1px solid var(--k2-border);
    border-radius: var(--k2-radius);
    margin-bottom: 10px;
}

.team-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--k2-radius-full);
    background: var(--k2-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.team-avatar.expert {
    background: #9333ea;
}

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

.team-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--k2-text);
}

.team-role {
    font-size: 12px;
    color: var(--k2-text-muted);
}

/* Timeline Feed */
.timeline-feed {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 24px;
}

.timeline-feed::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--k2-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 16px;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--k2-blue);
}

.timeline-dot.green { border-color: var(--k2-success); }
.timeline-dot.orange { border-color: var(--k2-orange); }
.timeline-dot.purple { border-color: #9333ea; }

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

.timeline-action {
    font-size: 13px;
    font-weight: 600;
    color: var(--k2-text);
}

.timeline-time {
    font-size: 11px;
    color: var(--k2-text-muted);
}

.timeline-body {
    font-size: 13px;
    color: var(--k2-text-secondary);
    background: var(--k2-bg-secondary);
    padding: 8px 12px;
    border-radius: var(--k2-radius-sm);
    margin-top: 4px;
}

/* Client Details Card Layout */
.client-profile-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.client-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: var(--k2-radius-md);
    background: linear-gradient(135deg, var(--k2-blue) 0%, #0074c2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    flex-shrink: 0;
}

.client-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--k2-border-light);
    font-size: 13px;
}

.client-contact-row:last-child {
    border-bottom: none;
}

.client-contact-label {
    width: 100px;
    color: var(--k2-text-muted);
    font-weight: 500;
}

.client-contact-value {
    color: var(--k2-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================================
   ENHANCED ORDER CREATE / EDIT MODAL (WIDE 2-COLUMN DESIGN)
   ========================================================= */
.modal.modal-order-create {
    max-width: 1080px !important;
    width: 95% !important;
    max-height: 90vh !important;
    border-radius: 20px;
    box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.8);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.order-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.order-modal-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.order-modal-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--k2-blue, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.order-modal-icon-badge svg, .order-modal-icon-badge i {
    width: 22px;
    height: 22px;
    stroke-width: 2.2px;
}

.order-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.order-modal-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-top: 3px;
}

.order-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    background: #f8fafc;
    flex: 1;
}

.order-modal-body::-webkit-scrollbar {
    width: 6px;
}
.order-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.order-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.order-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.order-modal-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .order-modal-grid {
        grid-template-columns: 1fr;
    }
}

.order-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
    margin-bottom: 20px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.order-section-card:hover {
    border-color: #cbd5e1;
}

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

.order-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.order-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.1px;
}

.order-section-title svg, .order-section-title i {
    width: 17px;
    height: 17px;
    color: var(--k2-blue, #2563eb);
    stroke-width: 2.2px;
}

.order-section-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #eff6ff;
    color: #2563eb;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #dbeafe;
}

/* Service Preview Box */
.order-service-preview {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 10px;
    animation: fadeIn 0.2s ease;
}

.order-service-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-service-preview-title {
    font-size: 14px;
    font-weight: 700;
    color: #065f46;
}

.order-service-preview-price {
    background: #059669;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.2);
}

.order-service-preview-desc {
    font-size: 12.5px;
    color: #334155;
    margin-top: 6px;
    line-height: 1.45;
}

/* Client Switcher */
.order-client-switch {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 9px;
    border: 1px solid #e2e8f0;
    gap: 2px;
}

.order-client-switch-btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.order-client-switch-btn:hover {
    color: #1e293b;
}

.order-client-switch-btn.active {
    background: #ffffff;
    color: var(--k2-blue, #2563eb);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Client Preview Box */
.order-client-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 10px;
    animation: fadeIn 0.2s ease;
}

.order-client-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.order-client-preview-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-client-preview-item.preview-item-full {
    grid-column: span 2;
}

.order-client-preview-item .preview-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748b;
    font-weight: 600;
}

.order-client-preview-item .preview-value {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    word-break: break-all;
}

.order-client-preview-item .preview-value a {
    color: var(--k2-blue, #2563eb);
    text-decoration: none;
}
.order-client-preview-item .preview-value a:hover {
    text-decoration: underline;
}

/* New Client Banner */
.order-new-client-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #1e40af;
    margin-bottom: 12px;
}

.order-new-client-banner svg, .order-new-client-banner i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #2563eb;
}

/* Modern inputs & selects */
.order-modal-body .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.order-modal-body .form-label.required::after {
    content: " *";
    color: #ef4444;
    font-weight: 700;
}

.order-modal-body .form-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
}

.order-modal-body .form-input,
.order-modal-body .form-select,
.order-modal-body .form-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.order-modal-body .form-input,
.order-modal-body .form-select {
    height: 42px;
    padding: 0 14px;
}

.order-modal-body .form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 15px;
    padding-right: 38px;
    cursor: pointer;
}

.order-modal-body .form-input:focus,
.order-modal-body .form-select:focus,
.order-modal-body .form-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.order-modal-body .form-textarea {
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 84px;
}

/* Modal Footer */
.order-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
    gap: 16px;
}

.order-modal-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.order-summary-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.order-summary-value {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.order-summary-service {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 6px;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-modal-footer .btn {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.order-modal-footer .btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
    transition: all 0.2s ease;
}

.order-modal-footer .btn-primary:hover {
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.38);
    transform: translateY(-1px);
}

.order-modal-footer .btn-primary svg, .order-modal-footer .btn-primary i {
    width: 17px;
    height: 17px;
}

