/* Daily Program detail view aligned with Program at a Glance visuals */

.daily-program-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.glance-day-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1.6rem;
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px -22px rgba(13, 30, 22, 0.45);
}

.glance-day-tab {
    flex: 1;
    display: block;
    padding: 0.9rem 1.2rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    background: #f8faf8;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.glance-day-tab:hover {
    background: #eef4ef;
    color: var(--text);
    border-color: #c9d8cd;
}

.glance-day-tab.is-active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 8px 18px -14px rgba(22, 49, 37, 0.8);
}

.glance-day-panel {
    display: none;
}

.glance-day-panel.is-active {
    display: block;
}

.glance-notice {
    text-align: right;
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.daily-program-day-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--line);
}

.daily-program-day-head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text);
}

.daily-program-day-head p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: right;
}

.daily-program-timeline {
    display: grid;
    gap: 0.8rem;
}

.daily-section {
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: rgba(22, 95, 82, 0.06);
    border-left: 4px solid var(--accent);
}

.daily-section h3 {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
    color: var(--text);
    font-weight: 700;
}

.daily-section p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.daily-slot {
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.daily-slot__meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    background: #f3f6f3;
    border-right: 1px solid var(--line);
}

.daily-slot__time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
}

.daily-slot__room {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
}

.daily-slot__body {
    padding: 0.9rem 1rem;
}

.daily-slot__body h3 {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    color: var(--text);
}

.daily-slot__topic,
.daily-slot__chairs {
    margin: 0 0 0.35rem;
    font-size: 0.76rem;
    color: var(--muted);
}

.daily-slot__chairs {
    font-weight: 600;
    color: #4f5f56;
}

.daily-talks {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.daily-talks li {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0.6rem;
    align-items: start;
}

.daily-talks li > span {
    display: inline-block;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(22, 95, 82, 0.1);
    color: #165f52;
    font-size: 0.64rem;
    font-weight: 700;
    text-align: center;
}

.daily-talks strong {
    display: block;
    font-size: 0.74rem;
    color: var(--text);
    margin-bottom: 0.1rem;
}

.daily-talks p {
    margin: 0;
    font-size: 0.68rem;
    color: var(--muted);
}

.daily-slot--break .daily-slot__meta,
.daily-slot--break .daily-slot__body {
    background: #f0f0f0;
}

.daily-slot--special .daily-slot__meta,
.daily-slot--special .daily-slot__body {
    background: #fef9e6;
}

.daily-slot--luncheon .daily-slot__meta,
.daily-slot--luncheon .daily-slot__body {
    background: #fff9f0;
}

/* ── Parallel rooms layout ── */
.daily-slot__body--rooms {
    padding: 0;
}

.daily-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.daily-room {
    padding: 0.8rem 1rem;
    border-left: 1px solid var(--line);
}

.daily-room:first-child {
    border-left: 0;
}

.daily-room__label {
    margin: 0 0 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.daily-room--a .daily-room__label { color: #4a5a8a; }
.daily-room--b .daily-room__label { color: #5d8a9a; }
.daily-room--c .daily-room__label { color: #7a6f8a; }
.daily-room--d .daily-room__label { color: #4a8a6a; }

.daily-room__name {
    margin: 0 0 0.25rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text);
}

.daily-room__desc {
    margin: 0;
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 980px) {
    .daily-slot {
        grid-template-columns: 1fr;
    }

    .daily-slot__meta {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .daily-program-page {
        padding-top: 1.3rem;
    }

    .glance-day-tabs {
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.4rem;
        margin-bottom: 1.2rem;
        border-radius: 12px;
    }

    .glance-day-tab {
        border-radius: 9px;
        font-size: 0.78rem;
        padding: 0.72rem 1rem;
    }

    .daily-program-day-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .daily-program-day-head p {
        text-align: left;
        font-size: 0.72rem;
    }

    .daily-talks li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .daily-talks li > span {
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .daily-rooms {
        grid-template-columns: 1fr;
    }

    .daily-room {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .daily-room:first-child {
        border-top: 0;
    }
}

/* ── Notice modal ── 준비중 등 안내 알림 ── */
.notice-modal[hidden] {
    display: none;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    animation: notice-modal-fade 0.18s ease-out;
}

.notice-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 24, 18, 0.55);
    backdrop-filter: blur(2px);
}

.notice-modal__dialog {
    position: relative;
    width: min(420px, 100%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(12, 22, 17, 0.24);
    padding: 2rem 1.6rem 1.4rem;
    text-align: center;
    animation: notice-modal-pop 0.22s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.notice-modal__close {
    position: absolute;
    top: 0.55rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    font-size: 1.55rem;
    line-height: 1;
    color: var(--muted, #637264);
    cursor: pointer;
    border-radius: 8px;
}

.notice-modal__close:hover {
    background: rgba(14, 24, 18, 0.05);
    color: var(--text, #163125);
}

.notice-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 141, 85, 0.14), rgba(42, 141, 85, 0.04));
    color: var(--accent, #2a8d55);
    margin-bottom: 0.85rem;
}

.notice-modal__title {
    margin: 0 0 0.4rem;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text, #163125);
}

.notice-modal__message {
    margin: 0 0 1.3rem;
    color: var(--muted, #637264);
    font-size: 0.92rem;
    line-height: 1.6;
}

.notice-modal__actions {
    display: flex;
    justify-content: center;
}

.notice-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #2a8d55 0%, #1e6b45 100%);
    box-shadow: 0 10px 20px rgba(30, 107, 69, 0.22);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}

.notice-modal__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(30, 107, 69, 0.28);
    filter: saturate(1.05);
}

.notice-modal__button:focus-visible {
    outline: 2px solid #1e6b45;
    outline-offset: 2px;
}

.notice-modal-open {
    overflow: hidden;
}

@keyframes notice-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes notice-modal-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
