.customer-breadcrumb {
    margin-bottom: 0;
}

.customer-area,
.customer-auth-section,
.customer-success-section {
    background: #ffffff;
}

.customer-panel,
.customer-sidebar,
.customer-success-panel {
    background: #ffffff;
    border: 1px solid #ece7f6;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(35, 35, 35, 0.06);
}

.customer-panel {
    padding: 26px;
}

.customer-panel-soft {
    background: #fbf9ff;
}

.customer-panel-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.customer-panel-title > svg {
    width: 34px;
    height: 34px;
    color: #7520dd;
    flex: 0 0 34px;
}

.customer-panel-title h3 {
    margin: 0 0 5px;
    font-size: 22px;
    line-height: 1.25;
}

.customer-panel-title p,
.customer-section-head p {
    margin: 0;
    color: #6f6f6f;
    line-height: 1.5;
}

.customer-form .form-control,
.customer-form .form-select,
.customer-track-form .form-control {
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    min-height: 54px;
}

.customer-form .form-control:focus,
.customer-form .form-select:focus,
.customer-track-form .form-control:focus {
    border-color: #7520dd;
    box-shadow: 0 0 0 0.18rem rgba(117, 32, 221, 0.12);
}

.customer-textarea {
    min-height: 118px !important;
}

.btn-outline-theme {
    border: 1px solid #7520dd;
    color: #7520dd;
    background: #ffffff;
    font-weight: 600;
}

.btn-outline-theme:hover {
    color: #ffffff;
    background: #7520dd;
}

.customer-form-actions,
.customer-auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.customer-muted-link {
    color: #666666;
    text-decoration: none;
    font-weight: 600;
}

.customer-muted-link:hover,
.customer-section-head a,
.customer-row-link {
    color: #7520dd;
}

.customer-sidebar {
    padding: 10px;
    position: sticky;
    top: 110px;
}

.customer-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #232323;
    text-decoration: none;
    font-weight: 600;
}

.customer-sidebar-link svg {
    width: 18px;
    height: 18px;
    color: #7520dd;
}

.customer-sidebar-link:hover {
    background: #f7f1ff;
    color: #7520dd;
}

.customer-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.customer-stat {
    border: 1px solid #eee6fb;
    border-radius: 8px;
    padding: 14px;
    background: #fbf9ff;
}

.customer-stat span {
    display: block;
    font-size: 12px;
    color: #666666;
    margin-bottom: 6px;
}

.customer-stat strong {
    display: block;
    color: #232323;
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.customer-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.customer-section-head h4,
.customer-block-title {
    margin: 0;
    font-size: 20px;
}

.customer-section-head a,
.customer-row-link {
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.customer-table {
    margin: 0;
    vertical-align: middle;
}

.customer-table th {
    color: #555555;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #ededed;
}

.customer-table td {
    color: #232323;
    border-color: #f0f0f0;
}

.customer-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1fff6;
    color: #168754;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.customer-empty {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: #666666;
}

.customer-empty svg {
    width: 42px;
    height: 42px;
    color: #7520dd;
}

.customer-empty a {
    color: #7520dd;
    font-weight: 700;
    text-decoration: none;
}

.customer-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.customer-product-cell img,
.checkout-line img {
    width: 58px;
    height: 74px;
    object-fit: cover;
    border-radius: 8px;
    background: #f5f5f5;
}

.customer-product-cell strong,
.customer-product-cell span {
    display: block;
}

.customer-product-cell span {
    color: #777777;
    font-size: 12px;
    margin-top: 3px;
}

.customer-info-list {
    display: grid;
    gap: 8px;
    color: #444444;
    line-height: 1.5;
}

.customer-timeline {
    display: grid;
    gap: 14px;
}

.customer-timeline-wide {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.customer-timeline-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
}

.customer-timeline-item > span {
    width: 14px;
    height: 14px;
    margin-top: 5px;
    border-radius: 50%;
    background: #7520dd;
    box-shadow: 0 0 0 5px rgba(117, 32, 221, 0.12);
}

.customer-timeline-item strong {
    display: block;
    color: #232323;
}

.customer-timeline-item p {
    margin: 3px 0;
    color: #666666;
    line-height: 1.45;
}

.customer-timeline-item small {
    color: #888888;
}

.customer-track-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: stretch;
}

.checkout-lines {
    display: grid;
    gap: 12px;
}

.checkout-line {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
}

.checkout-line-body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.checkout-line-body strong,
.checkout-line-body span,
.checkout-line-body small {
    overflow-wrap: anywhere;
}

.checkout-line-body span,
.checkout-line-body small {
    color: #666666;
}

.checkout-line-total {
    font-weight: 800;
    white-space: nowrap;
}

.checkout-line-total del,
.checkout-line-body del {
    display: block;
    color: #888888;
    font-weight: 600;
    text-decoration: line-through;
}

.checkout-line-total strong {
    display: block;
}

.checkout-line-body b {
    color: #232323;
}

.checkout-line-rich {
    align-items: flex-start;
}

.checkout-discount-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #e9ddf8;
    border-radius: 8px;
    background: #fbf8ff;
}

.checkout-discount-row,
.checkout-applied-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.checkout-discount-row div,
.checkout-applied-row div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.checkout-discount-row strong,
.checkout-applied-row strong {
    color: #232323;
    font-size: 12px;
}

.checkout-discount-row span,
.checkout-discount-row small,
.checkout-applied-row span {
    color: #666666;
    font-size: 11px;
    line-height: 1.35;
}

.checkout-discount-row b,
.checkout-applied-row b {
    color: #168754;
    font-size: 12px;
    white-space: nowrap;
}

.checkout-applied-box,
.checkout-payment-box,
.checkout-installment-box {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #eadcff;
    border-radius: 8px;
    background: #ffffff;
}

.checkout-applied-title,
.checkout-payment-head,
.checkout-installment-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.checkout-applied-title svg,
.checkout-payment-head svg {
    width: 20px;
    height: 20px;
    color: #7520dd;
    flex: 0 0 auto;
}

.checkout-applied-title span,
.checkout-payment-head strong,
.checkout-installment-head strong {
    display: block;
    color: #232323;
    font-weight: 800;
}

.checkout-payment-head span,
.checkout-installment-head span {
    display: block;
    color: #666666;
    font-size: 12px;
    line-height: 1.4;
}

.checkout-installment-head {
    justify-content: space-between;
    align-items: flex-start;
}

.checkout-installment-head span {
    max-width: 280px;
    text-align: right;
}

.checkout-installment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.checkout-installment-option {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 5px 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid #e5e0ed;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout-installment-option:has(input:checked) {
    border-color: #7520dd;
    box-shadow: 0 6px 18px rgba(117, 32, 221, 0.12);
}

.checkout-installment-option input {
    margin-top: 4px;
}

.checkout-installment-option span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.checkout-installment-option strong {
    color: #232323;
    font-size: 13px;
}

.checkout-installment-option small {
    color: #666666;
    font-size: 11px;
    line-height: 1.35;
}

.checkout-installment-option b {
    grid-column: 2;
    color: #7520dd;
    font-size: 13px;
}

.checkout-total-box {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.checkout-total-box > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.checkout-grand-total {
    padding-top: 12px;
    border-top: 1px solid #e9e2f6;
    color: #7520dd;
    font-size: 18px;
}

.customer-success-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.customer-success-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px;
    text-align: center;
}

.customer-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1fff6;
    color: #168754;
}

.customer-success-icon svg {
    width: 34px;
    height: 34px;
}

.customer-success-panel h3 {
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .customer-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-track-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .customer-panel,
    .customer-success-panel {
        padding: 18px;
    }

    .customer-sidebar,
    .customer-stat-row {
        grid-template-columns: 1fr;
    }

    .customer-section-head,
    .customer-form-actions,
    .customer-auth-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-section-head a,
    .customer-auth-actions .btn,
    .customer-form-actions .btn,
    .customer-form-actions a {
        width: 100%;
        text-align: center;
    }

    .checkout-line {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .checkout-line-total {
        grid-column: 2;
        justify-self: start;
    }

    .checkout-installment-head,
    .checkout-discount-row,
    .checkout-applied-row {
        display: grid;
        text-align: left;
    }

    .checkout-installment-head span {
        max-width: none;
        text-align: left;
    }
}
