/* Card container */
.cart-item {
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #e9ecef;
}

/* Checkbox */
.custom-checkbox {
    -webkit-appearance: none; /* reset Safari/Chrome */
    -moz-appearance: none;    /* reset Firefox */
    appearance: none;         /* reset default */

    width: 20px;
    height: 20px;
    border: 2px solid #ff6100;
    border-radius: 50% !important;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}

.custom-checkbox:checked {
    background-color: #fff;  
    border-color: #ff6100;
}

.custom-checkbox:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #ff6100;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.custom-checkbox:focus {
    box-shadow: 0 0 0 0.1rem #ff6100;
    outline: none;
    border-color: #ff6100 !important;
}


/* Image */
.cart-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px !important;
}

.cart-item-name{
    font-size: 16px !important;
    margin-left:2rem;
    margin-right: 0 !important;
    text-wrap: wrap;
}

.text-total-coin{
    color: #FFA500;
    font-size: 12px;
}

/* Dashed divider */
.dashed-divider {
    border: none;
    border-top: 1px dashed #000;
    margin: 1rem 0;
    margin-right: 0;
    margin-left: 2rem !important;
}

/* Quantity buttons and pricing boxes */
.price-box{
    border: 1px solid #D9D9D9 !important;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 10px;
    border: 1px solid #ced4da;
    background-color: #fff;
    color: #495057;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Hover */
.qty-btn:hover {
    border-color: #ff6100;
    background-color: #ff6100;
    color: #fff;
}

/* Focus */
.qty-btn:focus {
    outline: none;
    border-color: #ff6100;
}

/* Active (klik) */
.qty-btn:active {
    background-color: #ff6100;
    color: #fff;
    border-color: #ff6100;
    transform: scale(0.9);
}


.qty-number {
    font-size: 1rem;
    padding: 0 8px;
    width: 32px;
    text-align: center;
}


/* Button styles */
.edit-btn{
    background-color: #F7F7F7;
    color: black;
    padding: 6px 40px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.edit-btn svg{
    fill: #212121;
    transition: fill 0.2s ease;
}

.edit-btn:hover{
    background-color: #FF5200;
    color: #FFFFFF;
}

.edit-btn:hover svg,
.edit-btn:active svg,
.edit-btn:focus svg{
    fill: #FFFFFF;
}


.delete-btn {
    color: #757575;
    border-color: #757575;
    padding: 6px 40px;
    white-space: nowrap;
    position: relative;
    z-index: 999;
}

.delete-btn:hover{
    background-color: #FF5200;
    border-color: #FF5200;
}

/* Total price */
.total-price {
    font-size: 1.5rem;
    color: #343a40;
}

.fw-semibold {
    font-weight: 600 !important;
}
