.page-newsDetail.page_wrapper.page_tra_cuu {
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid #E6E6E6;
    background: #FBFBFB;
    padding-bottom: 70px;
}
.page-newsDetail.page_wrapper.page_tra_cuu ._title {
    color: #0060A1;
    text-align: center;
    font-family: Inter;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: 38.5px;
}
.form-tracuu {
    width: 644px;
    max-width: 100%;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #69B7EB;
    display: block;
    margin: 0 auto;
    margin-bottom: 100px;
    text-align: center;
}
.content-tracuu {
    /* display: inline-block; */
    margin: 0 auto;
    float: left;
    width: 100%;
    padding:15px;
    /* text-align: center; */
}
.form-tracuu h3 {
    color: var(--Gray-gray-900, #141414);
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    margin-top: 0px;
}
.form-tracuu>p {
    color: var(--Gray-gray-500, #6D6D6D);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.form-tracuu form input {
    border-radius: 8px;
    border: 1px solid var(--Gray-gray-200, #D1D1D1);
    background: var(--Gray-gray-25, #FFF);
    padding: 12px;
    width: 100%;
}
.form-tracuu form label {
    text-align: left;
    display: block;
    margin-bottom: 0px;
    width: 100%;
    color: #000;
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 15px;
}
.form-tracuu form label b {
    color: red;
}
.form-tracuu form button {
    border-radius: 99px;
    background: #2E7DB2;
    color: #fff;
    width: auto;
    padding: 12px 32px;
    margin-top: 16px;border: none;
}
ul.ngaykham li {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--Gray-gray-100, #E3E3E3);
    background: var(--Gray-gray-25, #FFF);
    color: var(--Gray-gray-900, #141414);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    position: relative;
}
ul.ngaykham li span {
    width: 100%;
    display: block;
}

ul.ngaykham {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.benh-nhan-info {
    display: inline-block;
    width: 100%;
}
.benh-nhan-info>h2, .don-thuoc>h2, .nhom-dich-vu-xn>h2, div#thongTinKhamBenh>h3 {
    color: var(--Gray-gray-900, #141414);
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--Gray-gray-100, #E3E3E3);
}
.container.form-ketqua {
    color: #000;
}
.nhom-dich-vu>h3 {
    color: var(--Gray-gray-900, #141414);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    padding: 0px 6px;
}
.table-tracuu {
    float: left;
    width: 49%;
}
.nhom-dich-vu>ul {
    list-style: decimal;
    /* padding: 0; */
    color: #000;
    font-weight: bold;
}
.nhom-dich-vu>ul p {
    font-weight: normal;
}
.nhom-dich-vu>ul>li {
    margin-bottom: 20px;
    margin-top: 15px;
}
.table-tracuu {
    border: 1px solid #E3E3E3;
    border-radius: 12px;
}
.table-tracuu.table-tracuu-right {
    float: right;
}
.table-tracuu p {
    padding: 0px;
    display: grid
;
    grid-template-columns: 160px auto;
    margin-bottom: 0px;
}
.table-tracuu strong, .table-tracuu span {
    border-right: 1px solid #E3E3E3;
    padding: 12px 16px;
    border-bottom: 1px solid #e3e3e3;
    color: var(--Gray-gray-900, #141414);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
}
.table-tracuu strong {
color: var(--Gray-gray-900, #141414);
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 24px; /* 150% */
}
.don-thuoc>h4 {
    color: var(--Gray-gray-900, #141414);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}
.don-thuoc>ol>li {
    color: var(--Gray-gray-900, #141414);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}
.list-info-thuoc {
    display: grid
;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 10px;
    color: var(--Gray-gray-900, #141414);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
ul.ngaykham li.date-active {
    border-radius: 12px;
    border: 1px solid #2E7DB2;
    background: var(--Gray-gray-25, #FFF);
    box-shadow: 0px 0px 0px 4px rgba(46, 125, 178, 0.25);
}
.table-tracuu>p:last-child strong, .table-tracuu>p:last-child span {
    border-bottom: none !important;
}
.table-tracuu span{
    border-right: none;
}
span.appointment-date {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.export-don-thuoc, .export-kq {
    border-radius: 12px;
    background: #2E7DB2;
    padding: 12px 24px;
    color: #fff;
    border: none;
    font-size: 16px;
    margin:10px 0px;
}
.nhom-dich-vu th {
    color: #616161;
    font-weight: 500;
    text-align: left;
    background: #DCE1E7;
}
.nhom-dich-vu table tbody>tr:nth-child(2n)>td {
    background-color: #f6f7f9;
}
.nhom-dich-vu td {
    padding: 4px 6px;
}
/* Giới hạn chiều rộng bảng và cho phép cuộn ngang nếu bảng quá rộng */


/* Đảm bảo không có phần tử nào vượt quá chiều rộng */
.don-thuoc, .form-ketqua {
    width: 100%;
     max-width: 1200px; /* Giới hạn chiều rộng tối đa là 1200px */
    margin: 0 auto;
}

/* Đảm bảo bảng không bị cắt ở bên phải */
.table-container-xn, .nhom-dich-vu-xn {
    overflow-x: auto;
}

@media (max-width: 768px) {
   ul.ngaykham{
         grid-template-columns: 1fr 1fr;
   } 
   .table-tracuu {
    margin: 10px 0px;    width: 100%;
}
.benh-nhan-info>h2, .don-thuoc>h2, .nhom-dich-vu-xn>h2{
    font-size: 22px;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

}
.nhom-dich-vu table {
    width: 100%;
    border-collapse: collapse;
}

.nhom-dich-vu th, 
.nhom-dich-vu td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .nhom-dich-vu table, 
    .nhom-dich-vu thead, 
    .nhom-dich-vu tbody, 
    .nhom-dich-vu th, 
    .nhom-dich-vu td, 
    .nhom-dich-vu tr {
        display: block;
    }

    .nhom-dich-vu tr {
        margin-bottom: 15px;

    }

    .nhom-dich-vu th {
        display: none;
    }

    .nhom-dich-vu td { width:100% !important;
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border: 1px solid #ddd;
    }

    .nhom-dich-vu td:before {
        content: attr(data-label); /* Sử dụng thuộc tính data-label */
        font-weight: bold;        min-width: 100px;
        display: inline-block;
        flex: 2;
    }
}