.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.wizard-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}
.wizard-step {
    position: relative;
    z-index: 2;
    text-align: center;
    background: #fdfdfd;
    padding: 0 10px;
}
.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: bold;
    transition: all 0.3s;
}
.wizard-step.active .step-icon {
    background: #ffc107;
    color: #000;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.2);
}
.wizard-step.completed .step-icon {
    background: #28a745;
    color: #fff;
}
.step-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}
.wizard-step.active .step-text {
    color: #000;
    font-weight: bold;
}
.wizard-content-step {
    display: none;
}
.wizard-content-step.active {
    display: block;
}
.office-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}
.office-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #1e2134;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.office-card-title i {
    color: #ffc107;
}
.s-custom-btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.2s;
}
.s-custom-primary {
    background: #ffc107;
    color: #000;
    border: none;
}
.s-custom-primary:hover {
    background: #e0a800;
    color: #000;
}
.s-custom-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}
.s-custom-secondary:hover {
    background: #e2e6ea;
}
/* Limitga yetganda (10 ta buyum) "Qo'shish" tugmasi o'chirilgan ko'rinadi */
.s-custom-btn:disabled,
.s-custom-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
.table-buyum {
    width: 100% !important;
    margin-bottom: 20px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}
.table-buyum th {
    background: #f8f9fa !important;
    padding: 12px 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
    vertical-align: middle !important;
}
.table-buyum td {
    padding: 10px !important;
    vertical-align: middle !important;
    border: 1px solid #dee2e6 !important;
}
.table-buyum th:first-child, .table-buyum td:first-child {
    text-align: center !important;
}
.table-buyum input.form-control {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
    border: 1px solid #ced4da !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    height: 38px !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease-in-out !important;
}
.table-buyum input.form-control:focus {
    border-color: #ffc107 !important;
    outline: 0 !important;
}
.table-buyum .delete-obodon-row, .table-buyum .delete-kochar-row {
    background: #dc3545 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1 !important;
    padding: 0 !important;
    min-width: 32px !important;
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
}
.table-buyum .delete-obodon-row:hover, .table-buyum .delete-kochar-row:hover {
    background: #bd2130 !important;
}
.currency-label {
    font-weight: bold;
    color: #555;
}

/* --- O'ng tomon: Sug'urta taklifi kartasi --- */
.offer-summary {
    position: sticky;
    top: 20px;
    padding: 0;
    overflow: hidden;
}
.offer-summary__head {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    padding: 22px 24px;
    text-align: center;
    color: #1e2134;
}
.offer-summary__head i {
    font-size: 26px;
    display: block;
    margin-bottom: 8px;
}
.offer-summary__head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.offer-summary__body {
    padding: 20px 24px 24px;
}
.offer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.offer-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    color: #6b7280;
    border-bottom: 1px dashed #eee;
}
.offer-list li:last-child {
    border-bottom: none;
}
.offer-list li b {
    color: #1e2134;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
.offer-list__total {
    margin-top: 4px;
    padding-top: 12px !important;
    border-top: 1px solid #eee;
    border-bottom: none !important;
    color: #1e2134 !important;
    font-weight: 600;
}
.offer-section {
    margin-top: 18px;
}
.offer-section__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    margin-bottom: 2px;
}
.offer-total {
    margin-top: 20px;
    padding: 16px 18px;
    background: #fffbeb;
    border: 1px solid #ffe8a1;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.offer-total > span {
    font-size: 13px;
    font-weight: 600;
    color: #856404;
}
.offer-total > b {
    font-size: 18px;
    font-weight: 800;
    color: #d39e00;
    white-space: nowrap;
}
.offer-note {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
    display: flex;
    gap: 8px;
}
.offer-note i {
    color: #ffc107;
    font-size: 14px;
    margin-top: 1px;
}
/* Oferta havolasi — ko'rinishi mavzuning `offer primary-color-text` klassidan
   keladi (qolgan mahsulotlardagi kabi), bu yerda faqat joylashuv/bo'shliq. */
.offer-oferta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

#inn-global-loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    width: 52px;
    height: 52px;
    border: 5px solid rgba(255, 193, 7, 0.25);
    border-top-color: #ffc107;
    border-radius: 50%;
    animation: inn-spin 0.75s linear infinite;
    pointer-events: none;
}

@keyframes inn-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Approve (Ma'lumotlarni tekshirish) sahifasi --- */
.approve-wrapper {
    background: #f8fafc;
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}
.approve-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    padding: 40px;
    border: 1px solid #f1f5f9;
}
.approve-header {
    text-align: center;
    margin-bottom: 35px;
}
.approve-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 10px;
    margin-bottom: 5px;
}
.approve-header p {
    color: #64748b;
    font-size: 14px;
}
.approve-section {
    background: #fafafa;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #f3f4f6;
}
.approve-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}
.approve-section-title i {
    color: #ffb800; /* Capital brand gold */
    font-size: 16px;
}
.approve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 768px) {
    .approve-grid {
        grid-template-columns: 1fr;
    }
}
.approve-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.approve-item--full {
    grid-column: span 2;
}
.approve-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.approve-value {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}
.approve-value.highlight {
    font-size: 18px;
    font-weight: 700;
    color: #10b981; /* premium emerald */
}
.approve-value.bold {
    font-weight: 700;
    color: #0f172a;
}
.approve-value--lg {
    font-size: 16px;
}
.approve-header__icon {
    font-size: 36px;
    color: #ffb800;
}
.approve-section--terms {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.approve-actions {
    display: flex;
    gap: 16px;
    margin-top: 35px;
}
@media (max-width: 576px) {
    .approve-actions {
        flex-direction: column;
    }
}
.btn-approve-back {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none !important;
    cursor: pointer;
}
.btn-approve-back:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1f2937;
}
.btn-approve-confirm {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    background: #ffb800; /* Capital brand */
    color: #1e293b !important;
    font-weight: 700;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 184, 0, 0.25);
    text-decoration: none !important;
    cursor: pointer;
}
.btn-approve-confirm:hover {
    background: #e0a200;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35);
}
.approve-alert {
    max-width: 800px;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* --- Jadval (obodon/kochar) form-group: Yii uslubidagi qizil help-block matn --- */
.table-buyum .form-group {
    margin-bottom: 0;
}
/* Katakchada help-block "2-child" bo'ladi — mavzu uni yashiradi (nth-child(2)) va
   rebeccapurple qiladi. Majburan ko'rsatib, model maydonlari kabi qizil qilamiz. */
.table-buyum .form-group .help-block {
    display: block !important;
    color: #ff0000 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    margin: 3px 0 0 !important;
}
/* form-group topilmagan zaxira holat uchun */
.is-invalid-custom {
    border-color: #a94442 !important;
}
