.stepper-container{
    background-color: white;
    padding: 30px 10px;
    font-size: 0.9rem;background-color: white;
    padding: 30px 10px;
    font-size: 0.9rem;
}

.disabled-step {
    color: grey; 
    pointer-events: none;
    opacity: 0.6;
}
/* consultor css */
.card-custom {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px; 
    display: flex; 
    flex-direction: column; 
    /* height: 100%; */
}
.card-custom-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 150px;
    object-fit: contain;
    padding: 20px;
}
.subject-consultor .card-custom-title {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.card-custom-text {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}
.card-body-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    flex-grow: 1;
}
.card-custom .btn-custom {
    margin-top: auto;
    align-self: flex-end; 
    background-color: #007bff;
    border-color: #007bff;
}
.card-custom .btn-custom:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.description-full-text {
    white-space: pre-wrap; 
    word-wrap: break-word; 
}

/* date css */
body {
    font-family: 'Arial', sans-serif;
    padding: 20px;
    background-color: #f8f9fa;
}
.date-carousel-container {
    position: relative;
    padding: 0 50px;
    max-width: 100%;
    margin: 10px auto;
    overflow: hidden; 
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.date-carousel {
    display: flex; 
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 0;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: thin; 
    scrollbar-color: #888 #f1f1f1;
    padding-left: 10px;
    padding-right: 10px;
        direction: rtl;
        text-align: right;
}
.date-carousel::-webkit-scrollbar {
    height: 8px;
}
.date-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.date-carousel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.date-carousel::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.date-box {
    flex: 0 0 100px; 
    height: 80px;
    margin: 5px 8px;
    
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
    white-space: normal; /* Allow text wrapping inside the box */
}

.date-box.active-day{  background: white; border: 3px solid #6ca386ff;}
.date-box.disabled-day{  background: #dbddde; border: 1px solid #ced4da;}
.date-box.reserved-day{  background: #D8BFFB91; border: 1px solid #6d5293aa;}

.date-box:hover {
    background-color: #dee2e6;
    border-color: #adb5bd;
    transform: translateY(-2px);
}
.date-box.selected, .time-box.selected {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    font-weight: bold;
}
.date-box .day {
    font-size: 1.5em;
    margin-bottom: 5px;
}
.date-box .month {
    font-size: 0.9em;
    opacity: 0.8;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 123, 255, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px; 
    height: 45px;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, opacity 0.3s;
    z-index: 10;
}
.scroll-btn:hover {
    background-color: rgba(0, 80, 180, 0.9);
}
.scroll-btn.next-btn-rtl {
    left: 10px; 
}
.scroll-btn.prev-btn-rtl {
    right: 10px; 
}
.scroll-btn.hidden {
    display: none;
}
.scroll-btn:disabled {
    background-color: rgba(100, 100, 100, 0.5);
    cursor: not-allowed;
    opacity: 0.5;
}

.placeholder-wave {
    background-color: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0 0, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: wave 1.5s infinite linear;
    border-radius: 5px;
}
@keyframes wave {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
.placeholder-wave.date-box {
        flex: 0 0 120px; 
        height: 100px;
        margin: 5px 8px; 
}
.placeholder-container {
    display: flex; 
    padding: 15px 0;
    overflow: hidden;
}
    .placeholder-container .placeholder-wave {
        margin: 5px 8px;
    }

/* time css */
fieldset{
    background-color: white;
}
#time-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-box {
    width: 60px;
    height: 60px;
    border: 1px solid #e7e3e3ff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    cursor: pointer;
}

.active-time{
    /* background: #D0F7E2;  */
    background: white; border: 3px solid #6ca386ff;
}
.reserved-time{
    background: #D8BFFB91;/* #FFB8C9; */
}
.disabled-time{
    background: #dbddde;
    color: #979899ff;
}
.close-panel{
    font-weight: bolder;
    cursor: pointer;
    font-size: 18px;
    margin: 0;
    padding: 0;
    line-height: 0.5;
}
input::placeholder {
  font-size: 0.9rem;
}