/* --------------------วัน และ เวลา รับ------------------------------ */
/* --------------------วัน และ เวลา รับ------------------------------ */
/* --------------------วัน และ เวลา รับ------------------------------ */
/* --------------------วัน และ เวลา รับ------------------------------ */
.form-check {
    margin: 0;
    padding: 0;

}

.day-deliver {
    display: -webkit-inline-box !important;
}

.day-deliver {
    display: flex;
    flex-wrap: nowrap;
}

.card-day-p {
    /* 1. จัดเรียงเนื้อหาให้ยาวไปตามแนวนอน */
    display: flex;

    /* 2. ทำให้ Element ลูกไม่หักบรรทัดลงมา (สำคัญมาก) */
    flex-wrap: nowrap;

    /* 3. เปิดใช้งานการเลื่อนในแนวนอน (Horizontal Scroll) */
    overflow-x: auto;

    border-radius: 8px;
    margin: 10px 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    width: -webkit-fill-available;
    border: solid 2px #0649ab;
    max-width: 100%;
}

.card-time-p {
    border-radius: 8px;
    margin: 10px 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    width: -webkit-fill-available;
    border: solid 2px #0649ab;
}

.btn-p {
    display: none;
}

.btn-t-p {
    display: none;
}

.btn-p-label {
    text-align: center;
    font-weight: 300;
    display: inline-block;
    cursor: pointer;
    margin-right: 10px;
    padding: 5px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #007bff;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
    box-shadow: 5px 5px 10px rgb(0, 0, 0, 0.1), 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-t-p-label {
    padding: 10px 5px;
    display: inline-block;
    letter-spacing: 2px;
    width: 100%;
    font-weight: 300;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    margin-right: 10px;
    /* padding: 5px 20px; */
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #007bff;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
    box-shadow: 5px 5px 10px rgb(0, 0, 0, 0.1), 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-p:checked+.btn-p-label {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: inset 5px 5px 10px rgb(0, 0, 0, 0.1), inset 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-t-p:checked+.btn-t-p-label {
    padding: 10px 5px;
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: inset 5px 5px 10px rgb(0, 0, 0, 0.1), inset 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-p:disabled+.btn-p-label {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #e9ecef;
    color: #6c757d;
}

.btn-t-p:disabled+.btn-t-p-label {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #e9ecef;
    color: #6c757d;
}

.btn-p-label:hover {
    background-color: #e2e6ea;
}

.btn-t-p-label:hover {
    background-color: #e2e6ea;
}

/* -----------------จบ---วัน และ เวลา รับ------------------------------ */
/* -----------------จบ---วัน และ เวลา รับ------------------------------ */
/* -----------------จบ---วัน และ เวลา รับ------------------------------ */
/* -----------------จบ---วัน และ เวลา รับ------------------------------ */



/* --------------------วัน และ เวลา ส่ง------------------------------ */
/* --------------------วัน และ เวลา ส่ง------------------------------ */
/* --------------------วัน และ เวลา ส่ง------------------------------ */
/* --------------------วัน และ เวลา ส่ง------------------------------ */
.card-day-d {
    /* 2. ทำให้ Element ลูกไม่หักบรรทัดลงมา (สำคัญมาก) */
    flex-wrap: nowrap;

    /* 3. เปิดใช้งานการเลื่อนในแนวนอน (Horizontal Scroll) */
    overflow-x: auto;
    border-radius: 8px;
    margin: 10px 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    width: -webkit-fill-available;
    border: solid 2px #198754;
}

.card-time-d {
    border-radius: 8px;
    margin: 10px 10px 10px 10px;
    padding: 10px 10px 10px 10px;
    width: -webkit-fill-available;
    border: solid 2px #198754;
}

.btn-d {
    display: none;
}

.btn-t-d {
    display: none;
}

.btn-d-label {
    font-weight: 300;
    display: inline-block;
    cursor: pointer;
    margin-right: 10px;
    padding: 5px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #198754;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
    box-shadow: 5px 5px 10px rgb(0, 0, 0, 0.1), 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-t-d-label {
    padding: 10px 5px !important;
    display: inline-block;
    letter-spacing: 2px;
    font-weight: 300;
    width: 100%;
    font-weight: 300;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    margin-right: 10px;
    /* padding: 5px 20px; */
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #198754;
    user-select: none;
    transition: background-color 0.2s, border-color 0.2s;
    box-shadow: 5px 5px 10px rgb(0, 0, 0, 0.1), 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-d:checked+.btn-d-label {
    background-color: #198754;
    border-color: #198754;
    color: white;
    box-shadow: inset 5px 5px 10px rgb(0, 0, 0, 0.1), inset 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-t-d:checked+.btn-t-d-label {
    padding: 10px 5px !important;
    background-color: #198754;
    border-color: #198754;
    color: white;
    box-shadow: inset 5px 5px 10px rgb(0, 0, 0, 0.1), inset 5px 5px 10px rgb(0, 0, 0, 0.1) !important;
}

.btn-d:disabled+.btn-d-label {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #e9ecef;
    color: #6c757d;
}

.btn-t-d:disabled+.btn-t-d-label {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #e9ecef;
    color: #6c757d;
}

.btn-d-label:hover {
    background-color: #e2e6ea;
}

.btn-t-d-label:hover {
    background-color: #e2e6ea;
}

/* ------------------จบ--วัน และ เวลา ส่ง------------------------------ */
/* ------------------จบ--วัน และ เวลา ส่ง------------------------------ */
/* ------------------จบ--วัน และ เวลา ส่ง------------------------------ */
/* ------------------จบ--วัน และ เวลา ส่ง------------------------------ */
.col-4 {
    padding: 0px 5px 0px 5px !important;
}