.dr-calendar-cards-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-family: Arial, sans-serif;
        flex-wrap: wrap;
}
.dr-calendar-sheet {
    width: calc(33.33% - 20px); 
    display: flex;
    flex-direction: column;
    gap: 0;                
    padding: 0;
    transition: all 0.3s ease;
}
.dr-calendar-department {
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap; 
    gap: 5px;        
    margin: 0;
    flex-direction: column;
}


.dr-calendar-card {

    display: flex;
    flex-direction: column;  
    gap: 10px;               
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dr-calendar-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dr-calendar-card-item {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.dr-calendar-card-item strong {
    font-weight: bold;
    color: #333;
}

.dr-calendar-card-item:nth-child(odd) {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .dr-calendar-card-item {
        width: 100%;
    }

    .dr-calendar-card {
        flex-direction: column;
    }
}

.dr-calendar-card-item a {
    color: #1a73e8;
    text-decoration: none;
    word-break: break-word;
}

.dr-calendar-card-item a:hover {
    text-decoration: underline;
}


.dr-calendar-sheet-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 0;
    padding: 10px;
    background: linear-gradient(to right, #274e91,#01bbc4,#0da93a);
    font-weight: 600;
    text-transform: uppercase;
    height: 90px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.dr-calendar-day-group{
    background-color: #E7F5FF;
    border-bottom: 2px solid #fff;
    display: flex;
    align-items: center;
}
.dr-calendar-day-group td {
    padding: 0;
    border-bottom:0 ;
}
.dr-calendar-data-item{
    margin: 0 !important;
    border-left: 2px solid #fff;

}
.dr-calendar-day-title{
    font-weight: 600;
    min-width: 60px;
    color: black;
    font-size: 16px;
    width: 80px;
    text-align: center;
}
.dr-calendar-doctors-list{
    margin-bottom: 0;

}
.dr-calendar-card-item {
    margin-bottom: 10px;
    padding: 5px;

}

.dr-calendar-doctor {
    margin-right: 10px;
    font-size: 18px;
    color: #333;
}

.dr-calendar-link {
    font-size: 16px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.dr-calendar-link:hover {
    color: #004d99;
}

.dr-calendar-time {
    font-size: 14px;
    color: #777;
}

@media (max-width: 600px) {
    .dr-calendar-data-item {
        padding: 12px;
    }
    .dr-calendar-doctor {
        font-size: 16px;
    }
    .dr-calendar-link {
        font-size: 14px;
    }
    .dr-calendar-time {
        font-size: 12px;
    }
}
.dr-calendar-day-group:last-child{
    border-bottom: 0;
}


.dr-calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #f9f9f9;
    margin-bottom: 0;
}

.dr-calendar-table tbody tr {
    border-bottom: 2px solid #fff;
}


.dr-calendar-day-title {
    padding: 10px;
    vertical-align: top;
    border-bottom: 0;
}


.dr-calendar-doctors-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dr-calendar-data-item {
    margin: 10px 0;
    padding-bottom: 10px;
    transition: box-shadow 0.2s ease-in-out;
}
.dr-calendar-data-item:first-child {
    padding-top: 10px;
    transition: box-shadow 0.2s ease-in-out;
}


.dr-calendar-details {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

.dr-calendar-link {
    font-size: 16px;
    color: #0073aa;
    text-decoration: none;
    margin-bottom: 5px;
    font-weight: bold;
}

.dr-calendar-link:hover {
    color: #005f8a;
    text-decoration: underline;
}

.dr-calendar-time {
    font-size: 14px;
    color: #555;
}


.dr-calendar-data-item + .dr-calendar-data-item {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .dr-calendar-day-title {
        font-size: 14px;
        padding: 8px;
    }

    .dr-calendar-link {
        font-size: 14px;
    }

    .dr-calendar-time {
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    .dr-calendar-cards-wrapper {
        flex-direction: column;
        gap: 10px; 
    }
    .dr-calendar-sheet {
        width: 100%;
        display: flex
    ;
        flex-direction: column;
        gap: 0;
        padding: 0;
        transition: all 0.3s ease;
    }
}

/* Cho thiết bị di động (màn hình nhỏ hơn 768px) */
@media (max-width: 768px) {
    .dr-calendar-prices {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Hỗ trợ cuộn mượt trên iOS */
    }

    table {
        width: 100%; /* Đảm bảo bảng có thể cuộn */
    }
}
