
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

body {
  -webkit-user-select: none; /* 크롬, 사파리, 오페라 */
  -moz-user-select: none;    /* 파이어폭스 */
  -ms-user-select: none;     /* 인터넷 익스플로러, 엣지 */
  user-select: none;         /* 표준 */
}

body {
    
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* --- 메인 페이지 스크롤 문제 해결 --- */
/* .home-page의 body 배경을 투명하게 만들어,
   z-index: -1을 사용하는 .hero-section-new가 보이도록 합니다. */
body.home-page {
    background: none;
}


/* ✨ 1-1. 전체 배경과 글씨색 변경 */
body:not(.admin-page) {
    color: #f8f9fa; /* 기본 글씨색 흰색 계열로 */
    background-color: #0c0a1a; /* 모든 페이지의 기본 배경색 */
}

/* 메인 페이지는 특수 효과를 위해 배경을 투명하게 만듭니다. */
body.home-page {
    background: transparent !important;
}

/* 메인 페이지를 '제외한' 나머지 페이지에만 배경 이미지를 적용합니다. */
body.background-page:not(.home-page) {
    background-image: url('images/main-background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

a { text-decoration: none; color: inherit; }
hr { border: none; height: 1px; background-color: rgba(255, 255, 255, 0.15); margin: 2rem 0; }

/* --- 2. 손님용 페이지 공통 컴포넌트 --- */
.main-content { padding: 120px 5% 5rem 5%; min-height: 70vh; }

/* ✨ 1-2. 모든 페이지의 기본 박스 스타일 변경 *//* ✨[수정] 모든 페이지의 기본 박스에 글래스모피즘 스타일 적용 */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(135, 74, 153, 0.15); /* 배경색은 더 연하게 (15%) */
    backdrop-filter: blur(20px); /* 블러 효과 강화 */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18); /* 입체감을 위한 테두리 */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* 그림자 강화 */
    padding: 2.5rem;
}

h1 { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 2.5rem; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }

/* ✨ 1-3. 버튼 디자인 통일 (기존 글래스모피즘 유지) */
.submit-button, .cancel-button, .write-button, .cta-button {
    display: inline-block; cursor: pointer; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3); color: white;
    padding: 0.8rem 1.8rem; font-size: 1rem; font-weight: 600;
    border-radius: 50px; text-decoration: none; transition: all 0.3s ease;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.submit-button, .write-button, .cta-button { background: rgba(135, 74, 153, 0.5); }
.cancel-button { background: rgba(255, 255, 255, 0.15); }
.submit-button:hover, .write-button:hover, .cta-button:hover { background: rgba(135, 74, 153, 0.8); transform: translateY(-3px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.cancel-button:hover { background: rgba(255, 255, 255, 0.3); }
.submit-button:disabled { background: rgba(80, 80, 80, 0.5); cursor: not-allowed; transform: none; box-shadow: none; opacity: 0.7; border-color: transparent; }

/* 폼 요소 스타일 */
.form-group label { color: rgba(255, 255, 255, 0.8); }
input[type="text"], input[type="password"], input[type="number"], input[type="tel"], input[type="email"], textarea, select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
input:focus, textarea:focus, select:focus {
    border-color: #874a99;
    box-shadow: 0 0 15px rgba(135, 74, 153, 0.3);
}

/* --- 3. 헤더 & 푸터 --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    width: 100%; /* 너비를 100%로 설정 */
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    color: #ffffff;
    box-sizing: border-box; /* 패딩이 너비를 초과하지 않도록 설정 */
}
.navbar-logo a { font-weight: 700; font-size: 1.5rem; }
.navbar-logo img { height: 30px; }

/* PC에서는 모바일 아이콘들을 숨깁니다. */
.navbar-toggle-btn, .navbar-phone-icon {
    display: none;
}
/* PC에서는 메뉴를 가로로 나열합니다. */
.navbar-menu a {
    margin: 0 20px;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    color: rgba(255, 255, 255, 0.8);
}
.navbar-menu a:hover, .navbar-menu a.active {
    color: #ffffff;
    border-bottom-color: #874a99;
}

/* 스크롤 시 헤더 배경 스타일 */
.navbar.scrolled {
    background-color: rgba(29, 25, 62, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.page-footer { text-align: center; padding: 3rem; background-color: transparent; color: rgba(255, 255, 255, 0.7); }

/* ✨ 1-4. 헤더 스타일 변경 */
.page-footer { text-align: center; padding: 3rem; background-color: transparent; color: rgba(255, 255, 255, 0.7); }

/* --- 4. 메인 페이지 --- */

/* ✨[수정] 스크롤 애니메이션을 위해 히어로 섹션 전체를 화면에 고정 */
.home-page .hero-section-new {
    height: 100vh;
    position: fixed; /* 스크롤해도 화면에 고정 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1; /* 다른 콘텐츠보다 뒤에 있도록 설정 */
}

/* ✨[추가] 배경 이미지 레이어 스타일 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/main-background.jpg');
    background-size: cover;
    background-position: center;
    transform-origin: center center; /* 중앙을 기준으로 확대/축소 */
    z-index: 1;
}

/* ✨[추가] 비네트 효과 레이어 스타일 */
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.7); /* 안쪽 그림자로 가장자리 어둡게 */
    z-index: 2;
}

/* ✨[수정] 텍스트 콘텐츠가 배경보다 위에 오도록 z-index 추가 */
.home-page .hero-content {
    position: relative; /* z-index 적용을 위해 position 속성 추가 */
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.home-page .hero-content h1 { font-size: 4.5rem; color: #FFFFFF; text-shadow: 0 2px 25px rgba(0,0,0,0.5); }
.home-page .hero-subtitle { font-size: 1.5rem; margin: 1rem 0 2.5rem 0; color: #FFFFFF; text-shadow: 1px 1px 10px rgba(0,0,0,0.2); }

/* ✨[수정] 가로 스크롤 섹션이 히어로 섹션 아래에 위치하도록 조정 */
.home-page #horizontal-scroll-section {
    margin-top: 200vh; /* 히어로 섹션의 높이(100vh)만큼 위쪽 여백을 주어 밀어냄 */
    height: 300vh;
    position: relative;
    background-color: transparent;; /* 배경과 자연스럽게 이어지도록 어두운 색 추가 */
}

.home-page .sticky-wrapper { height: 100vh; width: 100%; position: sticky; top: 0; overflow: hidden; }
.home-page .horizontal-panel-group { height: 100%; width: max-content; display: flex; align-items: center; }
.home-page .panel { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; flex-shrink: 0; }
.home-page .intro-panel, .home-page .outro-panel { width: 100vw; text-align: center; }
.home-page .intro-panel h2, .home-page .outro-panel h2 { font-size: 3.5rem; text-shadow: 1px 1px 10px rgba(0,0,0,0.2); }
.home-page .intro-panel p { color: rgba(255, 255, 255, 0.8); }
.home-page .theme-panel {
  display: flex;
  flex-direction: row;
  gap: 5vw;
  padding: 0 10vw 0 calc(50vw - 190px); 
}
.home-page .theme-card-horizontal { width: 380px; height: 520px; position: relative; border-radius: 30px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1.5px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2); transform-style: preserve-3d; transform: perspective(1000px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; }
.home-page .theme-card-horizontal:hover { background: rgba(255, 255, 255, 0.3); transform: perspective(1000px) translateY(-15px) scale(1.05); box-shadow: 0 16px 40px rgba(31, 38, 135, 0.3); }
.home-page .theme-card-horizontal img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; opacity: 0.85; }
.home-page .notice-section { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); padding: 5rem 2rem; margin: 0 5%; border-radius: 20px; width: auto; text-align: center; }
.scroll-target { opacity: 0; transform: translateY(60px) scale(0.98); transition: opacity 1s ease-out, transform 1s ease-out; }
.scroll-target.visible { opacity: 1; transform: translateY(0) scale(1); }
/* --- 5. 실시간 예약 페이지 --- */

/* ✨[수정] 전체 컨테이너의 상단 패딩을 조정하여 헤더와의 간격을 확보합니다. */
.reservation-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 2% 5rem 2%;
}

/* ✨[수정] 각 패널에 요청하신 배경색과 기본 스타일을 적용합니다. *//* ✨[수정] 예약 페이지 패널에 각각 다른 색상의 글래스모피즘 적용 */
.left-panel, .right-panel {
    border-radius: 24px;
    padding: 2.5rem;
    color: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.left-panel {
    flex: 4;
    background: rgba(135, 74, 153, 0.35); /* #874a99 계열 반투명 */
}
.right-panel {
    flex: 5;
    background: rgba(94, 70, 130, 0.35); /* #5e4682 계열 반투명 */
}
.left-panel h1 { color: #ffffff; text-shadow: none; }

/* 필터(select) 스타일 */
.filter-group { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
/* ✨[수정] 예약 페이지의 드롭다운(select) 박스 스타일 변경 */
.filter-group select {
    flex: 1;
    width: 100%;
    padding: 14px 18px; /* 패딩을 늘려 높이를 키움 */
    border-radius: 12px; /* 둥근 모서리 적용 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.2); /* 배경색 일관성 유지 */
    color: #fff;
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1em;
    padding-right: 3rem;
}
.filter-group select:focus {
    outline: none;
    border-color: #ffffff; /* 포커스 시 흰색 테두리로 변경 */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* 테마 목록 스타일 */
#theme-list-panel { max-height: 60vh; overflow-y: auto; padding-right: 10px; }
.theme-item { display: flex; gap: 1rem; padding: 1rem; border-radius: 12px; margin-bottom: 1rem; cursor: pointer; transition: background 0.3s; border: 1px solid transparent; }
.theme-item:hover, .theme-item.selected { background: rgba(255, 255, 255, 0.2); }
.theme-poster img { width: 100px; height: 140px; object-fit: cover; border-radius: 8px; }
.theme-info h4 { margin: 0 0 0.5rem 0; }
.theme-info p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin: 0; }

/* 오른쪽 패널 내부 공통 스타일 */
.step-container { display: none; }
.step-container.active { display: block; }
.step-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.step-header h3 { margin: 0; }
.step-section h3 { margin-bottom: 1rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); }

/* 날짜 및 시간 선택 (STEP 2) 레이아웃 스타일 */
#date-selector-container { margin-bottom: 1.5rem; }
.date-buttons-wrapper { display: flex; gap: 0.75rem; padding-bottom: 1rem; overflow-x: auto; padding-top: 10px; }
.date-button { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 65px; height: 65px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(0, 0, 0, 0.2); color: #fff; cursor: pointer; transition: all 0.2s ease; }
.date-button:hover { background: rgba(255, 255, 255, 0.2); }
.date-button.selected { background: #874a99; border-color: #874a99; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.date-button .month-day { font-size: 1.1rem; font-weight: 600; }
.date-button .day-of-week { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); }

.time-slot-container { margin-bottom: 1.5rem; }
#time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 0.8rem; }
.time-slot { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.2); text-align: center; padding: 1rem 0; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }
.time-slot.available:hover { background: rgba(255, 255, 255, 0.2); }
.time-slot.selected { background: #874a99; border-color: #874a99; font-weight: bold; }
.time-slot.reserved { background: rgba(0,0,0,0.4); color: rgba(255,255,255,0.4); cursor: not-allowed; text-decoration: line-through; }
/* ✨[추가] "날짜를 선택해주세요" 문구 스타일 */
#time-slots p {
    grid-column: 1 / -1; /* 그리드 전체 너비를 차지하도록 설정 */
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0;
}

/* ✨[수정] 테마 상세 정보 (STEP 1) 내부 스타일 *//* ✨[수정] 테마 상세 정보 (STEP 1) 내부 스타일 - 최종 수정 */
.reservation-container .right-panel .theme-specs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background-color: #ffffff !important; /* [수정] 흰색 배경을 최우선으로 적용 */
    border-radius: 12px;
    font-size: 0.9rem;
    color: #333333 !important; /* [수정] 내부 글씨는 어두운 색을 최우선으로 적용 */
}
.reservation-container .right-panel .theme-specs span, 
.reservation-container .right-panel .theme-specs strong {
    color: #333;
}
.reservation-container .right-panel .theme-specs .difficulty-icon.full {
    background-color: #333;
    border-color: #333;
}
.reservation-container .right-panel .theme-specs .difficulty-icon.half {
    background: linear-gradient(to right, #333 50%, transparent 50%);
    border-color: #333;
}
.reservation-container .right-panel .theme-specs .difficulty-icon.empty {
    background-color: transparent;
    border-color: #ccc;
}

/* 정보 입력 (STEP 3) 관련 스타일 */
.booking-details-container .form-group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.booking-details-container .form-item label { font-weight: 500; color: rgba(255,255,255,0.8); }
.booking-details-container .form-item span { font-size: 1.1rem; font-weight: bold; }
.price-display { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: rgba(0,0,0,0.2); border-radius: 8px; margin-top: 1rem; }
.price-display span { font-size: 1.3rem; font-weight: bold; color: #fff; }
.price-display small { font-size: 0.8rem; color: #e2e8f0; margin-left: 0.5rem; }
.notice-box { background: rgba(0,0,0,0.2); padding: 1.5rem; border-radius: 12px; margin-top: 1.5rem; font-size: 0.9rem; }
.notice-box h4 { margin: 0 0 1rem 0; color: #fff; }
.notice-box ul { padding-left: 20px; margin: 0; }
.notice-box li { margin-bottom: 0.5rem; }
.agree-check { margin-top: 1rem; }
.agree-check label { margin-left: 0.5rem; }

/* 예약 완료 (STEP 4) 관련 스타일 */
.booking-success-container { text-align: center; padding: 2rem; }
.booking-success-container h4 { font-size: 1.5rem; color: #fff; }
.booking-final-details { margin: 1.5rem 0; line-height: 1.8; }
.booking-final-details strong { color: #fff; font-weight: 700; }
.account-info { background: rgba(0,0,0,0.2); padding: 1.5rem; border-radius: 12px; margin: 1.5rem 0; text-align: center; }
.account-info strong { font-size: 1.2rem; display: block; margin-bottom: 1rem; }

/* ✨[수정] 오른쪽 패널 내부 버튼들 공통 스타일 */#goto-user-info-btn, #submit-booking-btn, #back-to-home-btn, .detail-info-wrapper .submit-button {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}
#goto-user-info-btn:hover, #submit-booking-btn:hover, #back-to-home-btn:hover, .detail-info-wrapper .submit-button:hover {
    background-color: #6a35a1; /* 호버 시 약간 더 어둡게 */
    transform: translateY(-2px);
}
/* ✨[추가] 비활성화 버튼 스타일 */
#goto-user-info-btn:disabled, #submit-booking-btn:disabled {
    background: rgba(0,0,0,0.2);
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}


/* 최초 안내 메시지 스타일은 그대로 유지 */
.initial-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}
.initial-message p { font-size: 1.2rem; line-height: 1.8; }
.initial-message { display: flex; align-items: center; justify-content: center; height: 100%; text-align: center; color: rgba(255, 255, 255, 0.5); }
.initial-message p { font-size: 1.2rem; line-height: 1.8; }
.theme-specs { display: flex; justify-content: center; gap: 1.5rem; margin: 1rem 0; padding: 0.8rem; background: rgba(0,0,0,0.2); border-radius: 8px; font-size: 0.9rem; }

/* --- 6. Q&A & 공지사항 페이지 --- */
/* ✨[수정] 페이지 전체를 감싸는 컨테이너에 직접 스타일 적용 */

.qna-page .container h1, .notice-page .container h1 {
    color: #ffffff;
    text-shadow: none;
}

/* ✨[수정] 테이블 스타일 */
.qna-table {
    width: 100%;
    border-collapse: collapse;
}
.qna-table thead {
    background-color: rgba(0, 0, 0, 0.2); /* 반투명한 어두운 배경으로 변경 */
}
.qna-table th, .qna-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 구분선 색상 */
}
.qna-table th {
    font-weight: 600;
    color: #ffffff; /* 헤더 글씨 흰색 */
}
.qna-table td {
    color: rgba(255, 255, 255, 0.9); /* 본문 글씨 흰색 계열 */
}
.qna-table .col-title {
    text-align: left;
}
.qna-table .col-title a:hover {
    text-decoration: underline;
    color: #ffffff;
}
.qna-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.qna-footer {
    text-align: right;
    margin-top: 1.5rem;
}

/* ============================================= */
/* ✨ [추가] Q&A 페이지네이션 스타일              */
/* ============================================= */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
}

.page-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: rgba(135, 74, 153, 0.5);
    border-color: #874a99;
    color: #ffffff;
}

.page-link.active {
    background-color: #874a99;
    border-color: #874a99;
    color: #ffffff;
    font-weight: 600;
    cursor: default;
}
/* ✨[수정] '문의하기' 버튼 스타일 */

.write-form-container .form-group-row, .inquiry-form-container .form-group-row { display: flex; gap: 2rem; }
.write-form-container .form-group, .inquiry-form-container .form-group { flex: 1; }
.write-form-container .form-buttons, .inquiry-form-container .form-buttons { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 2rem; }
.post-header { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1rem; margin-bottom: 2rem; }
.post-header h2 { text-align: left; } .post-meta { display: flex; gap: 1.5rem; color: rgba(255,255,255,0.7); }
.password-form-container { background: rgba(0,0,0,0.2); padding: 2rem; border-radius: 12px; text-align: center; }
.password-input-group { display: flex; justify-content: center; gap: 0.5rem; max-width: 400px; margin: 1rem auto; }
#verify-message { margin-top: 1rem; color: #f9a8d4; }
.post-content { padding: 1.5rem 0; line-height: 1.8; } .post-content pre { white-space: pre-wrap; word-wrap: break-word; font-family: inherit; }
.post-answer { margin-top: 2rem; background: rgba(0,0,0,0.2); border-radius: 12px; padding: 2rem; }
.post-answer-header { display: flex; gap: 1rem; align-items: center; font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.post-answer-header span:first-child { font-size: 2rem; color: #a5f3fc; }
.post-answer-content pre { white-space: pre-wrap; word-wrap: break-word; font-family: inherit; color: rgba(255,255,255,0.9); }
.notice-content-box { line-height: 1.7; }
.notice-content-box .notice-section { margin-bottom: 3rem; }
.notice-content-box .notice-section:last-child { margin-bottom: 0; }
.notice-content-box h2 { text-align: left; display: inline-block; border-bottom: 3px solid #8b56c5; padding-bottom: 0.5rem; margin-bottom: 1rem; }
.notice-content-box .notice-subtitle { color: rgba(255,255,255,0.8); }
.notice-content-box .event-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.notice-content-box .event-table th, .notice-content-box .event-table td { padding: 1.2rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }
.notice-content-box .event-table th { width: 120px; background: rgba(0,0,0,0.2); border-radius: 12px 0 0 12px; font-size: 1.1rem; vertical-align: middle; }
.notice-content-box .event-table td { background: rgba(0,0,0,0.1); border-radius: 0 12px 12px 0; }
.notice-content-box .event-table strong { display: block; margin-bottom: 0.25rem; }
.notice-content-box .event-table span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.notice-content-box .notice-faq { margin-top: 2rem; background: rgba(0,0,0,0.2); border-radius: 12px; padding: 1.5rem; }
.notice-content-box .notice-faq .question { font-weight: bold; }
.notice-content-box .notice-faq .answer { color: #a5f3fc; }

/* --- 7. 예약 조회/취소 페이지 --- */
.booking-check-form { max-width: 500px; margin: 0 auto; }
#booking-result-container { margin-top: 2rem; }
.booking-result-card { background: rgba(0,0,0,0.25); border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; }
.booking-result-card.canceled { opacity: 0.6; }
.booking-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }
.booking-header h4 { margin: 0; font-size: 1.2rem; }
.booking-status { padding: 0.3rem 0.7rem; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.booking-status.pending { background: #eab308; color: #422006; }
.booking-status.confirmed { background: #22c55e; color: #052e16; }
.booking-status.canceled { background: #4b5563; color: #e5e7eb; }
.booking-info-grid { display: grid; grid-template-columns: 100px 1fr; gap: 0.8rem; }
.booking-info-grid dt { font-weight: 500; color: rgba(255,255,255,0.6); }
.cancel-button-container { text-align: right; margin-top: 1.5rem; }

/* --- 8. 오시는 길 페이지 --- */

/* ✨[수정] 페이지 전체를 감싸는 컨테이너에 직접 스타일 적용 */

/* ✨[수정] 제목(h1) 색상 변경 */
.location-page .container h1 {
    color: #ffffff;
    text-shadow: none;
}

/* ✨[수정] 각 지점 정보 카드 스타일 */
.location-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: none; /* 배경 제거 */
    padding: 1.5rem 0;
    border-radius: 0;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.location-card:last-child {
    border-bottom: none;
}

/* ✨[수정] 지도 iframe 테두리 */
.location-map iframe {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: block;
}

/* ✨[수정] 지점 정보 텍스트 색상 */
.location-info {
    flex: 1;
}
.location-info h2 {
    margin-top: 0;
    color: #ffffff; /* 지점명 흰색 */
}
.location-info p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9); /* 본문 텍스트 흰색 계열 */
}

/* --- 11. 푸터 링크 스타일 --- */
.footer-links { margin-bottom: 1.5rem; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links a strong { font-weight: 600; }

/* --- 12. 꿈소풍 소개 페이지 --- */
.about-page { background: none; }
.about-section { padding: 6rem 5%; }
.about-container { max-width: 1000px; margin: 0 auto; text-align: center; }
.hero-about, .definition-picnic, .rules-intro { background-color: #5d4581; color: #fff; }
.definition-dream { background-color: #784e8d; color: #fff; }
.logotype { background-color: #fff; color: #333; }
.hero-about h1 { font-size: 2.8rem; line-height: 1.5; font-weight: 700; }
.hero-about .highlight-brand { display: inline-block; padding: 0.2rem 0.8rem; background-color: #fff; color: #5d4581; border-radius: 8px; }
.about-section h2 { font-size: 2rem; margin-bottom: 2rem; font-weight: 700; }
.about-section p { font-size: 1.1rem; line-height: 1.8; color: rgba(255, 255, 255, 0.9); }
.about-section .highlight-text { display: inline; padding: .3rem .5rem; background-color: rgba(0,0,0,0.2); border-radius: 5px; }
.definition-dream p { color: rgba(255, 255, 255, 0.85); }
.rules-intro h2 { line-height: 1.6; margin-bottom: 2rem; }
.rules-callout { display: inline-block; background-color: #333; color: #fff; padding: 0.8rem 2rem; border-radius: 50px; font-weight: 600; margin-bottom: 4rem; }
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: center; }
.rule-item img { width: 80px; height: 80px; margin-bottom: 1rem; border-radius: 50%; background-color: #fff; }
.rule-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.rule-item p { font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.logotype-container { display: flex; align-items: center; gap: 4rem; text-align: left; }
.logo-image-area { flex: 1; } .logo-image-area img { width: 100%; border-radius: 8px; }
.logo-desc-area { flex: 1; } .logo-desc-area h2 { text-align: left; } .logo-desc-area p { color: #555; font-size: 1rem; }
.color-palette { display: flex; gap: 2rem; margin-top: 2rem; }
.color-swatch { text-align: center; }
.color-swatch .swatch { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 0.5rem; border: 1px solid #eee; }
.color-swatch span { font-weight: 600; color: #333; }

/* ✨ [수정] 메인 컨테이너 배경색 및 기본 글자색 변경 */


/* ✨ [수정] h1 제목 색상 변경 및 그림자 제거 */
.themes-page h1 {
    color: #ffffff;
    text-shadow: none;
}

.themes-page .branch-section {
    margin-bottom: 4rem;
}

/* ✨ [수정] 지점명 타이틀 색상 및 하단 선 색상 변경 */
.themes-page .branch-title-themes {
    font-size: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* 흰색 계열로 변경 */
    margin-bottom: 2rem;
    text-align: left;
    color: #ffffff; /* 흰색으로 변경 */
}

.themes-page .theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ✨ [수정] 테마 카드 스타일 재적용 */
/* 1. 테마 카드 전체에 글래스 효과 적용 */
.themes-page .theme-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}
.themes-page .theme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    background: rgba(255, 255, 255, 0.15);
}

.themes-page .theme-card-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* 2. 카드 내부 텍스트 영역 스타일 (흰색 글씨) */
.themes-page .theme-card-content {
    padding: 1.5rem;
    color: #ffffff; /* 기본 글씨 흰색으로 */
}
.themes-page .theme-card-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    color: #ffffff; /* 제목 흰색 */
}
.themes-page .theme-card-content .theme-genre {
    color: rgba(255, 255, 255, 0.7); /* 장르 텍스트 연한 흰색 */
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}
.themes-page .theme-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* 구분선 반투명 흰색 */
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #ffffff;
}

/* 3. 모달에 글래스 효과 적용 */
.modal-content {
    background: rgba(42, 33, 74, 0.5); /* 기존 색상에 투명도와 블러 효과 추가 */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* 4. 난이도 아이콘 색상을 흰색으로 변경 (카드, 모달 모두 적용) */
.difficulty-rating { display: inline-flex; gap: 4px; vertical-align: middle; }
.difficulty-icon { width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box; }
.difficulty-icon.full {
    background-color: #fff;
    border: 1px solid #fff;
}
.difficulty-icon.half {
    background: linear-gradient(to right, #fff 50%, transparent 50%);
    border: 1px solid #fff;
}
.difficulty-icon.empty {
    background-color: transparent;
    border: 1px solid #fff;
}
/* --- 14. 페이지별 모달 스타일 --- */
.modal-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-container.visible { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 5, 25, 0.8); backdrop-filter: blur(10px); cursor: pointer; z-index: 1; }

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #2a214a;
    border: 1px solid #4a3f73;
    border-radius: 16px;
    display: flex;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    z-index: 2;
    overflow: hidden;
}
.modal-container.visible .modal-content { transform: scale(1); }
.modal-image {
    width: 45%;
    object-fit: cover;
}
.modal-text-content {
    width: 55%;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
}
.modal-text-content h2 {
    color: #fff;
    text-align: left;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}
.modal-text-content hr {
    width: 100%;
    border: none;
    height: 1px;
    background-color: #4a3f73;
    margin: 0 0 1.5rem 0;
}
.modal-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: none;
    border-radius: 0;
    margin: 0 0 1.5rem 0;
}
.modal-specs span {
    font-size: 1rem;
    color: #e5e7eb;
    display: flex;
    align-items: center;
}
.modal-specs strong {
    color: rgba(255,255,255,0.6);
    margin-right: 0.8rem;
}
.modal-text-content p {
    line-height: 1.8;
    color: #d1d5db;
    flex-grow: 1;
}
.modal-booking-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    background: #4a3f73;
    border: 1px solid #6c5f99;
}
.modal-booking-btn:hover {
    background: #5b4e8a;
    transform: translateY(-2px);
    box-shadow: none;
}
.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10;
    font-family: sans-serif;
    line-height: 1;
}
.modal-close-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

/* --- 17. 관리자 페이지 전용 스타일 --- */
.admin-page { background: #f0f2f5; color: #333; }
.admin-page h1, .admin-page h2, .admin-page h3 { color: #333; text-align: left; }
.admin-page label { color: #555; }
.admin-page input, .admin-page textarea, .admin-page select { background: #f7f7f7; border: 1px solid #ddd; color: #333; width: 100%; padding: 10px 12px; border-radius: 6px; font-family: 'Pretendard', sans-serif; box-sizing: border-box; }
.admin-page input:focus, .admin-page textarea:focus, .admin-page select:focus { border-color: #5d4581; background: #fff; box-shadow: none; outline: none; }
.admin-page .form-group { margin-bottom: 1rem; }
.admin-page .form-group-row { display: flex; gap: 1rem; }
.admin-page .form-buttons { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.admin-page .submit-button { background: #5d4581; border-color: #5d4581; color: #fff; padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.admin-page .cancel-button { background: #e9ecef; border-color: #dee2e6; color: #495057; padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.admin-page .submit-button:hover { background: #4a3768; }
.admin-page .cancel-button:hover { background: #dee2e6; }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #2c3e50; color: #ecf0f1; display: flex; flex-direction: column; flex-shrink: 0; }
.sidebar-header { padding: 1.5rem; } .sidebar-header h2 { color: #fff; font-size: 1.5rem; text-align: center; margin: 0; }
.sidebar-nav .nav-item { display: block; padding: 1rem 1.5rem; color: #bdc3c7; text-decoration: none; transition: all 0.2s; border-left: 4px solid transparent; }
.sidebar-nav .nav-item:hover { background: #34495e; color: #fff; }
.sidebar-nav .nav-item.active { background: #34495e; color: #fff; border-left-color: #3498db; font-weight: 600; }
.sidebar-footer { margin-top: auto; padding: 1.5rem; font-size: 0.9rem; } .sidebar-footer a { color: #bdc3c7; }
.admin-main-content { flex-grow: 1; padding: 2rem; }
.admin-section { display: none; } .admin-section.active { display: block; }
.section-header { margin-bottom: 2rem; } .section-header h1 { font-size: 2rem; margin: 0; }
.admin-grid-container { display: grid; grid-template-columns: 2fr 1.5fr; gap: 2rem; }
.panel-main, .panel-side, .panel-full { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.panel-main h2, .panel-side h2, .panel-full h2 { margin-top: 0; margin-bottom: 1.5rem; font-size: 1.2rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid #eee; }
.admin-table th { background: #f7f7f7; font-weight: 600; }
.admin-table strong { font-weight: 600; }
.action-buttons { text-align: right; white-space: nowrap; }
.edit-btn, .delete-btn { padding: 0.3rem 0.6rem; font-size: 0.8rem; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; }
.edit-btn { background: #e6f7ff; color: #1890ff; border-color: #91d5ff; }
.delete-btn { background: #fff1f0; color: #f5222d; border-color: #ffa39e; }
.filter-bar { margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: center; }
.filter-bar input, .filter-bar select { max-width: 200px; }
.status-badge { padding: 0.3rem 0.7rem; border-radius: 20px; font-size: 0.8rem; font-weight: bold; color: #fff; }
.status-pending { background-color: #f39c12; }
.status-confirmed { background-color: #2ecc71; }
.status-completed { background-color: #3498db; }
.status-cancellation-requested { background-color: #e74c3c; }
.status-canceled { background-color: #95a5a6; }
.status-refunded { background-color: #7f8c8d; }
.admin-page .modal-container { align-items: flex-start;  padding-top: 5vh;  overflow-y: auto;  }
.admin-page .modal-content {  max-height: none;  }
.admin-page .modal-body { max-height: none;  overflow-y: visible;  }
.admin-page .modal-backdrop { background: rgba(0, 0, 0, 0.5); backdrop-filter: none; z-index: 100; }
.admin-page .modal-content { position: relative; width: 100%; max-width: 720px; background: #fff; color: #333; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); padding: 1.5rem; z-index: 101; }
.admin-page .modal-header h2 { margin: 0 0 1.5rem 0; font-size: 1.5rem; border-bottom: 1px solid #eee; padding-bottom: 1rem; }
.admin-page .res-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.admin-page .form-group-item label { font-weight: 500; display: block; margin-bottom: 0.5rem; color: #666; }
.admin-page .form-group-item span { font-weight: 600; font-size: 1.1rem; color: #333; }
.admin-page .res-status-controls { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.admin-page .res-status-controls label { font-weight: 600; }
.admin-page #res-status-select { padding: 8px; border-radius: 4px; border: 1px solid #ddd; }
.admin-page #save-status-btn { padding: 8px 15px; }
.admin-page #status-message { font-size: 0.9rem; font-weight: 600; margin-left: 1rem; }
.admin-page .modal-close-btn { position: absolute; top: 1rem; right: 1rem; font-size: 2rem; background: none; border: none; cursor: pointer; color: #888; z-index: 10; }
.admin-page .modal-content.large { max-width: 900px; }
.new-res-grid { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; }
.new-res-col.themes { max-height: 400px; overflow-y: auto; padding-right: 1rem; }
.new-res-theme-block { margin-bottom: 1.5rem; }
.new-res-theme-block h4 { margin: 0 0 0.8rem 0; font-size: 1rem; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; }
.time-slots-wrapper { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.time-slot-admin { padding: 0; width: 90px; height: 50px; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.time-slot-admin .time { font-weight: bold; font-size: 1rem; }
.time-slot-admin .user { font-size: 0.8rem; color: #555; margin-top: 2px; }
.time-slot-admin:hover { background: #e6f7ff; border-color: #91d5ff; }
.time-slot-admin.selected { background: #1890ff; color: #fff; border-color: #1890ff; font-weight: 600; }
.time-slot-admin.selected .user { color: #fff; }
.time-slot-admin.reserved { background: #f5f5f5; color: #ccc; cursor: not-allowed; text-decoration: line-through; }
.admin-page .qna-view-area .form-group-item { margin-bottom: 1.5rem; }
.admin-page .qna-content-box { background-color: #f7f7f7; border: 1px solid #ddd; border-radius: 6px; padding: 1rem; min-height: 100px; white-space: pre-wrap; word-wrap: break-word; }
.admin-page .payment-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.admin-page .payment-info-grid .form-group-item input[type="number"] { display: inline-block; width: auto; min-width: 100px; margin-right: 0.5rem; }
.admin-page .payment-info-grid .form-group-item strong { font-size: 1.2rem; color: #5d4581; }
.admin-page .message-area { font-size: 0.9rem; font-weight: 600; margin-top: 0.5rem; height: 1.2rem; }
.admin-page .form-group small { display: block; margin-top: 0.5rem; color: #666; font-size: 0.85rem; line-height: 1.5; }
.new-res-user-info-v2 { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: flex-end; }
.new-res-user-info-v2 .button-group { padding-bottom: 2px; }
.payment-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.payment-details-grid .discount-group { display: flex; gap: 0.5rem; }
.payment-details-grid .discount-group input[type="number"] { flex: 1; }
.payment-details-grid .discount-group input[type="text"] { flex: 2; }
.payment-split-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; background: #f9f9f9; padding: 1rem; border-radius: 6px; }
.payment-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #ddd; }
.admin-page .summary-item label { font-size: 1rem; }
.admin-page .summary-item .price-value, .admin-page .summary-item strong.price-value { font-size: 1.5rem; font-weight: 700; color: #5d4581; }
.admin-page .form-group-item input[type="number"], .admin-page .form-group-item input[type="text"] { display: inline-block; width: auto; }
.payment-details-grid-v2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem; align-items: center; }
.discount-group-v2 { display: flex; align-items: center; gap: 0.5rem; }
.discount-group-v2 input[type="number"] { width: 100px; }
.discount-group-v2 input[type="text"] { flex: 1; }
.admin-page .modal-header { margin: 0; padding: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #eee; }
.admin-page .modal-header h2 { margin: 0; font-size: 1.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: keep-all; }
.admin-page .modal-body { padding: 1.5rem; }
.admin-page .modal-body label { display: block; font-size: 0.9rem; color: #555; font-weight: 500; margin-bottom: 0.4rem; }
.admin-page .modal-section-title { display: block; font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 1rem 0; padding-bottom: 0.5rem; border-bottom: 1px solid #eee; }
.admin-page #theme-modal-container .modal-content.large { max-width: 980px; }
.admin-page #theme-modal-container .modal-body { padding-top: 1.5rem; }
.admin-page #theme-modal-container .form-grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.2rem; }
.admin-page #theme-modal-container .form-group.full-width { margin-top: 1rem; }
.admin-page #reservation-modal-container .modal-content.large { max-width: 1024px; }
.admin-page #reservation-modal-container .modal-subtitle { margin: 0.25rem 0 0 0; font-size: 1rem; font-weight: 500; color: #666; }
.admin-page .res-modal-grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 1.5rem;  }
.admin-page .res-modal-grid-3-col .full-width { grid-column: 1 / -1; }
.admin-sidebar .nav-group .sub-nav { display: none; padding-left: 1.5rem; background-color: #263849; }
.admin-sidebar .sub-nav .nav-item { padding-top: 0.8rem; padding-bottom: 0.8rem; font-size: 0.9rem; border: none !important; }
.admin-sidebar .sub-nav .nav-item.active { background: none; color: #3498db; font-weight: 600; }
.admin-sidebar .group-toggle.active { background: #34495e; color: #fff; border-left-color: #3498db; }
.admin-page .filter-bar { display: flex; gap: 0.5rem; align-items: center; }
.admin-page .filter-bar select, .admin-page .filter-bar button { padding: 6px 10px; border-radius: 4px; border: 1px solid #ccc; background: #fff; }
.admin-page .filter-bar button { cursor: pointer; background: #f0f0f0; }
.admin-page .filter-bar button:hover { background: #e0e0e0; }
.admin-page .admin-table .saturday { color: #0000FF; }
.admin-page .admin-table .sunday { color: #FF0000; }
.admin-page .admin-table .total-row td { font-weight: bold; background-color: #f7f9fc; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 24px; }
.toggle-switch .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.toggle-switch input:checked + .slider { background-color: #5d4581; }
.toggle-switch input:checked + .slider:before { transform: translateX(20px); }
.admin-page #theme-modal-container .form-buttons { display: flex; justify-content: space-between; align-items: center; }
.admin-page #reservation-modal-container .modal-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.admin-page #reservation-modal-container .modal-header .header-text { flex: 1; }
.admin-page #reservation-modal-container .modal-header h2 { margin: 0; padding: 0; border: none; }
.admin-page #reservation-modal-container .modal-subtitle { margin: 0.25rem 0 0 0; font-size: 0.9rem; font-weight: 500; color: #666; }
.holiday-add-form-container { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #eee; }
.holiday-add-form-container h3 { margin: 0 0 1rem 0; font-size: 1.1rem; }
.holiday-add-form { display: flex; gap: 0.5rem; align-items: center; }
.holiday-add-form input, .holiday-add-form select { padding: 8px; height: 38px; }
.holiday-add-form input[type="text"] { flex: 1; }
.holidays-list-container ul { list-style: none; padding: 0; margin: 0; }
.holidays-list-container li { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid #f0f0f0; }
.holidays-list-container li:last-child { border-bottom: none; }
.holiday-list-date { font-weight: 500; width: 150px; }
.holiday-list-name { flex: 1; font-weight: 600; }
.holiday-list-type { font-size: 0.8rem; font-weight: bold; padding: 4px 8px; border-radius: 4px; color: #fff; }
.holiday-list-type.type-public { background-color: #1890ff; }
.holiday-list-type.type-off { background-color: #f5222d; }
.delete-btn.small { padding: 4px 8px; font-size: 0.8rem; }
.calendar-new { width: 100%; border-collapse: collapse; table-layout: fixed; border: 1px solid #ddd; }
.calendar-new th, .calendar-new td { border: 1px solid #eee; padding: 8px; vertical-align: top; height: 100px; text-align: left; }
.calendar-new th { text-align: center; background: #f7f7f7; font-weight: 600; }
.calendar-new .day-number { font-weight: 500; font-size: 0.9em; color: #333; }
.calendar-new td.calendar-day { cursor: pointer; transition: background-color 0.2s; }
.calendar-new td.calendar-day:hover { background-color: #f0f8ff; }
.calendar-new .holiday-name { display: block; margin-top: 5px; font-size: 0.85em; font-weight: 600; padding: 3px 5px; border-radius: 4px; color: #fff; text-align: center; }
.calendar-new td.is-public .holiday-name { background-color: #1890ff; /* 공휴일 */ }
.calendar-new td.is-off .holiday-name { background-color: #f5222d; /* 휴무일 */ }
.branch-section-title { font-size: 1.4rem; margin: 2rem 0 1rem 0; padding-bottom: 0.5rem; border-bottom: 2px solid #5d4581; }
#themes-by-branch-container > .branch-section-title:first-child { margin-top: 0; }
.admin-page .section-header { flex-wrap: wrap; gap: 1rem; }
.admin-page #new-reservation-modal-container .modal-body { display: flex; flex-direction: column; }
.new-res-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; flex-wrap: wrap; gap: 1rem; }
.new-res-date-picker { display: flex; align-items: center; gap: 0.5rem; }
.new-res-date-picker button { padding: 6px 10px; }
.new-res-main-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; min-height: 50vh; }
#new-res-slots-container { border-right: 1px solid #eee; padding-right: 1.5rem; overflow-y: auto; max-height: 65vh; }
.new-res-theme-block { margin-bottom: 1.5rem; }
.new-res-theme-block h4 { margin: 0 0 0.8rem 0; font-size: 1.1rem; font-weight: 600; }
.new-res-theme-block h4 small { font-size: 0.85rem; font-weight: 400; color: #666; }
.time-slots-wrapper { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.time-slot-admin { padding: 0; width: 90px; height: 50px; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.time-slot-admin .time { font-weight: bold; font-size: 1rem; }
.time-slot-admin .user { font-size: 0.8rem; color: #555; margin-top: 2px; }
.time-slot-admin:hover { background: #e6f7ff; border-color: #91d5ff; }
.time-slot-admin.selected { background: #1890ff; color: #fff; border-color: #1890ff; }
.time-slot-admin.selected .user { color: #fff; }
.time-slot-admin.reserved { background: #f5f5f5; color: #aaa; cursor: not-allowed; }
.time-slot-admin.reserved .time { text-decoration: line-through; }
.time-slot-admin.reserved .user { color: #f5222d; font-weight: 500; }
#new-res-form-container h4 { margin: 0 0 1rem 0; font-size: 1.2rem; }
.admin-page .section-header { flex-wrap: wrap; gap: 1rem; }
.new-res-main-grid { grid-template-columns: 1fr 400px; }
.new-res-date-picker .submit-button { padding: 0.5rem 0.8rem; font-size: 0.9rem; border-radius: 6px; white-space: nowrap; }
#new-reservation-modal-container .payment-details-grid-v2 { grid-template-columns: 1fr; gap: 1rem; }
#new-reservation-modal-container .discount-group-v2 { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
#new-reservation-modal-container .discount-group-v2 input { width: 100%; }
#new-reservation-modal-container .payment-split-grid { grid-template-columns: 1fr; gap: 0.8rem; }
.reservation-filter-bar { margin-bottom: 1rem; padding: 1rem 1.5rem; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reservation-filter-bar select, .reservation-filter-bar input[type="date"], .reservation-filter-bar input[type="text"] { height: 32px; padding: 0 8px; border-radius: 4px; border: 1px solid #ccc; font-size: 0.9rem; }
.reservation-filter-bar input[type="date"] { width: 130px; }
.reservation-filter-bar input[type="text"] { width: 150px; }
.reservation-filter-bar .submit-button { height: 32px; padding: 0 1.2rem; font-size: 0.9rem; }
.quick-date-buttons { display: inline-flex; }
.quick-date-buttons button { height: 32px; padding: 0 10px; border: 1px solid #ccc; background-color: #f0f0f0; cursor: pointer; margin-left: -1px; }
.quick-date-buttons button:first-child { border-radius: 4px 0 0 4px; margin-left: 0; }
.quick-date-buttons button:last-child { border-radius: 0 4px 4px 0; }
.quick-date-buttons button:hover { background-color: #e0e0e0; }
.filter-divider { width: 1px; height: 20px; background-color: #ddd; margin: 0 8px; }
.reservation-filter-bar { margin-bottom: 1rem; padding: 1rem 1.5rem; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.filter-row:last-child { margin-bottom: 0; }
.reservation-filter-bar select, .reservation-filter-bar input[type="date"], .reservation-filter-bar input[type="text"] { height: 32px; padding: 0 8px; border-radius: 4px; border: 1px solid #ccc; font-size: 0.9rem; }
#res-filter-date-type { width: 90px; }
#res-filter-start-date, #res-filter-end-date { width: 125px; }
#res-filter-status { width: 110px; }
#res-filter-branch { width: 110px; }
#res-filter-theme { width: 160px; }
#res-filter-search-field { width: 100px; }
#res-filter-search-keyword { width: 150px; }
.quick-date-buttons { display: inline-flex; }
.quick-date-buttons button { height: 32px; padding: 0 10px; border: 1px solid #ccc; background-color: #f0f0f0; cursor: pointer; margin-left: -1px; }
.quick-date-buttons button:first-child { border-radius: 4px 0 0 4px; margin-left: 0; }
.quick-date-buttons button:last-child { border-radius: 0 4px 4px 0; }
.quick-date-buttons button:hover { background-color: #e0e0e0; }
.reservation-filter-bar .submit-button { height: 32px; padding: 0 1.2rem; font-size: 0.9rem; }
.admin-page #branch-modal-container .form-group small { display: block; margin-top: 0.5rem; color: #666; font-size: 0.85rem; }
.account-info-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.copy-button { padding: 0.4rem 0.8rem; font-size: 0.8rem; background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; }
.copy-button:hover { background-color: rgba(255,255,255,0.2); }

/* --- ✨ 2025. 8. 23. 최종 수정사항 --- */

/* 예약 페이지: 테마 상세 UI (상하 카드형) */
.theme-detail-card {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.15);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}
.detail-poster-wrapper {
    width: 100%;
    height: 350px; /* 고정 높이 */
}
.detail-poster-wrapper .detail-poster {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 잘리지 않고 프레임을 채움 */
    display: block;
}
.detail-info-wrapper {
    padding: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.detail-info-wrapper .detail-title {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 0.25rem;
}
.detail-info-wrapper .detail-genre {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}
.detail-info-wrapper .theme-specs {
    justify-content: flex-start;
    gap: 2rem;
}
.detail-info-wrapper .detail-description {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.detail-info-wrapper .submit-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}


/* 예약 완료 페이지: 계좌번호 UI (중앙 정렬) */
.account-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.account-info .copy-button {
    margin-top: 1rem;
}
.account-info .small-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}


/* 공통: 웹킷 브라우저용 스크롤바 디자인 */
/* ✨[수정] 공통: 웹킷 브라우저용 스크롤바 디자인 */
#theme-list-panel::-webkit-scrollbar,
.modal-text-content::-webkit-scrollbar,
.detail-info-wrapper::-webkit-scrollbar {
    width: 8px; /* 스크롤바 두께를 8px로 늘림 */
}
#theme-list-panel::-webkit-scrollbar-track,
.modal-text-content::-webkit-scrollbar-track,
.detail-info-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3); /* 트랙 배경색을 좀 더 진하게 */
    border-radius: 4px;
}
#theme-list-panel::-webkit-scrollbar-thumb,
.modal-text-content::-webkit-scrollbar-thumb,
.detail-info-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4); /* 스크롤 손잡이 색상을 밝게 */
    border-radius: 4px;
}
#theme-list-panel::-webkit-scrollbar-thumb:hover,
.modal-text-content::-webkit-scrollbar-thumb:hover,
.detail-info-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* [추가] 팝업 스타일 */
/* ✨[수정] 팝업 컨테이너 불투명도 제거 */
.popup-container {
    display: none;
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 1001;
    width: 400px;
    background-color: transparent;
    border-radius: 12px;
    border: none;
    opacity: 1; /* 기존 0.85에서 1로 변경하여 불투명하게 만듭니다 */
      overflow: hidden; /* ▼▼▼ 이 한 줄만 추가해주세요 ▼▼▼ */
}

/* 팝업 내용 영역 - 패딩 제거 */
.popup-content {
    padding: 0;
}

/* 팝업 이미지 스타일 */
.popup-content img {
    width: 100%;
    display: block;
    border-radius: 12px 12px 0 0;
}

/* ✨[수정] 팝업 푸터에 글씨색(color) 추가 */
.popup-footer {
    display: flex;
      justify-content: space-between; /* 'flex-start'를 'space-between'으로 변경 */
    align-items: center;
    background-color: #333;
    margin: 0;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 0 0 12px 12px;
    color: #ffffff;
}

.popup-footer label {
    cursor: pointer;
}
#hide-popup-today {
    margin-right: 5px;
    vertical-align: middle;
}

/* ✨[수정] '창닫기' 버튼에만 오른쪽 자동 여백을 주어 오른쪽 끝으로 보냄 */
#close-popup-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Pretendard', sans-serif;
}

#close-popup-btn:hover {
    text-decoration: underline;
}

#content-form label {
    font-weight: 600;
    font-size: 1rem;
}
#content-editor {
    font-family: 'SF Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    background-color: #2d3748;
    color: #e2e8f0;
    border: 1px solid #4a5568;
    border-radius: 6px;
    padding: 1rem;
}
#content-editor:focus {
    background-color: #1a202c;
    border-color: #63b3ed;
    color: #fff;
}
#content-message-area {
    margin-top: 1rem;
    font-weight: 600;
}
/* ✨[추가] 스크롤 다운 애니메이션 */
.scroll-indicator {
    position: absolute;
    bottom: auto; 
    top: calc(50% + 250px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    opacity: 0.8;
    z-index: 4;
}

.scroll-indicator span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px; /* 텍스트와 화살표 사이 간격 */
}

/* ✨[추가] 스크롤 다운 애니메이션 */
.scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    opacity: 0.8;
    z-index: 4;
    animation: bounce 2s infinite ease-in-out;
}

.scroll-indicator span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* ✨[수정] 화살표를 이미지로 교체 */
.scroll-indicator .arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    background-image: url('images/arrow-down.svg'); /* 방금 저장한 SVG 파일 경로 */
    background-size: contain;
    background-repeat: no-repeat;
}

/* ✨[수정] 위아래로 움직이는 애니메이션 */
@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 10px);
        opacity: 0.5;
    }
}
/* --- 폼 스타일 추가 --- */
.form-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* 모든 입력칸 스타일 통일 */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box; /* 패딩과 테두리를 너비에 포함시켜 레이아웃이 깨지지 않게 함 */
    transition: all 0.2s ease;
}


/* 가로 정렬을 위한 스타일 */
.form-group-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.form-group-row .form-group {
    flex: 1; /* 자식 요소들이 공간을 균등하게 차지하도록 함 */
}

/* 예약 페이지 정보 표시용 그리드 스타일 */
.booking-details-container .form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem; /* 세로 간격, 가로 간격 */
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.15);
    border-radius: 12px;
}

.booking-details-container .form-item label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.25rem;
}
.booking-details-container .form-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

/* --- 예약 페이지 동의 섹션 스타일 --- */
.agreement-group {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}
.agreement-item {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
}
.agreement-item.all {
    font-weight: bold;
}
.agreement-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}
.agreement-item .view-link {
    margin-left: auto;
    color: #a5f3fc;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* --- 메인 페이지 하단 이용안내 섹션 스타일 --- */
#main-notice-section {
    padding: 6rem 5%;
    background: transparent;
}

#main-notice-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#main-notice-section .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
}

/* ✨ 클래스 이름 변경: rules-grid -> main-rules-grid */
.main-rules-grid {
    display: grid;
    gap: 5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ✨ 클래스 이름 변경: rule-item -> main-rule-item */
.main-rule-item {
    display: flex;
    align-items: center;
    gap: 2.5rem; /* 아이콘과 텍스트 사이 간격을 조금 더 넓힘 */
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 2.5rem; /* 상하 여백을 줄이고, 좌우 여백을 늘림 */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ✨ [추가] 텍스트 영역이 남은 공간을 모두 차지하도록 설정 */
.rule-text {
    flex-grow: 1;
}

.rule-icon {
    flex-shrink: 0;
}

.rule-icon img {
    width: 80px;
    height: 80px;
}

.rule-text h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1.2rem;
}

.rule-text p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.rule-text strong {
    color: #a5f3fc;
    font-weight: 600;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* 짝수 번째 항목(.main-rule-item:nth-child(even))에만 적용 */
.main-rule-item:nth-child(even) {
    flex-direction: row-reverse; /* 아이콘과 텍스트의 순서를 뒤집습니다 (아이콘이 오른쪽으로) */
}

/* [수정] 텍스트와 선택 메뉴를 감싸는 부모 박스 스타일 */
.filter-item {
    /* ▼▼▼ 박스 모양 만들기 ▼▼▼ */
    background-color: rgba(0, 0, 0, 0.2); /* 은은한 반투명 배경 */
    border: 1px solid rgba(255, 255, 255, 0.3); /* 테두리 */
    border-radius: 8px; /* 둥근 모서리 */
    padding: 5px 10px; /* 내부 여백 (위아래 5px, 좌우 10px) */

    /* ▼▼▼ 내부 요소 정렬 ▼▼▼ */
    display: flex;
    align-items: center;

    /* ▼▼▼ 아래 테마 목록과의 간격 ▼▼▼ */
    margin-bottom: 20px; 
}

/* [수정] '[ 지점 확인 필수 ]' 텍스트 스타일 */
.filter-label {
    color: white;
    font-weight: bold;
    white-space: nowrap; /* 줄바꿈 방지 */
    
    /* ▼▼▼ 텍스트와 선택박스 사이에 구분선 추가 ▼▼▼ */
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

/* [수정] 지점 선택 <select> 태그 스타일 */
#branch-select {
    /* ▼▼▼ 기본 배경과 테두리를 없애서 부모 박스에 녹아들게 함 ▼▼▼ */
    background: transparent;
    border: none;
    outline: none; /* 클릭 시 외곽선 제거 */
    
    /* ▼▼▼ 남는 공간을 모두 채우도록 설정 (이것이 너비를 결정) ▼▼▼ */
    flex-grow: 1;
    width: 100%; /* 너비 100%로 설정하여 유연하게 채움 */

    /* ▼▼▼ 글자 스타일 ▼▼▼ */
    color: white;
    font-size: 16px;
}

/* [유지] 드롭다운 옵션 스타일은 그대로 둡니다 */
#branch-select option {
    background-color: #000000;
    color: #ffffff;
}

/* ============================================= */
/* 테마 소개 모달 글래스모피즘 스타일 (최종 수정) */
/* ============================================= */

/* 모달 내용 영역 (글래스 스타일 유지) */
.themes-page .modal-content,
.home-page .modal-content {
    background: rgba(25, 20, 56, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* 모달 내부 구분선 */
.theme-modal-meta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* ▼▼▼ [핵심] 버튼을 감싸는 부모(footer)를 flex로 만들어 중앙 정렬 ▼▼▼ */
.theme-modal-footer {
    display: flex;
    justify-content: center; /* 수평 중앙 정렬 */
    align-items: center;     /* 수직 중앙 정렬 */
    width: 100%;
    margin-top: 20px; /* 위쪽 설명과의 간격 추가 */
}

/* ▼▼▼ [핵심] 모달 버튼을 메인 페이지 '.cta-button'과 똑같이 수정 ▼▼▼ */
.themes-page .modal-content .submit-button,
.home-page .modal-content .submit-button {
    /* 기존 스타일 초기화 */
    width: auto; /* 너비를 내용에 맞게 자동 조절 */
    
    /* 메인 버튼 스타일 복사 */
    background-color: #5d4581;
    color: white;
    padding: 12px 40px; /* 버튼 내부 여백 */
    border-radius: 50px; /* 완전히 둥근 모서리 (알약 모양) */
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* !important는 이제 필요 없으므로 제거하여 코드를 깔끔하게 합니다. */
}

/* [핵심] 버튼에 마우스를 올렸을 때 효과도 똑같이 */
.themes-page .modal-content .submit-button:hover,
.home-page .modal-content .submit-button:hover {
    background-color: #725a9e;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px); /* 살짝 떠오르는 효과 */
}


/* 모달 닫기(X) 버튼 스타일 유지 */
.modal-content .modal-close-btn {
    color: #ffffff;
    opacity: 0.8;
}
.modal-content .modal-close-btn:hover {
    opacity: 1;
}

/* ======================================================= */
/* 모바일 반응형 스타일 (화면 너비 768px 이하) - 최종 통합본 */
/* ======================================================= */
@media (max-width: 768px) {

    /* --- [공통] --- */
    * { box-sizing: border-box; }
    h1 { font-size: 2rem; }
    .main-content { padding: 80px 5% 3rem 5%; }
    .container { padding: 1.5rem; }

    /* ============================================= */
    /* ▼▼▼ 고객용 페이지 모바일 스타일 ▼▼▼ */
    /* ============================================= */

    /* --- 헤더 (Navbar) --- */
    .navbar {
    height: 60px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between; /* 양쪽 끝으로 분산 */
    align-items: center;
}
.navbar-logo {
    /* 로고가 중앙에 오도록 절대 위치 사용 */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.navbar-phone-icon {
    display: block;
    visibility: hidden; /* 공간만 차지하여 햄버거 버튼과 균형을 맞춤 */
}
    .navbar-menu { display: none; }
    .navbar-menu.active { display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(12, 10, 26, 0.95); backdrop-filter: blur(10px); z-index: 999; }
    .navbar-menu.active a { padding: 1.5rem 0; font-size: 1.2rem; color: #fff; }
    .navbar-toggle-btn { display: block; z-index: 1001; background: none; border: none; cursor: pointer; padding: 0; }
    .navbar-toggle-btn .icon-bar { display: block; width: 25px; height: 3px; background-color: #fff; margin: 5px 0; transition: all 0.3s; }

    /* --- 메인 페이지 --- */
   .home-page .hero-content h1 {
    font-size: 2rem;
    word-break: keep-all;
    margin-bottom: 1.5rem; /* 제목과 부제목 사이 간격 조정 */
}
.home-page .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 5%; /* 좌우 여백을 주어 잘림 방지 */
    word-break: keep-all;
}

    /* ▼▼▼▼▼ [수정됨] 테마 소개 페이지 (모바일) ▼▼▼▼▼ */
    .themes-page .theme-grid {
        display: flex;
        overflow-x: auto;
        gap: 2rem;
        scroll-snap-type: x proximity; /* [수정] mandatory -> proximity로 변경하여 부드러운 스크롤 */
        padding: 1rem 5%;
        margin: 0 -5%;
    }
    .themes-page .theme-grid::-webkit-scrollbar {
        display: none;
    }
    .themes-page .theme-card {
        width: 75vw; /* [수정] 75vw -> 65vw로 크기 축소 */
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .themes-page .theme-card-details {
        display: flex;
        justify-content: space-around;
        text-align: center;
    }
    .themes-page .theme-card-details > * {
        flex-direction: column;
        gap: 0.4rem;
    }
    /* ▲▲▲▲▲ 여기까지 수정 ▲▲▲▲▲ */
    /* --- 메인 페이지 가로 스크롤 (모바일) --- */
.home-page .theme-panel {
    gap: 4vw; /* 카드 사이 간격 */
    align-items: center; /* 카드를 세로 중앙에 보기 좋게 정렬 */
}
.home-page .theme-card-horizontal {
    width: 50vw;    /* [핵심] 카드의 너비만 여기서 결정합니다. */
    height: auto;   /* [핵심] 높이는 자동으로 내용물(이미지)에 맞춰집니다. */
    flex-shrink: 0; /* 스크롤 시 카드가 찌그러지는 것을 방지 */
    border-radius: 20px;
}
.home-page .theme-card-horizontal img {
    display: block; /* 이미지의 불필요한 아래 여백을 제거 */
    width: 100%;    /* 부모(카드)의 너비에 꽉 채움 */
    height: auto;   /* 너비에 맞춰 높이는 자동으로 조절됨 (비율 유지) */
    border-radius: 20px;
}

   /* --- Q&A, 공지사항 (카드형) --- */
.qna-table thead { display: none; }
.qna-table tbody tr {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem; /* 내부 좌우 여백을 좀 더 줌 */
    margin-bottom: 1rem;
}
.qna-table td {
    display: block;
    padding: 0.2rem 0;
    border: none;
    text-align: left;
    white-space: normal; /* 글자가 길어지면 자동으로 줄바꿈 */
}
.qna-table .col-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem; /* 제목과 작성자 정보 사이 간격 추가 */
}
.qna-table .col-author,
.qna-table .col-date {
    display: inline-block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 1rem;
}
 .location-card {
        flex-direction: column;
        gap: 1.5rem;
    }
    .location-map, .location-map iframe {
        width: 100%; /* 지도의 너비를 화면에 100% 꽉 맞춤 */
        height: 300px; /* 모바일에서 보기 좋은 적당한 높이로 설정 */
    }
    /* --- 메인 페이지 하단 공지 (모바일 중간 정렬) --- */
    .main-rules-grid {
        gap: 2rem; /* 카드 사이의 세로 간격 조정 */
    }
    .main-rule-item {
        flex-direction: column; /* 아이콘과 텍스트를 세로로 쌓음 */
        text-align: center;   /* 텍스트 내용을 중간 정렬 */
        gap: 1rem;            /* 아이콘과 텍스트 사이 간격 조정 */
        padding: 2rem 1.5rem; /* 내부 여백 조정 */
    }
    /* 짝수 번째 항목도 세로 정렬을 유지하도록 설정 */
    .main-rule-item:nth-child(even) {
        flex-direction:
         column;
    }
    /* --- 테마 상세 모달 (모바일 너비 조정) --- */
    .modal-container {
        padding: 1rem; /* 모달 주변 여백을 줄여서 더 넓게 보이도록 함 */
    }
    .modal-content {
        max-width: 95vw; /* 모바일 화면 너비의 95%까지 채우도록 설정 */
        flex-direction: column;
        max-height: 85vh;
        overflow-y: auto;
    }
    .modal-image {
        width: 100%;
        height: 250px; /* 이미지 높이는 그대로 유지 */
        flex-shrink: 0;
    }
    .modal-text-content {
        width: 100%;
        padding: 1.5rem;
    }
    .modal-text-content h2 { font-size: 1.5rem; }
    .modal-specs {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
/* 불필요한 정보는 숨김 */
.qna-table .col-id, .qna-table .col-category, .qna-table .col-views, .qna-table .col-status {
    display: none;
}
    /* --- 기타 페이지 레이아웃 --- */
    .reservation-container, .logotype-container, .location-card { flex-direction: column; }
    .rules-grid { grid-template-columns: 1fr; }

    /* --- 팝업 --- */
    .popup-container { width: 90vw; max-width: 400px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

    /* ============================================= */
    /* ▼▼▼ 관리자 페이지 모바일 스타일 ▼▼▼ */
    /* ============================================= */
    
    /* --- 관리자 레이아웃 --- */
    .admin-wrapper { flex-direction: column; }
    .admin-page .admin-sidebar { width: 100%; height: 60px; flex-direction: row; justify-content: space-between; align-items: center; padding: 0 1.5rem; }
    .admin-page .sidebar-footer { display: none; }
    .admin-page .admin-main-content { padding: 1.5rem; }

    /* --- 관리자 모바일 메뉴 (햄버거) --- */
    .admin-menu-toggle { display: block; z-index: 1001; }
    .admin-page .sidebar-nav { display: none; }
    .admin-page .sidebar-nav.active { display: flex; flex-direction: column; justify-content: center; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(44, 62, 80, 0.98); z-index: 1000; }
    
    /* --- 관리자 콘텐츠 --- */
    .admin-page .admin-grid-container, .admin-page .new-res-main-grid { grid-template-columns: 1fr; }
    .admin-page .filter-bar, .admin-page .reservation-filter-bar .filter-row { flex-direction: column; align-items: stretch; gap: 0.8rem; }
    .panel-main, .panel-full { overflow-x: auto; }
    .admin-page .admin-table { min-width: 800px; }
}
/* admin.html의 <style> 태그 안에 추가 */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.dashboard-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.dashboard-card h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.summary-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.summary-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}
.summary-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: #5d4581;
}
.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dashboard-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
.dashboard-list li:last-child {
    border-bottom: none;
}
.dashboard-list .qna-title {
    color: #1890ff;
    cursor: pointer;
}
.dashboard-list .qna-author {
    color: #555;
    white-space: nowrap;
    margin-left: 1rem;
}
/* ============================================= */
/* 개발자 도구 차단용 오버레이 스타일 */
/* ============================================= */
#devtools-blocker {
    /* 평소에는 완전히 숨겨 둡니다 */
    display: none;
    
    /* 화면 전체를 덮도록 설정 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* 반투명 검은 배경 */
    color: white;
    z-index: 99999; /* 다른 모든 요소보다 위에 표시 */

    /* 텍스트를 화면 정중앙에 배치 */
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
}

/* 이 클래스가 추가되면 화면에 보이게 됩니다 */
#devtools-blocker.visible {
    display: flex;
}
.qna-table .col-id { display: none; }

/* style.css 파일의 맨 아래에 있는 기존 일일 마감 스타일을 모두 지우고 이걸로 교체하세요. */

/* =================================================================== */
/* ✨ [수정] 일일 마감 페이지 스타일 (컴팩트 버전)                       */
/* =================================================================== */
.daily-sales-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem; /* 전체적인 좌우 간격 줄임 */
    align-items: flex-start;
}
.daily-sales-tables {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* 테이블 사이 간격 줄임 */
}
#daily-sales-section .admin-table {
    margin-bottom: 0;
}
/* ✨ 테이블 셀 크기 및 폰트 축소 */
#daily-sales-section .admin-table th, 
#daily-sales-section .admin-table td {
    padding: 6px 8px;
    font-size: 0.85rem;
    white-space: nowrap; /* 셀 내용이 길어져도 줄바꿈 방지 */
}
#daily-sales-section .admin-table tfoot td {
    font-weight: bold;
    background-color: #f7f9fc;
}
/* ✨ 테마 제목 크기 및 여백 축소 */
.daily-sales-theme-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #5d4581;
}
.daily-sales-summary-wrapper {
    position: sticky;
    top: 1.5rem;
}
/* ✨ 요약 패널 내부 여백 축소 */
.daily-sales-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #eee;
}
/* ✨ 요약 패널 제목 크기 및 여백 축소 */
.daily-sales-summary h4 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.6rem;
}
/* ✨ 요약 항목 폰트 크기 및 여백 축소 */
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.summary-item span { color: #555; }
.summary-item strong { font-size: 1rem; color: #333; }
.summary-item.total {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #ccc;
}
.summary-item.total strong {
    font-size: 1.3rem;
    color: #5d4581;
}
.cash-receipt-item label { font-weight: 500; }
/* ✨ 현금영수증 입력칸 크기 축소 */
#cash-receipt-input {
    width: 100px;
    text-align: right;
    padding: 4px 6px !important;
    font-size: 0.9rem;
    border: 1px solid #ccc !important;
    border-radius: 4px;
}
@media (max-width: 1200px) {
    /* ✨ 화면이 좁아질 때 폰트를 더 작게 */
    #daily-sales-section .admin-table th, 
    #daily-sales-section .admin-table td {
        font-size: 0.8rem;
    }
}
@media (max-width: 992px) {
    .daily-sales-grid {
        grid-template-columns: 1fr;
    }
    .daily-sales-summary-wrapper {
        position: static;
        top: auto;
    }
}

#capture-sales-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
}

/* ============================================= */
/* ====== 일일 예약 현황 (디자인 최종 완성) ====== */
/* ============================================= */

/* 페이지 전체 레이아웃 (기존 .main-content 와 동일) */
.schedule-container.main-content {
    padding-top: 120px;
    padding-bottom: 5rem;
}

/* 컨트롤러 (지점, 날짜 선택) */
.schedule-controls {
    display: flex;
    justify-content: flex-end; /* 오른쪽 정렬 */
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.schedule-controls select,
.schedule-controls input[type="date"] {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.schedule-controls input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
}

/* 한눈에 보기 위한 그리드 레이아웃 */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 테마별 현황 블록 */
.theme-schedule-block {
    padding: 2rem 0; /* 상하 여백을 동일하게 조정 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* ✨ 위쪽 대신 아래쪽 테두리로 변경 */
}
.schedule-grid > .theme-schedule-block:last-child {
    border-bottom: none; /* ✨ 마지막 요소의 아래쪽 테두리만 제거 */
    padding-bottom: 0;
}

.theme-info-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: #fff;
}
.theme-info-header .theme-genre {
    font-weight: 400;
    color: #e0d2f0; /* 밝은 보라색 */
}
.theme-info-header {
    margin-bottom: 1rem;
}

.theme-specs-small {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.time-slots-wrapper-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.7rem;
}

/* 시간 슬롯 디자인 */
.time-slot-view, a.time-slot-view {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}
.time-slot-view .time { font-size: 1.2rem; font-weight: 700; }
.time-slot-view .status { font-size: 0.8rem; }

/* 예약 가능 상태 (선명한 보라색으로 활성화 강조) */
/* style.css */

/* ... */

/* 예약 가능 상태 (가장 밝고 선명하게) */
a.time-slot-view.available {
    background: rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(167, 139, 250, 0.7);
    color: #ede9fe;
    cursor: pointer;
}
a.time-slot-view.available:hover {
    background-color: rgba(167, 139, 250, 0.5);
    border-color: #c4b5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.2);
}
a.time-slot-view.available .status {
    color: #c7d2fe;
}
a.time-slot-view.available .time {
    color: #ffffff;
}

/* ✨ [시인성 개선] 예약 마감 상태 */
.time-slot-view.reserved {
    background: rgba(10, 5, 26, 0.6); /* 배경을 조금 더 어둡게 */
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.45);
}

/* 자물쇠 아이콘 스타일 개선 */
.time-slot-view.reserved .time {
    display: flex; /* 아이콘과 시간을 가로로 정렬하기 위해 flex 사용 */
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
}

.time-slot-view.reserved .time::before {
    content: '🔒';
    font-size: 0.8rem;  /* 아이콘 크기 미세 조정 */
    margin-right: 5px;  /* 아이콘과 시간 사이 간격 */
    color: #f87171;     /* ✨ 아이콘에 경고성 붉은 색상 추가 */
    opacity: 1;         /* ✨ 아이콘을 선명하게 */
    transform: translateY(-1px); /* 텍스트와 세로 위치 미세 조정 */
}

/* ✨ [최종 수정] 시간 지남 상태 (배경 제거 및 흐리게) */
.time-slot-view.past {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none; /* 취소선 제거 */
}

/* 할인 뱃지 */
.discount-badge {
    position: absolute;
    top: -1px;
    left: -1px;
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 10px 4px;
    border-bottom-right-radius: 8px;
    font-weight: 700;
}
.navbar-menu .admin-link {
  /* 다른 메뉴들과 공간을 맞추기 위해 inline-block으로 설정 */
  display: inline-block;

  /* 클릭 가능한 영역의 너비를 지정 (옆 메뉴와 비슷하게 조절하세요) */
  width: 80px;

  /* 마우스를 올렸을 때 손가락 모양 커서가 나오도록 설정 */
  cursor: pointer;
}

/* 모바일 화면에서는 메뉴가 세로로 표시되므로 높이를 지정 */
@media (max-width: 768px) {
  .navbar-menu .admin-link {
    width: 100%; /* 모바일에서는 너비를 꽉 채움 */
    height: 50px;  /* 모바일 메뉴 한 칸의 높이와 맞춤 */
  }
}

/* --- 난이도 아이콘 스타일 (추가) --- */
.difficulty-icon {
    display: inline-block;
    width: 14px;  /* 아이콘 크기 */
    height: 14px; /* 아이콘 크기 */
    border-radius: 50%;
    vertical-align: middle; /* 핵심: 수직 정렬을 맞춰줍니다 */
    margin: 0 1px; /* 아이콘 간 간격 */
    box-sizing: border-box; 
}

/* 꽉 찬 원 (이미지와 비슷한 밝은 회색으로 설정) */
.icon-full {
    background-color: #DDDDDD;
}

/* 반쪽 원 */
.icon-half {
    /* 선형 그라데이션으로 오른쪽 절반을 투명하게 만듭니다 */
    background: linear-gradient(to right, #DDDDDD 50%, transparent 50%);
    border: 1.5px solid #DDDDDD;
}

/* 빈 원 */
.icon-empty {
    border: 1.5px solid #DDDDDD;
}

/* ============================================= */
/* 🖱️ 커스텀 마우스 커서 설정 - 정밀 포인터 + 아이폰 구름 */
/* ============================================= */

/* 1. 기본 커서 (포인터 팁 + 구름 ☁️) */
body, html {
    /*
       - path: 왼쪽 상단(0,0)을 가리키는 작은 삼각형 팁
       - text: 그 옆에 위치한 구름 이모지
    */
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='M0 0 L10 4 L4 10 Z' fill='black' stroke='white' stroke-width='1'/><text x='6' y='22' style='font-size: 20px;'>☁️</text></svg>"), auto;
}

/* 2. 클릭 가능한 요소 (포인터 팁 + 해가 있는 구름 ⛅) */
a,
button,
select,
input[type="submit"],
input[type="checkbox"],
.theme-item,
.theme-card,
.date-button,
.time-slot.available,
.cta-button,
.nav-item,
.view-link,
.modal-close-btn,
.theme-card-horizontal {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><path d='M0 0 L10 4 L4 10 Z' fill='black' stroke='white' stroke-width='1'/><text x='6' y='22' style='font-size: 20px;'>⛅</text></svg>"), pointer !important;
}

/* 3. 텍스트 입력창 (표준 I-beam 유지) */
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea {
    cursor: text;
}

/* 4. 클릭 불가능한 상태 */
button:disabled,
.time-slot.reserved,
.action-btn[style*="not-allowed"] {
    cursor: not-allowed !important;
}

/* ============================================= */
/* ❄️ 크리스마스 눈 내리는 효과 레이어 */
/* ============================================= */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 클릭 방해 금지 */
    z-index: 9999;       /* 최상단 배치 */
    background: transparent;
}

/* ✨ 환불 안내 박스 스타일 */
.refund-notice-box {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}
.refund-notice-box.error {
    background: rgba(255, 77, 77, 0.1);
    border-color: rgba(255, 77, 77, 0.3);
}
.refund-notice-box.success {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.3);
}
.refund-notice-box .notice-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}
.refund-notice-box.error .notice-title { color: #ff4d4d; }
.refund-notice-box.success .notice-title { color: #2ecc71; }
.refund-notice-box .notice-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0;
}
.consent-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}
.consent-label input { width: 18px; height: 18px; }

/* 계좌번호 입력창 스타일 강조 */
.refund-account-input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 6px;
    color: #fff !important;
    font-size: 1rem;
}
.refund-account-input:focus {
    outline: none;
    border-color: #2ecc71 !important;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    background: rgba(0,0,0,0.5) !important;
}



/* ============================================= */
/* 📊 대시보드 전용 스타일 */
/* ============================================= */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 1.8rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.dashboard-card h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.summary-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #5d4581;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.dashboard-list li:hover {
    transform: translateX(5px);
}

.dashboard-list li:last-child {
    border-bottom: none;
}

.dashboard-list .qna-title {
    color: #5d4581;
    cursor: pointer;
    font-weight: 600;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 15px;
}

.dashboard-list .qna-author {
    color: #718096;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* 대시보드 내 테이블 강조 */
#dash-refund-list tr td {
    vertical-align: middle;
}

#dash-refund-list tr:hover {
    background: rgba(229, 62, 62, 0.03);
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .summary-value {
        font-size: 1.8rem;
    }
}
