/* shared/event-calendar.css - 일정 캘린더 (shared/event-calendar.js) - 신학원 calendar.html · 선교회 홈 성경강연회 강연회 일정 */
.evc { --evc-seminar: #1f4d3a; --evc-retreat: #0f9d76; --evc-training: #e0782a; --evc-other: #be7483;
    display: grid; gap: 14px; max-width: 1100px; margin: 0 auto; font-size: 15px; }
.evc .k-seminar { --k: var(--evc-seminar); }
.evc .k-retreat { --k: var(--evc-retreat); }
.evc .k-training { --k: var(--evc-training); }
.evc .k-other { --k: var(--evc-other); }

.evc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.evc-nav { display: flex; align-items: center; gap: 8px; }
.evc-nav h3 { margin: 0 6px; min-width: 150px; text-align: center; font-size: 22px; font-weight: 900; color: #163829; }
.evc-nav button { width: 40px; height: 40px; border: 1px solid #dbe6db; border-radius: 8px; background: #fff; font-size: 22px; line-height: 1; color: #163829; cursor: pointer; }
.evc-nav .evc-today { width: auto; padding: 0 14px; font-size: 14px; font-weight: 800; }
.evc-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.evc-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.evc-filter button { padding: 7px 13px; border: 1px solid #dbe6db; border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 800; color: #344054; cursor: pointer; }
.evc-filter button[class*="k-"]::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--k); }
.evc-filter button.is-on { border-color: transparent; background: #163829; color: #fff; }
.evc-add { padding: 10px 16px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #1f4d3a, #4f8a6e); color: #fff; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; }

.evc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid #e6ede6; border-radius: 10px; overflow: hidden; background: #e6ede6; gap: 1px; }
.evc-dow { padding: 10px 4px; background: #fbf9f5; text-align: center; font-size: 13px; font-weight: 900; color: #475467; }
.evc-dow.is-sun, .evc-day.is-sun .evc-num { color: #d92d20; }
.evc-day { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-height: 104px; padding: 6px; border: 0; background: #fff; text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.evc-day:hover { background: #fdfcf9; }
.evc-day.is-out { background: #fdfcfa; }
.evc-day.is-out .evc-num { color: #b8c2d0; }
.evc-num { align-self: flex-start; min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 800; color: #0b120f; }
.evc-day.is-today .evc-num { background: #1f4d3a; color: #fff; }
.evc-day.is-picked { box-shadow: inset 0 0 0 2px #1f4d3a; }
.evc-bars { display: grid; gap: 3px; min-width: 0; }
.evc-bars i { display: block; padding: 2px 6px; border-radius: 6px; background: var(--k); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evc-bars em { font-size: 12.5px; font-style: normal; font-weight: 800; color: #667085; }
.evc-dots { display: none; gap: 3px; justify-content: center; }
.evc-dots b { width: 7px; height: 7px; border-radius: 50%; background: var(--k); }

.evc-below { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.evc-panel { padding: 16px 18px; border-radius: 10px; background: #fff; border: 1px solid #e6ede6; min-width: 0; }
.evc-panel h4 { margin: 0 0 10px; font-size: 16px; font-weight: 900; color: #163829; }
.evc-empty { margin: 0; font-size: 14px; color: #667085; }
.evc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.evc-list li { border-radius: 8px; }
.evc-list li.is-open { background: #fdfbf8; }
.evc-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; border-radius: 8px; background: none; font: inherit; text-align: left; cursor: pointer; }
.evc-item:hover { background: #fbf9f5; }
.evc-date { flex-shrink: 0; width: 52px; padding: 6px 0; border-radius: 8px; background: var(--k); color: #fff; display: grid; text-align: center; line-height: 1.1; }
.evc-date b { font-size: 20px; }
.evc-date small { font-size: 12.5px; text-transform: uppercase; opacity: 0.9; }
.evc-item-text { display: grid; gap: 3px; min-width: 0; }
.evc-item-text > b { font-size: 15.5px; color: #0b120f; overflow-wrap: anywhere; }
.evc-item-text small { font-size: 12.5px; color: #667085; }
.evc-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--k); color: #fff; font-size: 12px; font-weight: 800; }
.evc-detail { padding: 0 12px 12px 72px; font-size: 14.5px; line-height: 1.7; color: #344054; }
.evc-detail p { margin: 0 0 8px; }
.evc-actions { display: flex; gap: 6px; }
.evc-actions button { padding: 6px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.evc-actions .is-danger { color: #b42318; border-color: #fecdca; }

.evc-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(11, 19, 15, 0.45); }
.evc-modal-box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; gap: 12px; padding: 22px; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4); }
.evc-modal-box h3 { margin: 0; font-size: 20px; color: #163829; }
.evc-modal-box label { display: grid; gap: 5px; font-size: 13.5px; font-weight: 800; color: #344054; }
.evc-modal-box input, .evc-modal-box select, .evc-modal-box textarea { padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 400; }
.evc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.evc-modal-foot { display: flex; justify-content: flex-end; gap: 8px; }
.evc-modal-foot button { padding: 10px 18px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.evc-modal-foot .is-primary { border-color: transparent; background: #1f4d3a; color: #fff; }

