@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css');

:root {
  --glass-dark-bg: rgba(20, 22, 28, 0.65);
  --glass-dark-border: rgba(255, 255, 255, 0.15);
  --p2g-mint: #06b6d4;
  --text-muted: #aaaaaa;
}

/* =============================================
   PWA 앱(Standalone) 모드일 때 설치 버튼 강제 숨김
   ============================================= */
@media all and (display-mode: standalone) {

  #install-pwa-btn,
  #installBtn {
    display: none !important;
  }
}

/* =============================================
   Body (배경 이미지 고정)
   ============================================= */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* 데스크탑에서는 내부 scroll-container로 스크롤 */
  font-family: 'Pretendard', sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/ss/index.png') no-repeat center center fixed;
  background-size: cover;
}

.text-mint {
  color: var(--p2g-mint) !important;
}

/* =============================================
   우측 상단 버튼 & PC 고정 로그인 창
   ============================================= */
.btn-unified-theme {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-unified-theme:hover {
  background: var(--p2g-mint) !important;
  border-color: var(--p2g-mint) !important;
  color: #fff !important;
}

/* Deprecated: PWA download specific fixed position */
/* Now handled inline in index.html #top-right-buttons-wrapper */

.login-card-fixed {
  position: fixed;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 380px;
  background: var(--glass-dark-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  border: 1px solid var(--glass-dark-border);
  padding: 40px 30px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  z-index: 900;
}

/* =============================================
   풀페이지 스크롤 컨테이너 (CSS Scroll Snap)
   ============================================= */
.scroll-container {
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* =============================================
   각 슬라이드 섹션
   ============================================= */
.landing-section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8%;
  padding-right: 480px;
  /* PC 로그인 창 겹침 방지 */
  box-sizing: border-box;
  color: white;
}

.feature-content,
.cta-content,
.main-copy {
  max-width: 800px;
}

/* 타이포그래피 */
.logo-branding {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.logo-branding img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.logo-branding h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
  margin: 0;
  letter-spacing: -0.5px;
}

.main-copy .subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.main-copy .title {
  font-size: 5.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: -2px;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.main-copy .description {
  font-size: 1.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400;
  word-break: keep-all;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* 액션 버튼 */
.hero-action-buttons .btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.hero-action-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5) !important;
}

.hero-signup-btn {
  background-color: var(--p2g-mint);
  border: none;
  color: #fff !important;
  min-width: 220px;
}

.hero-signup-btn:hover {
  background-color: #0891b2;
}

.hero-learn-more-btn {
  border-width: 2px;
  color: #fff;
}

.hero-learn-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* 두 번째 슬라이드 그리드 (기능 카드) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.icon-box {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.feature-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
}

.cta-section {
  position: relative;
}

.footer-inline {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  padding-left: 8%;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-inline a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-inline a:hover {
  color: rgba(255, 255, 255, 0.7);
}


/* =============================================
   서브 페이지 독립 컨테이너
   ============================================= */
.main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  width: 100%;
}

.content-wrapper {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  border: 1px solid var(--glass-dark-border);
  padding: 40px 30px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  width: 100%;
}

/* =============================================
   로그인 폼 내부 스타일 (다크테마)
   ============================================= */
.login-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.login-title img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.login-section h3 {
  color: #fff;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
  font-size: 1.4rem;
}

.input-field-wrap {
  position: relative;
  margin-bottom: 16px;
}

.input-field {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 40px !important;
  padding: 20px 0 5px 0 !important;
  position: relative;
  z-index: 2;
  font-size: 1rem;
}

.form-floating>label {
  color: rgba(255, 255, 255, 0.6) !important;
  left: 0 !important;
  padding: 8px 0 !important;
  transition: all 0.2s ease-in-out !important;
  font-size: 0.95rem;
}

.input-field-underline-animation {
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #ffffff;
  box-shadow: 0 0 12px #ffffff;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.input-field:focus~.input-field-underline-animation {
  width: 100%;
  left: 0;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: #ffffff !important;
  opacity: 1 !important;
  transform: scale(0.8) translateY(-1.2rem) translateX(0.1rem) !important;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  padding-left: 0 !important;
}

.form-check-input {
  width: 16px;
  height: 16px;
  margin: 0 !important;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-check-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--p2g-mint) !important;
  border-color: var(--p2g-mint) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
  background-size: 85% 85% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.btn-login {
  padding: 12px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 10px;
}

.links-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.links-section a:hover {
  color: #fff;
}

.links-section span {
  color: var(--glass-dark-border);
  margin: 0 8px;
}

.signup-link a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px;
  font-weight: 500;
}

.signup-link a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* =============================================
   모바일 반응형 오버라이드 (완벽한 화면 고정 및 스냅)
   ============================================= */
.p2g-mobile-modal .modal-content {
  background: rgba(20, 22, 28, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid var(--glass-dark-border);
}

/* 모바일 하단 고정 바 (안전 영역 고려) */
.mobile-login-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 60%, transparent 100%);
  /* 아이폰 하단 홈바(Safe Area) 겹침 방지 */
  padding: 12px 15px calc(15px + env(safe-area-inset-bottom)) 15px;
  z-index: 9999;
}

.mobile-login-bar .btn {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991.98px) {

  /* 모바일에서도 바디 스크롤을 막아 주소창에 의한 튕김 현상 완벽 방지 */
  body {
    overflow: hidden !important;
    background-position: 60% center !important;
  }

  /* 모바일 풀페이지 스크롤(화면 스냅 고정) 다시 켜기 */
  .scroll-container {
    height: 100vh;
    /* 구형 브라우저 대비 */
    height: 100dvh;
    /* 모바일 주소창을 고려한 완벽한 동적 높이 */
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    /* 한 페이지씩 고정 켜기 */
    padding-bottom: 0;
  }

  .landing-section {
    height: 100vh;
    height: 100dvh;
    /* 한 화면에 딱 맞추기 */
    min-height: 100dvh;
    /* 하단 버튼에 글씨가 가려지지 않도록 넉넉한 하단 여백 부여 */
    padding: 60px 20px calc(80px + env(safe-area-inset-bottom)) 20px;
    padding-right: 20px;
    justify-content: center;
  }

  /* 작은 모바일 화면에 한 페이지가 쏙 들어가도록 폰트 및 카드 크기 최적화 */
  .main-copy .title {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .main-copy .subtitle {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .main-copy .description {
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .section-title {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }

  .lead-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem !important;
  }

  .hero-action-buttons {
    margin-top: 1rem !important;
    justify-content: flex-start;
  }

  .hero-learn-more-btn {
    font-size: 13px;
    padding: 8px 16px !important;
  }

  .value-propositions {
    flex-direction: column;
    gap: 10px;
  }

  .v-item {
    padding: 15px;
    border-radius: 12px;
  }

  .v-item h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
  }

  .v-item p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    padding: 15px;
    border-radius: 12px;
  }

  .icon-box {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }

  .feature-card h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
  }

  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .footer-inline {
    position: static;
    padding: 20px 0;
    text-align: center;
  }
}

/* =============================================
   인터랙티브 데모 섹션 (PC 전용)
   ============================================= */

/* 섹션 레이아웃 — 데스크탑 전용 (900px 이상에서만 표시) */
.demo-section {
  display: none;
  /* 기본값: 숨김 */
}

@media (min-width: 900px) {
  .demo-section {
    display: flex !important;
    flex-direction: row !important;
  }
}

.demo-section {
  align-items: center;
  gap: 40px;
  padding-left: 5%;
  padding-right: 40px !important;
  overflow: hidden;
}

.demo-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: 16px;
  padding: 40px 0 20px;
}

/* 헤더 카피 */
.demo-header {
  flex-shrink: 0;
}

.demo-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1.5px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.demo-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin: 0;
  word-break: keep-all;
}

.demo-disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 6px 0 0;
  font-weight: 400;
}

/* ─── 날짜 바 (테이블 위) ─── */
.demo-date-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  flex-shrink: 0;
}

.demo-date-bar .demo-notice {
  font-size: 11px;
  color: #999;
  font-weight: 400;
  margin-left: 12px;
}

/* ─── 앱 윈도우 프레임 ─── */
.demo-window {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.demo-window-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8e8e8;
  border-bottom: 1px solid #ccc;
  padding: 10px 16px;
  flex-shrink: 0;
  user-select: none;
}

.demo-window-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.demo-window-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.demo-window-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #3c3c3c;
  letter-spacing: -0.2px;
}

.demo-reset-btn {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.demo-reset-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #111;
}

.demo-window-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  /* Thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.demo-window-body::-webkit-scrollbar {
  width: 6px;
}

.demo-window-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* ─── 타임라인 테이블 (실제 reservation.css와 동일 스타일) ─── */
.demo-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: 'Pretendard', sans-serif;
}

.demo-table thead th {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 4px;
  color: #333;
}

.demo-table td {
  height: 19px;
  line-height: 19px;
  padding: 0;
  font-size: 13px;
  white-space: nowrap;
  border: none;
}

/* 첫 번째 열(시간) 고정 너비 */
.demo-table th:first-child,
.demo-table td:first-child {
  width: 80px;
  min-width: 80px;
  border-right: 1px solid #979797;
}

.demo-table td[data-room-idx] {
  border-left: 1px solid #979797;
}

.demo-table th:not(:first-child) {
  border-left: 1px solid #979797;
}

.demo-time-cell {
  font-size: 13px;
  color: #333;
  padding-left: 6px !important;
  padding-right: 4px !important;
  text-align: right;
}

.demo-room-cell {
  position: relative;
}

/* ─── 예약 블록 (실제 reservation-overlay와 동일) ─── */
.demo-overlay {
  background: linear-gradient(145deg, #ffffff, #f4f7ff);
  border: 0.1px solid #31708f;
  border-radius: 5px;
  padding: 5px;
  font-size: 13px;
  cursor: grab;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out, opacity 0.15s;
  user-select: none;
}

.demo-overlay:hover {
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.15);
}

.demo-overlay.paid {
  background: linear-gradient(145deg, #e9f9ee, #d5f5dd);
  border: 0.1px solid #28a745;
}

.demo-overlay.dragging {
  cursor: grabbing;
}

.demo-block-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  pointer-events: none;
}

.demo-time-text {
  font-size: 12px;
  display: block;
  color: #333;
}

.demo-name-text {
  font-size: 13px;
  color: #111;
}

/* ─── 리사이즈 핸들 ─── */
.demo-handle {
  position: absolute;
  left: 0;
  width: 100%;
  height: 14px;
  cursor: ns-resize;
  z-index: 20;
}

/* ─── 빈 셀 쓰기 hover 효과 ─── */
.demo-room-cell:hover::after {
  content: '+';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.05);
  color: #0d6efd;
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
}

.demo-overlay:hover~.demo-room-cell::after,
.demo-room-cell:has(.demo-overlay):hover::after {
  display: none;
}

.demo-handle-top {
  top: 0;
}

.demo-handle-bottom {
  bottom: 0;
}

/* 핸들 hover 시 시각적 피드백 */
.demo-handle:hover::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(49, 112, 143, 0.4);
}

.demo-handle-top:hover::after {
  top: 3px;
}

.demo-handle-bottom:hover::after {
  bottom: 3px;
}

/* ─── 드래그 프리뷰 ─── */
.demo-preview {
  border: 2px dashed #0d6efd;
  background: rgba(13, 110, 253, 0.08);
  border-radius: 5px;
  pointer-events: none;
}

.demo-preview.invalid {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

/* ─── 고스트 (드래그 중 따라다니는 복제본) ─── */
.demo-ghost {
  border-radius: 5px;
  box-shadow: 6px 6px 24px rgba(0, 0, 0, 0.25);
  cursor: grabbing !important;
}

/* ─── 어텐션 애니메이션 ─── */
@keyframes demoAttention {
  0% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-6px) rotate(-1.5deg);
  }

  30% {
    transform: translateX(6px) rotate(1.5deg);
  }

  45% {
    transform: translateX(-4px) rotate(-1deg);
  }

  60% {
    transform: translateX(4px) rotate(1deg);
  }

  75% {
    transform: translateX(-2px);
  }

  100% {
    transform: translateX(0);
  }
}

.demo-attention {
  animation: demoAttention 0.7s ease-in-out;
}

/* ─── 충돌 시 흔들림 ─── */
@keyframes demoShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-8px);
  }

  40% {
    transform: translateX(8px);
  }

  60% {
    transform: translateX(-5px);
  }

  80% {
    transform: translateX(5px);
  }
}

.demo-shake {
  animation: demoShake 0.4s ease-in-out;
}

/* ─── 힌트 배너 ─── */
.demo-hints {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.4s ease, transform 0.4s ease;
  word-break: keep-all;
}

@keyframes hintPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.demo-hint-icon {
  font-size: 1.3rem;
  animation: hintPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ─── 블록 텍스트 색 (명시적 흑색) ─── */
.demo-overlay {
  color: #333;
}

.demo-time-text {
  font-size: 12px;
  display: block;
  color: #333;
  font-weight: 600;
}

.demo-name-text {
  font-size: 13px;
  color: #111;
  font-weight: 700;
}

.demo-info-text {
  font-size: 12px;
  color: #333;
}

.demo-block-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  pointer-events: none;
}

/* ─── 결제 금액·내역 ─── */
.demo-amount {
  font-weight: 700;
  color: #bb2828;
  font-size: 13px;
  margin-top: 2px;
}

.demo-pay-breakdown {
  font-size: 12px;
  color: #444;
  margin-top: 2px;
  line-height: 1.4;
}

.demo-pay-item {
  font-size: 12px;
}

/* ─── 로그인 카드 숨김 트랜지션 ─── */
.login-card-fixed {
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.login-card-fixed.demo-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#top-right-buttons-wrapper.demo-hidden {
  opacity: 0;
  pointer-events: none;
}