/* OPTIMIZE CLINIC Schedule Styling */

.schedule-container {
    width: 100%;
    margin-top: 15px;
    background-color: transparent;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #4a4a4a;
    letter-spacing: 0.05em; /* Narrower than default theme if it was too wide */
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    table-layout: fixed; /* Ensures equal column widths for days */
}

.schedule-table th, 
.schedule-table td {
    padding: 12px 2px; /* Reduced padding to fit fixed layout */
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    word-break: break-all;
}

/* Day columns - sharing the remaining width equally */
.schedule-table th:not(.col-time),
.schedule-table td:not(.col-time) {
    width: 12%; 
}

.schedule-table thead th {
    font-weight: 500;
    font-size: 1rem;
    color: #666;
    border-bottom: 2px solid #e0e0e0;
}

/* Serif font for numbers and headers */
.schedule-table th, 
.col-time {
    font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.col-time {
    width: 130px; /* Fixed width for the time column */
    white-space: nowrap;
    text-align: left;
    padding-left: 10px;
    padding-right: 5px;
    font-size: 1.05rem;
    font-weight: 500;
}

.symbol-mark {
    display: block;
    margin: 4px auto 0; /* Added top margin to align with text */
    width: 14px;
    height: 14px;
    position: relative;
}

/* Base circle for ● */
.symbol-mark.is-circle {
    background-color: #7d635a;
    border-radius: 50%;
}

/* Double circle for ◎ */
.symbol-mark.is-double {
    border: 1.5px solid #7d635a;
    border-radius: 50%;
    width: 16px; 
    height: 16px;
    box-sizing: border-box;
}

.symbol-mark.is-double::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border: 1.5px solid #7d635a;
    border-radius: 50%;
}

/* Cross for × */
.symbol-mark.is-cross {
    width: 14px;
    height: 14px;
}

.symbol-mark.is-cross::before,
.symbol-mark.is-cross::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px; 
    height: 1.5px;
    background-color: #7d635a; /* Updated to brown */
}

.symbol-mark.is-cross::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.symbol-mark.is-cross::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Star for ★ */
.symbol-mark.is-star {
    background-color: #7d635a;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    width: 18px; 
    height: 18px;
    margin-top: 2px; /* Adjusted to look centered */
}

.symbol-sub {
    display: block;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.2;
}

.schedule-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    padding-left: 10px;
    border-left: 3px solid #d4c4a8;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .schedule-container {
        padding: 0;
        overflow-x: auto;
    }
    .col-time {
        width: 115px; /* Reduced width for mobile to save space */
        padding-left: 5px;
        padding-right: 2px;
    }
    .schedule-table th, 
    .schedule-table td {
        padding: 10px 1px;
    }
}