body {
    margin: 0;
    padding: 0;
    background-color: #120a1b;
}

.text-muted {
    color: #198754d6 !important;
}

.p-card {
    background-color: #120a1b;
    border: 1px solid #818181 !important;
    transition: all 0.4s ease;
}

.p-card:hover {
    transform: translateY(-8px);
    border-color: #7b4bff !important;
    box-shadow: 0 10px 25px rgba(123, 75, 255, 0.3);
}

.p-card .card-title {
    color: white !important;
    font-size: 17px !important;
}

.p-card .card-img-top {
    height: 150px;
    width: 100%;
    object-fit: fill;
}

.btn-buy-primary {
    background-color: transparent;
    color: white !important;
    font-weight: bold;

    background-image: linear-gradient(120deg, #430f86 20%, #52426d 60%);
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    /* border-color: var(--e-global-color-d49ac81); */
    border-radius: 30px 30px 30px 30px;
    transition: all 0.4s ease;
    background-size: 200% auto;
    box-shadow: 0 0 0 rgba(255, 127, 194, 0);

}

.btn-buy-primary:hover {
    /* background-position: right center; */
    transform: scale(1.06);
    color: white !important;
    /* box-shadow: 0 0 10px rgba(255, 127, 194, 0.6); */
}

.btn-buy {
    background-color: transparent;
    color: white !important;
    font-weight: bold;

    background-image: linear-gradient(120deg, #b47cfd 20%, #ff7fc2 60%);
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    /* border-color: var(--e-global-color-d49ac81); */
    border-radius: 30px 30px 30px 30px;
    transition: all 0.4s ease;
    background-size: 200% auto;
    box-shadow: 0 0 0 rgba(255, 127, 194, 0);
}

.btn-buy:hover {
    /* background-position: right center; */
    transform: scale(1);
    color: white !important;
    /* box-shadow: 0 0 10px rgba(255, 127, 194, 0.6); */
}


.badge-sale {
    position: absolute;
    top: 10px;
    left: 80%;
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.p-card:hover .badge-sale {
    /* transform: scale(1.1); */
    box-shadow: 0 4px 10px rgba(255, 65, 108, 0.5);
}

.bg-primary-model {
    background-image: linear-gradient(120deg, #b47cfd 20%, #ff7fc2 60%);
    background-size: 200% auto;
}

.product-img {
    height: 400px;
}

.cat-text {
    color: #818181;
}


/* order-details */
label {
    color: rgb(145, 140, 140) !important;
    margin-bottom: 10px !important;
}

.dataTables_wrapper .dataTables_info {
    color: rgb(145, 140, 140) !important;
}

#orderstable {
    background-color: rgba(30, 20, 50, 0.8) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

#ordersTable thead th,
td {
    background-color: rgba(30, 20, 50, 0.8) !important;
    color: white !important;
}

#ordersTable tbody tr {
    background-color: rgba(30, 20, 50, 0.8) !important;
}

/* checkout */
:root {
        --custom-dark-bg: rgb(18, 10, 27);
        --custom-accent-gradient: linear-gradient(120deg, #430f86 20%, #52426d 60%);
        --custom-text-muted: rgba(255, 255, 255, 0.6);
    }

    body {
        background-color: var(--custom-dark-bg);
        color: white;
    }

    .card {
        background-color: rgba(30, 20, 50, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        color: white;
    }

    .card-title,
    .section-title {
        font-weight: 700;
        color: white;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .form-control {
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white !important;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-control:focus {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: #8A2BE2;
        box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.4);
        color: white !important;
    }

    .form-label {
        color: white;
    }

    .text-muted {
        color: var(--custom-text-muted) !important;
    }

    .btn-pay-accent {
        background-image: var(--custom-accent-gradient);
        border: none;
        color: white;
        font-weight: bold;
        transition: opacity 0.3s;
    }

    .btn-pay-accent:hover {
        opacity: 0.9;
        color: white;
    }

    .btn-success {
        background-color: #4CAF50 !important;
        border-color: #4CAF50 !important;
    }

    .row.equal-height {
        display: flex;
        align-items: stretch;
    }

    .row.equal-height>[class*='col-'] {
        display: flex;
        flex-direction: column;
    }

    .row.equal-height .card-body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto
    }

    .card .mt-auto {
        margin-top: auto;
    }

    .button-container {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .is-invalid {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, .2) !important;
    }

    @media (max-width: 991.98px) {
        .order-summary-col {
            order: -1;
        }
    }

    .form-control::placeholder {
        color: white !important;
        opacity: 0.7;
    }
