/* ===== Day-cell "click to enlarge" — scoped to AP Psych course 60151 only ===== */
body.context-course_60151 .day-zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: zoom-in;
    user-select: none;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    background: #1a2744;
    color: #fff;
    padding: 3px 9px;
    border-radius: 12px;
    margin-bottom: 8px;
}

body.context-course_60151 .day-zoom-inner.zoom-open {
    position: fixed !important;
    top: 13vh !important;
    left: 50% !important;
    transform: translateX(-50%) scale(1.9) !important;
    transform-origin: top center !important;
    width: 320px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    opacity: 1 !important;
    z-index: 2147483000 !important;
    padding: 20px 22px !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5) !important;
    border: 3px solid #1a2744 !important;
}

body.context-course_60151 .day-zoom-backdrop {
    display: none;
}

body.context-course_60151 .day-zoom-backdrop.zoom-open {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(8, 12, 24, 0.72) !important;
    opacity: 1 !important;
    z-index: 2147482999 !important;
}

/* Header-placed variant: button lives inside the <th> date bar itself, next
   to the date text, instead of above the day's content in the <td>. The
   default pill style (navy bg + white text) would be invisible on the
   already-navy header, so this overrides it to a quiet inline icon. */
body.context-course_60151 th .day-zoom-btn {
    background: transparent;
    color: #ccd6f0;
    padding: 0;
    margin: 0 0 0 6px;
    border-radius: 0;
    font-size: 14px;
    font-weight: normal;
    vertical-align: middle;
}
body.context-course_60151 th .day-zoom-btn:hover {
    color: #ffffff;
}

@media (max-width: 700px) {
    body.context-course_60151 .day-zoom-inner.zoom-open {
        transform: translateX(-50%) scale(1.3) !important;
        width: 260px !important;
    }
}
