body {
    background-color: #f8f9fa;
}

.cart-container {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: var(--base-layout-padding);
    padding-right: var(--base-layout-padding);
}

.page-title {
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;
    font-family: "Inter";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 140% */
    margin-bottom: 16px;
}

.order-content {
    display: flex;
    gap: 20px;
}

.cart-section {
    flex: 2;
    background-color: #fff;
    padding: 16px;
    border-radius: 12px;
}

.summary-section {
    flex: 1;
    background-color: #fff;
    padding: 16px 0;
    border-radius: 12px;
    height: fit-content;
}

.summary-content {
    padding: 0 16px;
}

.cart-header {
    display: grid;
    grid-template-columns: 1fr 190px 160px 102px 28px;
    gap: 8px;
    align-items: center;
    padding-bottom: 10px;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0; /* Remove margin to align with items */
}

.header-title {
    grid-column: 1;
    margin: 0;
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;
    /* H3 - Card Title/SemiBold */
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
}

.header-label {
    text-align: right;
    color: #5D5D5D;
/* Body Small/Regular */
    font-family: "Inter";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}

.fee-init-label {
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;
    /* Body Regular/SemiBold */
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}

.quantity-label {
    overflow: hidden;
    color: #1F1F1F;
    text-overflow: ellipsis;

    /* Label-Input/Regular */
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.label-align-left {
    text-align: left;
}

/* This rule is no longer needed */

.summary-section .summary-section-title {
    margin: 0;
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;
    /* H3 - Card Title/SemiBold */
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
    margin-bottom: 16px;
}

.cart-item {
    border-bottom: 1px dashed #dee2e6;
    padding: 15px 0;
}

.cart-item:last-of-type {
    border-bottom: none;
}

.item-row {
    display: grid;
    grid-template-columns: 1fr 190px 160px 102px 28px;
    align-items: center;
    gap: 8px;
    row-gap: 0;
}

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

.item-price, .item-total {
    text-align: right;
    font-weight: 500;
    color: #1F1F1F;
    text-align: right;
    font-variant-numeric: lining-nums tabular-nums;
    /* Body Regular/Medium */
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    line-height: 20px; /* 142.857% */
}

.item-total {
    color: #089740;
}

.package-info {
    display: flex;
    align-items: center;
    align-self: start;
    gap: 15px;
}

    .package-info span {
        color: #1F1F1F;
        font-variant-numeric: lining-nums tabular-nums;
        font-family: "Inter";
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px; /* 142.857% */
    }

    .package-info a {
        color: #2563EB;
        text-decoration: none;
        font-size: 14px;
        display: inline-flex;
        gap: 5px;

        text-align: center;
        font-family: "Inter";
        font-style: normal;
        font-weight: 500;
        line-height: 20px; /* 142.857% */
    }

.item-row .quantity-spinner {
    justify-self: start;
    width: unset !important;
}

.quantity-spinner .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 32px;
    height: 32px;
    border-color: #D1D1D1;
}

.quantity-spinner .btn:hover {
    background-color: #f1f3f5;
}

.quantity-spinner .btn:focus {
    box-shadow: none;
    outline: none;
}

.quantity-spinner .form-control {
    height: 32px;
    width: 72px;
    border-color: #D1D1D1;
}

.quantity-spinner .form-control:focus {
    border-color: #D1D1D1;
    box-shadow: none;
}

/* Hide default number input arrows */
.item-row input[type=number]::-webkit-inner-spin-button,
.item-row input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.item-row input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.addon-description small {
    display: block;
    color: #6c757d;
    font-size: 12px;
}

.btn-delete {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    justify-self: center;
}

.btn-delete img {
    width: 20px;
    height: 20px;
}

.package-details {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: start;
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

    .package-details span {
        background-color: #f1f3f5;
        border-radius: 4px;
        padding: 4px;
        font-size: 12px;
        color: #1F1F1F;
        font-family: "Inter";
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 150% */
    }

.add-transaction {
    margin-top: 20px;
}

.add-transaction .btn.btn-outline-primary {
    text-decoration: none !important;
    border: 1px solid #0d6efd !important;
}

#add-addon-btn {
    display: flex;
    height: 28px;
    min-width: 56px;
    padding: 0 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #2563EB;
    background: #FFF;
    cursor: pointer;
}

#add-addon-btn span {
    color: #2563EB;
    font-family: "Inter";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;

    color: #5D5D5D;
    font-variant-numeric: lining-nums tabular-nums;
    /* Body Regular/Regular */
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.summary-row-value {
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;

    /* Body Regular/Medium */
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    }

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.total-amount {
    color: #089740;
    font-variant-numeric: lining-nums tabular-nums;
    /* Body Large/SemiBold */
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
}

.btn-order {
    width: 100%;
    background-color: #28a745;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;

    display: flex;
    height:40px;
    min-width: 64px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    text-align: center;

    /* Button Medium/Medium */
    font-family: "Inter";
    font-size:14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
}

    .btn-order:hover {
        background-color: #218838;
    }
/* Upgrade Suggestion Styles */
.upgrade-suggestion-container {
    background-color: #EFF6FF;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.suggestion-text {
    flex: 1;
    color: #1F1F1F;
    font-family: "Inter";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    align-self: flex-start;
}

.suggestion-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-basis: 50%;
    gap: 4px;
}

.btn-close-suggestion {
    align-self: flex-start;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.btn-close-suggestion img {
    width: 24px;
    height: 24px;
}

.suggestion-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.suggestion-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-name {
    font-size: 14px;
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;
    /* Body Regular/SemiBold */
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}

.suggestion-badge {
    background-color: #CA8A04;
    color: #FFFFFF;
    padding: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-style: normal;
    /* Button Small/Regular */
    font-family: "Inter";
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

.suggestion-description {
    font-size: 12px;
    color: #5D5D5D;
    /* Body Small/Regular */
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}

.suggestion-price {
    margin: 0;
    color: #1F1F1F;
    font-variant-numeric: lining-nums tabular-nums;

    /* Body Large/SemiBold */
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
}

.suggestion-price-currency {
    color: #5D5D5D;
    /* Body Small/Regular */
    font-family: "Inter";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}

.btn-change-package {
    display: flex;
    height: 28px;
    min-width: 56px;
    padding: 0 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #2563EB;
    background: #FFF;
    color: #2563EB;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    align-self: flex-end;
}

    .btn-change-package:hover {
        background-color: #2563EB;
        color: #fff;
    }

.line {
    height: 1px;
    background-color: #D1D1D1;
    margin: 16px 0;
    width: 100%;
}
