
/* ========================================
   BORYUNG START
======================================== */

:root {
  --boryung-brown: #6B4F3A;
  --boryung-brown-dark: #4F392B;
  --boryung-beige: #F3EDE5;
  --boryung-beige-light: #FAF7F3;
  --boryung-text: #191F28;
  --boryung-sub: #464849;
  --boryung-bg: #F7F8FA;
}

/* ========================================
   BASIC
======================================== */

html {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--boryung-bg);
  color: var(--boryung-text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  font-family: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

.modal-body strong {
  color: var(--boryung-text);
  font-weight: 600;
}

/* ========================================
   INFORMATION CARD
======================================== */

#infoList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.info-card {
  height: 92px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: #E8E0D8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.info-card:active {
  transform: translateY(0);
}

/* ========================================
   MODAL
======================================== */

.modal-backdrop {
  overflow: hidden;
}

#modal {
  display: flex;
  flex-direction: column;
  width: calc(100% - 32px);
  max-width: 600px;
  max-height: min(90vh, 760px);
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.modal-enter {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  animation: modalEnter 0.22s ease;
}

@keyframes modalEnter {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ========================================
   MODAL HEADER
======================================== */

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
  padding: 24px 24px 18px;
  background: white;
}

.modal-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 18px;
  background: var(--boryung-beige);
  font-size: 24px;
}

.modal-header-content {
  min-width: 0;
  flex: 1;
}

.modal-header-content h2 {
  margin: 0 0 5px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.modal-header-content p {
  margin: 0;
  color: var(--boryung-sub);
  font-size: 14px;
  line-height: 1.6;
}

.modal-close-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--boryung-beige);
  color: var(--boryung-brown);
  font-size: 21px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close-top:hover {
  background: #EDE4DA;
}

.modal-close-top:active {
  transform: scale(0.95);
}

/* ========================================
   MODAL BODY
======================================== */

.modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 24px 24px;
  overscroll-behavior: contain;
}

/* ========================================
   MODAL FOOTER
======================================== */

.modal-footer {
  flex-shrink: 0;
  padding: 12px 24px 24px;
  background: white;
}

.modal-close-bottom {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--boryung-beige);
  color: var(--boryung-brown);
  font-size: 15px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close-bottom:hover {
  background: #EDE4DA;
}

.modal-close-bottom:active {
  transform: scale(0.99);
}

/* ========================================
   MODAL CONTENT
======================================== */

.modal-section-title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--boryung-text);
}

.modal-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--boryung-beige-light);
  color: var(--boryung-sub);
  font-size: 14px;
  line-height: 1.65;
}

.modal-warning {
  padding: 15px 16px;
  border-radius: 16px;
  background: #FFF8F5;
  color: var(--boryung-brown-dark);
  font-size: 14px;
  line-height: 1.65;
}

.info-box {
  padding: 16px;
  border-radius: 18px;
  background: var(--boryung-beige-light);
}

.info-box-title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
}

.info-box-label {
  margin-bottom: 4px;
  color: #777B7E;
  font-size: 12px;
  font-weight: 700;
}

.info-box-value {
  color: var(--boryung-text);
  font-size: 15px;
  font-weight: 700;
  word-break: break-all;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--boryung-brown);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.link-button:hover {
  background: var(--boryung-brown-dark);
}

.link-button:active {
  transform: scale(0.99);
}

/* ========================================
   STEP CONTENT
======================================== */

.modal-body .flex.gap-3.rounded-2xl {
  font-size: 13px;
}

.modal-body .flex.gap-3.rounded-2xl h3 {
  font-size: 15px;
}

.modal-body .flex.gap-3.rounded-2xl p {
  font-size: 13px;
  line-height: 1.7;
}

/* ========================================
   WIFI
======================================== */

.wifi-day-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: var(--boryung-beige-light);
}

.wifi-day-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--boryung-brown);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.wifi-day-title {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 800;
}

.wifi-day-description {
  margin: 0;
  color: var(--boryung-sub);
  font-size: 14px;
  line-height: 1.65;
}

.wifi-floor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.wifi-floor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: white;
}

.wifi-floor {
  color: var(--boryung-sub);
  font-size: 13px;
  font-weight: 700;
}

.wifi-network {
  color: var(--boryung-brown);
  font-size: 15px;
  font-weight: 800;
}

.wifi-login-guide {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: white;
  color: var(--boryung-sub);
  font-size: 13px;
  line-height: 1.6;
}

.wifi-login-guide strong {
  color: var(--boryung-text);
  font-size: 13px;
}

/* ========================================
   TOOLS
======================================== */

.modal-body .rounded-2xl.bg-\[\#FAF7F3\] {
  font-size: 13px;
}

.modal-body .rounded-2xl.bg-\[\#FAF7F3\] .text-sm {
  font-size: 15px;
}

.modal-body .rounded-2xl.bg-\[\#FAF7F3\] p {
  font-size: 13px;
  line-height: 1.7;
}

/* ========================================
   PRINTER
======================================== */

.info-box .text-xs {
  font-size: 13px;
  line-height: 1.7;
}

.info-box .text-\[11px\] {
  font-size: 12px;
}

/* ========================================
   SCROLLBAR
======================================== */

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #D8D0C8;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #BDB1A6;
}

/* ========================================
   TABLET
   641px ~ 1024px
======================================== */

@media (min-width: 641px) and (max-width: 1024px) {
  #infoList {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   MOBILE
   640px 이하
======================================== */

@media (max-width: 640px) {
  h1 {
    font-size: 30px;
  }

  #infoList {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .info-card {
    height: 72px;
  }

  #modal {
    max-height: 90vh;
    border-radius: 24px;
  }

  .modal-header {
    padding: 20px 20px 16px;
  }

  .modal-body {
    padding: 0 20px 20px;
  }

  .modal-footer {
    padding: 10px 20px 20px;
  }

  .modal-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 21px;
  }

  .modal-header-content h2 {
    font-size: 21px;
  }

  .wifi-day-card {
    padding: 16px;
  }

  .wifi-floor-list {
    grid-template-columns: 1fr;
  }

  .wifi-floor-item {
    padding: 11px 12px;
  }
}