/* ============================================================
   Orthodox Reader Scheduler — Public Display Styles
   ============================================================ */

/* ----------------------------------------------------------
   Container
   ---------------------------------------------------------- */
.ors-public-schedule {
    font-family: inherit;
    color: inherit;
    line-height: 1.6;
    max-width: 800px;
}

/* ----------------------------------------------------------
   Month Heading
   ---------------------------------------------------------- */
.ors-month-group {
    margin-bottom: 40px;
}

.ors-month-heading {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 2px solid #8b1a1a;
    padding-bottom: 6px;
    margin-bottom: 16px;
}

/* ----------------------------------------------------------
   Service Date Block
   ---------------------------------------------------------- */
.ors-service-date {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ors-feast-day {
    border-left: 4px solid #2c5fb3;
}

.ors-feast-eve-day {
    border-left: 4px solid #7b5ea7;
}

/* ----------------------------------------------------------
   Date Header
   ---------------------------------------------------------- */
.ors-date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    background: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
}

.ors-date-label {
    font-weight: 700;
    font-size: 1em;
    color: #1a1a1a;
}

.ors-feast-badge {
    display: inline-block;
    background: #2c5fb3;
    color: #fff;
    font-size: 0.78em;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.02em;
}

/* ----------------------------------------------------------
   Slots Table
   ---------------------------------------------------------- */
.ors-slots-table {
    width: 100%;
    border-collapse: collapse;
}

.ors-slots-table thead th {
    background: #f0f0f0;
    padding: 6px 16px;
    text-align: left;
    font-size: 0.82em;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 0.04em;
}

.ors-slots-table tbody tr {
    border-top: 1px solid #f0f0f0;
}

.ors-slots-table tbody tr:first-child {
    border-top: none;
}

.ors-slots-table tbody tr:hover {
    background: #fafafa;
}

.ors-service-type,
.ors-reader-name {
    padding: 8px 16px;
    vertical-align: middle;
}

.ors-service-type {
    color: #333;
    font-size: 0.93em;
    width: 50%;
}

.ors-reader-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.93em;
}

/* ----------------------------------------------------------
   Unassigned Slot
   ---------------------------------------------------------- */
.ors-row-unassigned .ors-service-type {
    color: #888;
}

.ors-unassigned {
    color: #c0392b;
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    background: #ffeaea;
    border-radius: 3px;
}

/* ----------------------------------------------------------
   No schedule message
   ---------------------------------------------------------- */
.ors-no-schedule {
    color: #666;
    font-style: italic;
    padding: 20px 0;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .ors-date-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ors-slots-table thead {
        display: none;
    }

    .ors-slots-table tbody tr {
        display: flex;
        flex-direction: column;
        padding: 8px 0;
    }

    .ors-service-type,
    .ors-reader-name {
        padding: 2px 16px;
        width: auto;
    }

    .ors-service-type {
        font-size: 0.8em;
        color: #777;
        font-weight: 600;
        text-transform: uppercase;
    }

    .ors-reader-name {
        font-size: 1em;
    }
}
