.app-container {
    /*width: 80%;*/
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-section {
    padding: 20px;
    background: #fafafa;
}

.date-separator {
    font-weight: 500;
    color: #333;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 15px;
}

/* Flatpickr customization */
.flatpickr-calendar {
    background: white !important;
    box-shadow: none !important;
    /*width: 100% !important;*/
    max-width: 400px !important;
    margin: 0 auto !important;
}

.flatpickr-months {
    display: flex !important;
    justify-content: center !important;
}

.flatpickr-month {
    height: 40px !important;
}

.flatpickr-current-month {
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.flatpickr-day {
    text-decoration: line-through;
    opacity: 0.6;
    border-radius: 0 !important;
    border: 1px solid #eaeaea !important;
    color: #333 !important;
}

.flatpickr-day.available {
    text-decoration: none;
    opacity: 1;
    color: black !important;
    font-weight: 600;
}

.flatpickr-day.selected {
    text-decoration: none;
    opacity: 1;
    background: var(--adminuiux-theme-1) !important;
    color: white !important;
}

.time-slot {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.time-slot.available {
    border-left: 4px solid #40c057;
}

.time-slot.selected {
    background: #1a73e8;
    color: white;
}

.time-slot:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-slot .time {
    font-size: 15px;
    font-weight: 500;
    min-width: 60px;
}

.disponible-tag {
    background: #40c057;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: auto;
}

.card-body .tab-content {
    height: auto !important;
}

.select2-selection__arrow {
    display: none;
}

.select2-container--default .select2-selection--single{
    border: 0;
    margin-top: 2px;
}

@media (min-width: 768px) {
    .app-container {
        display: flex;
    }

    .calendar-section {
        flex: 2;
        border-right: 1px solid #eaeaea;
    }

    .time-section {
        flex: 1;
        overflow-y: auto;
        max-height: 600px;
    }

}

@media (max-width: 768px) {
    .app-container {
        width: 100%;
    }
    .sw.sw-theme-basic>.nav .nav-item .nav-link {
        display: block;
        text-align: center;
    }
    .card-container {
        max-width: 96% !important;
    }
}

.required:after {
    content:" *";
    color: red;
}

@media (max-width: 413px) {
    .nav-2 {
        margin-top: 10px;
    }
}


