@font-face {
  font-family: "Pretendard";
  src: url("../fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --mrm-public-bg: #eafffb;
  --mrm-public-surface: #ffffff;
  --mrm-public-surface-soft: #f7f7f5;
  --mrm-public-border: #deded8;
  --mrm-public-border-soft: #e9e9e4;
  --mrm-public-text: #222222;
  --mrm-public-muted: #999999;
  --mrm-public-soft: #b0b0b0;
  --mrm-public-accent: #40e0d0;
  --mrm-public-radius-sm: 6px;
  --mrm-public-radius-md: 10px;
  --mrm-public-radius-lg: 16px;
  --mrm-public-shadow: 0 12px 28px rgba(20, 20, 20, 0.04);
}

.mrm-lookup-page,
.mrm-lookup-page * {
  box-sizing: border-box;
}

.mrm-lookup-page {
  width: 100%;
  min-height: 100%;
  padding: 28px 20px;
  color: var(--mrm-public-text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mrm-lookup-page a,
.mrm-lookup-page a:hover,
.mrm-lookup-page a:focus,
.mrm-lookup-page a:visited {
  text-decoration: none !important;
}

.mrm-lookup-screen,
.mrm-lookup-screen-result {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

/* ===============================
   Accessibility
================================ */

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===============================
   Lookup form
================================ */

.mrm-lookup-title-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mrm-lookup-title {
  margin: 0;
  padding: 0 0 0 10px;
  font-size: 40px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: var(--mrm-public-text);
}

.mrm-lookup-title-line {
  display: block;
}

.mrm-lookup-subtitle {
  margin: 0;
  color: var(--mrm-public-muted);
  font-size: 16px;
  line-height: 1.6;
}

.mrm-lookup-form {
  width: min(100%, 560px);
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--mrm-public-radius-lg);
  background: var(--mrm-public-surface);
  border: 1px solid var(--mrm-public-border);
  box-shadow: var(--mrm-public-shadow);
}

.mrm-lookup-form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
}

.mrm-lookup-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--mrm-public-muted);
}

.mrm-lookup-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--mrm-public-border);
  border-radius: var(--mrm-public-radius-sm);
  background: #ffffff;
  color: var(--mrm-public-text);
  font-size: 18px;
  font-weight: 400;
  outline: none;
}

.mrm-lookup-input:focus {
  border-color: var(--mrm-public-accent);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.16);
}

.mrm-lookup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: var(--mrm-public-radius-sm);
  background: var(--mrm-public-text);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.mrm-lookup-button:hover {
  background: #444444;
  color: #ffffff;
}

.mrm-lookup-error,
.mrm-lookup-empty {
  width: 100%;
  padding: 22px 24px;
  border-radius: var(--mrm-public-radius-md);
  background: #fff5f5;
  border: 1px solid #ffd6d6;
  color: #b42318;
  font-size: 15px;
  line-height: 1.5;
}

.mrm-lookup-empty {
  background: var(--mrm-public-surface);
  border-color: var(--mrm-public-border);
  color: var(--mrm-public-muted);
}

/* ===============================
   Result page common
================================ */

.mrm-lookup-result-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mrm-lookup-result-detail,
.mrm-lookup-dashboard {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mrm-lookup-result-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.mrm-lookup-result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.mrm-lookup-reset-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--mrm-public-surface);
  border: 1px solid var(--mrm-public-border);
  color: var(--mrm-public-text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.mrm-lookup-reset-link:hover {
  background: var(--mrm-public-text);
  color: #ffffff;
}

/* ===============================
   Layout
================================ */

.mrm-lookup-dashboard-top {
  display: grid;
  grid-template-columns: minmax(320px, 35%) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.mrm-lookup-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.mrm-lookup-panel {
  background: var(--mrm-public-surface);
  border: 1px solid var(--mrm-public-border);
  border-radius: var(--mrm-public-radius-md);
  padding: 28px;
  box-shadow: var(--mrm-public-shadow);
}

.mrm-lookup-panel h3,
.mrm-lookup-help-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  color: #444444;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

/* ===============================
   Direct image icons
================================ */

.mrm-section-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

.mrm-section-title-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.mrm-lookup-schedule-panel .mrm-section-title-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-basis: 20px;
}

.mrm-lookup-documents-panel .mrm-section-title-icon,
.mrm-lookup-notices-card .mrm-section-title-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-basis: 20px;
}

.mrm-hospital-card .mrm-section-title-icon,
.mrm-hotel-card .mrm-section-title-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex-basis: 24px;
}

.mrm-inline-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  object-fit: contain;
  flex: 0 0 16px;
}

.mrm-download-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* 이전 CSS 아이콘 방식 제거 */
.mrm-lookup-schedule-panel .mrm-lookup-panel-header h3::before,
.mrm-lookup-documents-panel h3::before,
.mrm-lookup-notices-card h3::before,
.mrm-hospital-card h3::before,
.mrm-hotel-card h3::before,
.mrm-document-title::before,
.mrm-download-button::after {
  content: none !important;
  display: none !important;
}

/* ===============================
   Status
================================ */

.mrm-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.mrm-status-badge.is-confirmed {
  background: rgba(64, 224, 208, 0.14);
  color: #089183;
}

.mrm-status-badge.is-pending {
  background: #fff7e6;
  color: #b56a00;
}

.mrm-status-badge.is-checking {
  background: #eef4ff;
  color: #2463c7;
}

.mrm-status-badge.is-canceled,
.mrm-status-badge.is-expired {
  background: #fff1f1;
  color: #c73636;
}

/* ===============================
   Upcoming schedule
================================ */

.mrm-lookup-schedule-panel {
  min-height: 520px;
  padding: 28px 30px;
}

.mrm-lookup-schedule-panel .mrm-lookup-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.mrm-lookup-schedule-panel .mrm-lookup-panel-header h3 {
  position: static;
  margin: 0;
  padding-left: 0;
  font-size: 20px;
}

.mrm-lookup-schedule-panel .mrm-status-badge {
  display: none;
}

.mrm-lookup-schedule-panel .mrm-lookup-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-height: none;
  padding: 0;
  overflow: visible;
}

.mrm-schedule-item {
  display: grid;
  grid-template-columns: 46px 3px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.mrm-schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 46px;
  min-width: 46px;
  min-height: auto;
  border-radius: 0;
  background: transparent;
}

.mrm-schedule-day {
  color: var(--mrm-public-text);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.05;
}

.mrm-schedule-weekday {
  margin-top: 4px;
  color: var(--mrm-public-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.mrm-schedule-item::before {
  content: "";
  display: block;
  width: 3px;
  height: 46px;
  border-radius: 999px;
  background: var(--mrm-event-color, var(--mrm-public-accent));
  grid-column: 2;
  grid-row: 1;
}

.mrm-schedule-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  color: var(--mrm-public-text);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mrm-schedule-title {
  display: block;
  color: var(--mrm-public-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.mrm-schedule-time {
  display: block;
  color: var(--mrm-public-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

/* ===============================
   Calendar
================================ */

.mrm-lookup-calendar {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 520px;
  padding: 0;
  border-radius: var(--mrm-public-radius-md);
  overflow: hidden;
  background: var(--mrm-public-surface);
  border: 1px solid var(--mrm-public-border);
  box-shadow: var(--mrm-public-shadow);
}

.mrm-lookup-calendar-toolbar {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 0;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 28px;
  border-bottom: 1px solid var(--mrm-public-border-soft);
}

.mrm-lookup-calendar-month {
  color: var(--mrm-public-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.02em;
}

.mrm-lookup-calendar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 100;
  width: 54px;
  height: 30px;
  border: 1px solid var(--mrm-public-border);
  border-radius: 5px;
  background: #ffffff;
  color: var(--mrm-public-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.mrm-lookup-calendar-nav:hover {
  background: #f7f7f5;
  color: var(--mrm-public-text);
}

.mrm-lookup-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  height: 44px;
  margin: 0;
  border-bottom: 1px solid var(--mrm-public-border-soft);
  color: var(--mrm-public-text);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.mrm-lookup-calendar-weekdays span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mrm-lookup-calendar-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
}

.mrm-lookup-calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  grid-template-rows: 100px !important;
  border-bottom: 1px solid var(--mrm-public-border-soft);
}

.mrm-lookup-calendar-week:last-child {
  border-bottom: 0;
}

.mrm-lookup-calendar-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 84px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--mrm-public-border-soft);
  border-radius: 0;
  background: #ffffff;
  color: var(--mrm-public-text);
  cursor: pointer;
  outline: none;
  overflow: hidden;
}

.mrm-lookup-calendar-cell:nth-child(7n) {
  border-right: 0;
}

.mrm-lookup-calendar-cell.is-empty {
  cursor: default;
  background: #ffffff;
  border-color: var(--mrm-public-border-soft);
}

.mrm-lookup-calendar-cell:hover {
  background: #fafafa;
}

.mrm-lookup-calendar-cell.is-past {
  color: var(--mrm-public-soft);
  background: #ffffff;
}

.mrm-lookup-calendar-cell.is-selected {
  box-shadow: none;
}

.mrm-lookup-calendar-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: 24px;
  max-height: 24px;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.mrm-lookup-calendar-cell.is-selected .mrm-lookup-calendar-day {
  background: transparent;
  color: var(--mrm-public-text);
}

.mrm-lookup-calendar-cell.is-today .mrm-lookup-calendar-day {
  background: var(--mrm-public-text);
  color: #ffffff;
}

.mrm-lookup-calendar-cell.is-outside-month .mrm-lookup-calendar-day,
.mrm-lookup-calendar-cell.is-past .mrm-lookup-calendar-day {
  color: #999999 !important;
}
/* Today keeps black circle */
.mrm-lookup-calendar-cell.is-today .mrm-lookup-calendar-day {
  background: var(--mrm-public-text) !important;
  color: #ffffff !important;
}
.mrm-lookup-calendar-cell.is-today.is-selected .mrm-lookup-calendar-day {
  background: var(--mrm-public-text);
  color: #ffffff;
}

.mrm-lookup-calendar-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-height: 58px;
  min-width: 0;
  min-height: 0;
  margin-top: 4px;
  padding-right: 3px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: #cfcfca transparent;
}

.mrm-lookup-calendar-events::-webkit-scrollbar {
  width: 4px;
}

.mrm-lookup-calendar-events::-webkit-scrollbar-track {
  background: transparent;
}

.mrm-lookup-calendar-events::-webkit-scrollbar-thumb {
  background: #cfcfca;
  border-radius: 999px;
}

.mrm-lookup-calendar-event,
.mrm-lookup-calendar-bar {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 40px;
  padding: 2px 5px;
  border: 0;
  border-radius: 2px;
  gap: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  white-space: normal;
  overflow: hidden;
  flex: 0 0 auto;
}

.mrm-lookup-calendar-event-dot,
.mrm-lookup-calendar-bar-dot {
  display: none;
}

/* 캘린더 예약 내용: 시간 / 내용 줄바꿈 */
.mrm-lookup-calendar-event-text,
.mrm-lookup-calendar-bar-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.2 !important;
}

.mrm-lookup-calendar-event-time,
.mrm-lookup-calendar-bar-time {
  display: flex;
  width: 100% !important;
  color: inherit;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

.mrm-lookup-calendar-event-title,
.mrm-lookup-calendar-bar-title {
  display: flex;
  width: 100% !important;
  color: inherit;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  text-align: left;

}

.mrm-lookup-calendar-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  min-height: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 2px;
}

.mrm-lookup-calendar-event:hover,
.mrm-lookup-calendar-bar:hover,
.mrm-lookup-calendar-event.is-selected,
.mrm-lookup-calendar-bar.is-selected {
  outline: none;
  filter: brightness(0.97);
}

.mrm-lookup-calendar-more {
  display: none !important;
}

/* ===============================
   Documents
================================ */

.mrm-lookup-documents-panel,
.mrm-hospital-card,
.mrm-hotel-card {
  min-height: 340px;
  padding: 28px;
}

.mrm-lookup-documents-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mrm-lookup-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--mrm-public-border);
  border-radius: 8px;
  background: #ffffff;
}

.mrm-lookup-document-row:last-child {
  border-bottom: 1px solid var(--mrm-public-border);
}

.mrm-document-title {
  display: block;
  min-width: 0;
  color: var(--mrm-public-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mrm-download-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mrm-public-text);
  font-size: 0;
  font-weight: 400;
  text-decoration: none;
  line-height: 1;
}

.mrm-download-button:hover {
  background: transparent;
  color: var(--mrm-public-text);
  opacity: 0.55;
}

.mrm-download-button:focus,
.mrm-download-button:visited {
  text-decoration: none;
}

.mrm-file-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mrm-public-soft);
  font-size: 0;
}

.mrm-file-empty::after {
  content: "";
}

/* ===============================
   Hospital / Hotel cards
================================ */

.mrm-card-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mrm-card-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px dashed var(--mrm-public-border);
}

.mrm-card-info-block:last-child {
  margin-bottom: 0;
}

.mrm-card-info-block strong {
  display: block;
  color: var(--mrm-public-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mrm-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mrm-public-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mrm-card-meta-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.mrm-hotel-card .mrm-card-info-block {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 22px;
}

.mrm-hotel-card .mrm-card-meta {
  display: block;
  padding-left: 0;
}

.mrm-map-button,
.mrm-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 14px;
  border-radius: var(--mrm-public-radius-sm);
  background: #ffffff;
  border: 1px solid var(--mrm-public-border);
  color: var(--mrm-public-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.mrm-map-button:hover {
  background: var(--mrm-public-surface-soft);
  color: var(--mrm-public-text);
}

.mrm-map-button--hospital {
  margin-top: 18px;
}

/* ===============================
   Notices
================================ */

.mrm-lookup-notices-card {
  min-height: 160px;
}

.mrm-notices-row-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mrm-public-border);
  border-radius: var(--mrm-public-radius-sm);
  background: #ffffff;
}

.mrm-notice-row {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--mrm-public-border-soft);
  color: var(--mrm-public-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mrm-notice-row:last-child {
  border-bottom: 0;
}

.mrm-notice-row--personal {
  background: #ffffff;
}

.mrm-lookup-empty-text {
  margin: 0;
  color: var(--mrm-public-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* ===============================
   Help
================================ */

.mrm-lookup-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--mrm-public-radius-md);
  background: var(--mrm-public-text);
  color: #ffffff;
}

.mrm-lookup-help-card h3 {
  margin-bottom: 8px;
  color: #ffffff;
}

.mrm-lookup-help-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.mrm-lookup-help-card .mrm-help-button {
  flex-shrink: 0;
  margin-top: 0;
  background: #222222;
  color: #ffffff;
  border-color: #ffffff;
  font-size: 17px;
}

.mrm-lookup-help-card .mrm-help-button:hover {
  background: #f4f5f6;
  color: var(--mrm-public-text);
}

/* ===============================
   Responsive
================================ */

@media (max-width: 1100px) {
  .mrm-lookup-dashboard-top {
    grid-template-columns: 1fr;
  }

  .mrm-lookup-info-grid {
    grid-template-columns: 1fr;
  }

  .mrm-lookup-schedule-panel,
  .mrm-lookup-documents-panel,
  .mrm-hospital-card,
  .mrm-hotel-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .mrm-lookup-page {
    padding: 22px 12px;
  }

  .mrm-lookup-result-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mrm-lookup-result-actions,
  .mrm-lookup-reset-link {
    width: 100%;
  }

  .mrm-lookup-dashboard,
  .mrm-lookup-result-detail {
    gap: 20px;
  }

  .mrm-lookup-dashboard-top,
  .mrm-lookup-info-grid {
    gap: 20px;
  }

  .mrm-lookup-panel,
  .mrm-lookup-calendar,
  .mrm-lookup-help-card,
  .mrm-lookup-form {
    padding: 22px;
  }

  .mrm-lookup-calendar {
    padding: 0;
    overflow-x: visible;
  }

  .mrm-lookup-schedule-panel {
    padding: 22px;
  }

  .mrm-lookup-schedule-panel .mrm-lookup-panel-header h3 {
    font-size: 20px;
  }

  .mrm-schedule-item {
    grid-template-columns: 42px 3px minmax(0, 1fr);
    gap: 14px;
  }

  .mrm-schedule-day {
    font-size: 20px;
  }

  .mrm-schedule-weekday {
    font-size: 13px;
  }

  .mrm-schedule-title {
    font-size: 15px;
  }

  .mrm-schedule-time {
    font-size: 12px;
  }

  .mrm-lookup-calendar-toolbar,
  .mrm-lookup-calendar-weekdays,
  .mrm-lookup-calendar-grid {
    min-width: 0;
    width: 100%;
  }

  .mrm-lookup-calendar-toolbar {
    padding: 0 20px;
  }

  .mrm-lookup-help-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .mrm-lookup-help-card .mrm-help-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .mrm-lookup-title {
    font-size: 42px;
  }

  .mrm-lookup-panel h3,
  .mrm-lookup-help-card h3 {
    font-size: 19px;
  }

  .mrm-lookup-panel,
  .mrm-lookup-help-card,
  .mrm-lookup-form,
  .mrm-lookup-schedule-panel {
    padding: 20px;
  }

  .mrm-lookup-calendar {
    padding: 0;
  }

  .mrm-schedule-item {
    grid-template-columns: 38px 3px minmax(0, 1fr);
    gap: 12px;
  }

  .mrm-schedule-day {
    font-size: 19px;
  }

  .mrm-schedule-weekday {
    font-size: 12px;
  }

  .mrm-schedule-title {
    font-size: 14px;
  }

  .mrm-schedule-time {
    font-size: 12px;
  }

  .mrm-document-title,
  .mrm-card-info-block strong,
  .mrm-notice-row {
    font-size: 14px;
  }

  .mrm-card-meta {
    font-size: 12px;
  }

  .mrm-notice-row {
    min-height: 50px;
    padding: 13px 14px;
  }
}

/* Other month dates + past dates */
.mrm-lookup-calendar-cell.is-outside-month .mrm-lookup-calendar-day,
.mrm-lookup-calendar-cell.is-past .mrm-lookup-calendar-day {
  color: #999999 !important;
}

/* Today keeps black circle */
.mrm-lookup-calendar-cell.is-today .mrm-lookup-calendar-day {
  background: var(--mrm-public-text) !important;
  color: #ffffff !important;
}

/* Schedule list clickable state */
.mrm-schedule-item {
  cursor: pointer;
}

.mrm-schedule-item.is-active .mrm-schedule-title {
  font-weight: 600;
}

.mrm-schedule-item.is-active .mrm-schedule-day {
  color: var(--mrm-event-color, var(--mrm-public-accent));
}

/* Force plugin public page font */
body .mrm-lookup-page,
body .mrm-lookup-page *,
body .mrm-lookup-page button,
body .mrm-lookup-page input,
body .mrm-lookup-page textarea,
body .mrm-lookup-page select,
body .mrm-lookup-page a,
body .mrm-lookup-page span,
body .mrm-lookup-page div,
body .mrm-lookup-page p,
body .mrm-lookup-page h1,
body .mrm-lookup-page h2,
body .mrm-lookup-page h3,
body .mrm-lookup-page h4,
body .mrm-lookup-page strong {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}