/* Основные стили для страницы */
.ds-schedule-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* Фильтры */
.ds-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.ds-filter {
    flex: 1 1 100%;
}

@media (min-width: 600px) {
    .ds-filter {
        flex: 1 1 calc(50% - 10px);
    }
}

.ds-filter label {
    font-weight: bold;
    margin-right: 10px;
}

.ds-filter select,
.ds-filter input[type="date"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.3s ease;
}

.ds-filter select:focus,
.ds-filter input[type="date"]:focus {
    border-color: #0073aa;
    outline: none;
}

/* Список врачей в несколько колонок */
.ds-doctor-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Стили для карточки врача */
.ds-doctor-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.ds-doctor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Специальность врача */
.ds-doctor-specialty {
    font-size: 1.2em;
    color: #0073aa;
    margin-bottom: 14px;
    font-weight: 600;
}

/* Имя врача */
.ds-doctor-name {
    font-size: 1.1em;
    margin: 0 0 15px 0;
    color: #0073aa;
    word-wrap: break-word;
    font-weight: 600;
}

/* Номер кабинета */
.ds-doctor-office {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
}

/* Расписание */
.ds-doctor-schedule {
    margin-top: 10px;
}

.ds-schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-schedule-list li {
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.ds-schedule-list li:hover {
    background-color: #f1f1f1;
}

.ds-schedule-title {
    font-weight: bold;
    color: #333;
}

.ds-schedule-time {
    color: #666;
    font-size: 0.9em;
    display: block;
}

/* Стили для ссылок на специальности */
.ds-doctor-list li a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ds-doctor-list li a:hover {
    color: #005177;
    text-decoration: underline;
}

/* Стили для расписания на неделю */
.ds-weekly-schedule {
    margin-top: 20px;
}

.ds-schedule-date {
    margin-bottom: 30px;
}

.ds-schedule-date h3 {
    font-size: 1.5em;
    color: #0073aa;
    margin-bottom: 10px;
    font-weight: 600;
}

.ds-schedule-event {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-schedule-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ds-schedule-event strong {
    font-size: 1.1em;
    color: #333;
}

/* Стили для формы редактирования расписания */
#ds-schedule-editor {
    margin-top: 20px;
}

.ds-schedule-entry {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    transition: background-color 0.3s ease;
}

.ds-schedule-entry:hover {
    background-color: #f1f1f1;
}

.ds-schedule-entry label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.ds-schedule-entry input[type="date"],
.ds-schedule-entry input[type="time"],
.ds-schedule-entry input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.ds-schedule-entry input[type="date"]:focus,
.ds-schedule-entry input[type="time"]:focus,
.ds-schedule-entry input[type="text"]:focus {
    border-color: #0073aa;
    outline: none;
}

.ds-schedule-entry button.ds-remove-entry {
    margin-top: 10px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ds-schedule-entry button.ds-remove-entry:hover {
    background: #ff4c4c;
}

#ds-add-entry {
    margin-top: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#ds-add-entry:hover {
    background: #005177;
}

/* Адаптация для мобильных устройств */
@media (max-width: 600px) {
    .ds-doctor-list {
        grid-template-columns: 1fr;
    }

    .ds-filters {
        flex-direction: column;
    }

    .ds-filter {
        flex: 1 1 100%;
    }

    .ds-doctor-name {
        font-size: 1em;
    }

    .ds-doctor-specialty {
        font-size: 0.9em;
    }

    .ds-schedule-title,
    .ds-schedule-time {
        font-size: 0.8em;
    }
}
.ds-booking-form {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.ds-booking-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.ds-booking-form select,
.ds-booking-form input[type="date"],
.ds-booking-form input[type="time"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ds-booking-form button {
    margin-top: 15px;
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.ds-booking-form button:hover {
    background: #005177;
}

#ds-booking-result {
    margin-top: 15px;
    font-weight: bold;
}