/* Material Design inspired doctor schedule page */
.o_doctor_schedule_wrap {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    min-height: 70vh;
    padding-bottom: 48px;
}

.ds-app {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

.ds-appbar {
    background: #1976d2;
    color: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.28);
}

.ds-appbar h1 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 500;
}

.ds-appbar p {
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

.ds-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .ds-filters {
        grid-template-columns: 1fr;
    }
}

.ds-field {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    padding: 8px 12px 4px;
    position: relative;
}

.ds-field label {
    display: block;
    font-size: 0.75rem;
    color: #1976d2;
    font-weight: 500;
    margin-bottom: 4px;
}

.ds-field select,
.ds-field input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 8px 4px 10px 32px;
    background: transparent;
    font-family: inherit;
}

.ds-field .material-icons {
    position: absolute;
    left: 12px;
    bottom: 14px;
    color: #757575;
    font-size: 20px;
}

.ds-results-meta {
    color: #616161;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.ds-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.ds-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.ds-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eeeeee;
}

.ds-card-header h2 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 500;
    color: #212121;
}

.ds-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ds-chip {
    display: inline-flex;
    align-items: center;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.ds-table-wrap {
    overflow-x: auto;
}

.ds-table {
    width: 100%;
    border-collapse: collapse;
}

.ds-table th,
.ds-table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.ds-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #757575;
    font-weight: 500;
    background: #fafafa;
}

.ds-table td {
    color: #424242;
}

.ds-time {
    font-weight: 500;
    color: #1976d2;
}

.ds-empty,
.ds-loading,
.ds-error {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    color: #616161;
}

.ds-loading .material-icons,
.ds-empty .material-icons,
.ds-error .material-icons {
    font-size: 48px;
    color: #90caf9;
    margin-bottom: 12px;
}

.ds-error {
    color: #c62828;
}

.ds-error .material-icons {
    color: #ef9a9a;
}

.ds-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid #e3f2fd;
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: ds-spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes ds-spin {
    to { transform: rotate(360deg); }
}
