/* --- 배너 스타일 --- */
.main-banner-container {
    display: none;
    width: 100%;
    margin-top: -30px;
    margin-bottom: 20px;
}

.main-banner-wrapper {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.main-banner-swiper {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.main-banner-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
}

.main-banner-swiper .banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.main-banner-swiper .banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.main-banner-swiper .swiper-button-prev,
.main-banner-swiper .swiper-button-next {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.main-banner-swiper .swiper-button-prev:after,
.main-banner-swiper .swiper-button-next:after {
    font-size: 20px;
}

.main-banner-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.main-banner-swiper .swiper-pagination-bullet-active {
    background: white;
    opacity: 1;
}

/* --- 공지사항 스크롤 스타일 --- */
.main-notice-container {
    display: none;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding:0px;
    overflow: hidden;
}

.main-notice-wrapper {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    overflow: hidden;
    position: relative;
}

.main-notice-scroll {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

/* 웹: 가로 스크롤 */
.main-notice-scroll {
    flex-direction: row;
    align-items: left;
}

.main-notice-item {
    flex-shrink: 0;
    padding: 8px 20px;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.main-notice-item:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    color: #ddd;
}

/* --- 메인 페이지 카드 스타일 --- */
.main-cards-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 0px;
}

.main-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.main-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}


.main-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.main-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-card-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.main-card-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.main-card-arrow {
    display: none;
}

.main-card-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background: #4A90E2;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-card:hover .main-card-btn {
    background: #357ABD;
}

/* --- 공통 레이아웃 스타일 --- */
/*
 * Noto Sans KR Bold 폰트 로딩 (TTF 형식)
 * 파일 경로를 실제 파일 위치에 맞게 수정하세요.
 */
/* 폰트 굵기 클래스 */
.fw-300 {
  font-weight: 300;
}

.fw-500 {
  font-weight: 500;
}

.fw-700 {
  font-weight: 700;
}

header {
    width: 100%;
    background-color: #fff;
    padding: 25px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1003;
}
.header-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
    z-index: 1002;
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-utils .util-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-utils .util-settings {
    width: 30px;   /* hamburger-menu 와 동일 */
    height: 20px;  /* hamburger-menu 와 동일 */
}
.welcome-msg {
    font-size: 0.9rem;
    font-weight: 500;
}
.util-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
}
.util-link.util-link-icon {
    line-height: 1;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.util-settings-icon {
    font-size: 1.6rem; /* 이모지 크게 */
    line-height: 1;
    display: block;
}

/* 앱(WebView)에서는 상단 설정 아이콘 숨김 */
.is-app .util-settings {
    display: none !important;
}
.util-link:hover {
    color: var(--primary-color);
}

header .logo a {
    font-size: 1.5rem;
/*    font-weight: bold;*/
    text-decoration: none;
    color: var(--primary-color, #008000);
}
.header-logo-img {
    height: 36px;
    display: block;
}


.hamburger-menu {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray, #343a40);
    border-radius: 2px;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    flex: 1;
}
footer {
    width: 100%;
    padding: 30px 20px;
    background-color: #343a40;
    color: #adb5bd;
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #495057;
}
.company-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
}
.footer-links a {
    color: #ced4da;
    text-decoration: none;
    margin-left: 20px;
    font-weight: normal;
}
.footer-links a:hover {
    color: #fff;
}
.footer-info {
    text-align: left;
}
.footer-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-info li {
    display: inline-block;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #495057;
    margin-bottom: 5px; 
}
.footer-info li:last-child {
    border-right: none;
    margin-right: 0;
}
.footer-info li.full-width {
    display: block;
    border-right: none;
}


.mobile-nav {
    position: absolute; 
    top: 100%; 
    right: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 1001;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-in-out;
}
.mobile-nav.is-active {
    max-height: 500px;
    opacity: 1;
}
.mobile-nav ul {
    list-style: none;
    padding: 10px 0;
}
.mobile-nav ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    white-space: nowrap;
}
.mobile-nav ul li a:hover {
    background-color: var(--light-gray);
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal.is-visible { display: flex; }
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-overlay.active { display: flex; }
.modal-content { position: relative; background-color: #fff; width: 90%; max-width: 1000px; max-height: 80vh; border-radius: 8px; display: flex; flex-direction: column; }
.modal-header { padding: 15px 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-size: 1.2rem; color: var(--dark-gray); }
.close-modal { background: none; border: none; font-size: 2rem; cursor: pointer; color: #888; }
.modal-body { padding: 20px; overflow-y: auto; line-height: 1.7; width: 100%; margin: 0 auto; }

/* --- 탭 메뉴 스타일 --- */
.tab-menu-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.tab-menu {
    display: flex;
    width: 100%;
}
.tab-menu-item {
    flex: 1;
    padding: 18px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    transition: all 0.3s ease;
}
.tab-menu-item:last-child {
    border-right: none;
}
.tab-menu-item:hover {
    background-color: #e9ecef;
    color: var(--dark-gray);
}
.tab-menu-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* --- 페이지별 콘텐츠 스타일 --- */
.content-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1080px;
    min-height: 40vh;
}

.content-container > div {
    width: 100%;
}

.content-container > div img {
    width: 100%;
    height: auto;
    display: block;
}

.content-container h1 {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

/* 약관/개인정보 독립 페이지 본문 가독성 개선 */
.content-container #terms-of-service,
.content-container #privacy-policy {
    max-width: 920px;
    margin: 0 auto;
    color: #4d4d4d;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: -0.01em;
}

.content-container #terms-of-service h1,
.content-container #privacy-policy h1 {
    margin-bottom: 18px;
    padding-bottom: 16px;
    font-size: 1.9rem;
    font-weight: 600;
}

.content-container #terms-of-service h2,
.content-container #privacy-policy h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 1.22rem;
    font-weight: 600;
}

.content-container #terms-of-service p,
.content-container #privacy-policy p {
    margin-bottom: 12px;
    font-weight: 400;
}

.content-container #terms-of-service ol,
.content-container #terms-of-service ul,
.content-container #privacy-policy ol,
.content-container #privacy-policy ul {
    margin-bottom: 16px;
    padding-left: 22px;
}

.content-container #terms-of-service li,
.content-container #privacy-policy li {
    margin-bottom: 8px;
    font-weight: 400;
}

.content-container #terms-of-service li > ul,
.content-container #terms-of-service li > ol,
.content-container #privacy-policy li > ul,
.content-container #privacy-policy li > ol {
    margin-top: 8px;
}

.content-container #terms-of-service strong,
.content-container #privacy-policy strong {
    font-weight: 600;
}

.about-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
}

.booking-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1080px;
    position: relative;
}

/* 봇 전용 숨김 필드 — 화면·포커스·클릭에 나오지 않음 (display:none은 일부 봇이 건너뛰어 off-screen 유지) */
.apply-bot-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    pointer-events: none !important;
    opacity: 0 !important;
    left: 0 !important;
    top: 0 !important;
}
.apply-bot-honeypot input {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.booking-container h1 { 
    text-align: center; 
    margin-bottom: 30px; 
    color: var(--dark-gray); 
}

/* --- 글로벌 스타일 & 변수 ---     
	--primary-color: #007bff; //파란색

*/
:root {
    --primary-color: #008000;
    --secondary-color: #28a745;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --border-color: #dee2e6;
    --disabled-color: #e9ecef;
}
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
html, body {
    height: 100%;
}
body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.form-group {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed var(--border-color);
}
.form-group:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.form-group > label {
    display: block; 
    font-weight: 600; 
    color: #495057;
    margin-bottom: 15px; 
    font-size: 1.1rem;
    position: relative; 
    padding-left: 12px; 
}
.form-group > label.required::after {
    content: ' *';
    color: #dc3545;
    font-weight: 700;
    margin-left: 4px;
}
.form-group > label::before {
    content: ''; 
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: var(--primary-color); 
    border-radius: 2px;
}
.radio-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.radio-group label { display: flex; align-items: center; cursor: pointer; font-weight: 500; padding: 8px 15px; border: none; border-radius: 8px; transition: all 0.3s; background-color: white; white-space: normal; word-break: keep-all; }
.radio-group label:hover { background-color: #f0f9f4; }
.radio-group input[type="radio"] { width: 18px; height: 18px; margin-right: 8px; cursor: pointer; accent-color: var(--secondary-color); }
.radio-group input[type="radio"]:checked + span { font-weight: 600; }
.radio-group label span { white-space: normal; word-break: keep-all; }
.radio-group label:has(input[type="radio"]:checked) { background-color: #e9f7ef; }
.vehicle-notice {
    margin-top: 15px;
    margin-left: 0;
    padding-left: 20px;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
    border: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.8;
}
.service-notice {
    margin-top: 15px;
    margin-left: 0;
    padding-left: 20px;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
    border: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.8;
}
.calendar-container { width: 100%; overflow-x: hidden; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.calendar-header .month-display { font-size: 1rem; font-weight: 600; }
.calendar-header button { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--primary-color); padding: 5px 10px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.calendar-grid div { padding: 8px 2px; font-weight: 500; font-size: 0.9rem; }
.calendar-grid.weekdays { margin-bottom: 5px; }
.calendar-grid.weekdays div { font-weight: 600; color: #666; font-size: 0.85rem; padding: 5px 2px; }
.calendar-day { cursor: pointer; border-radius: 50%; transition: background-color 0.2s; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 0.9rem; }
.calendar-day:not(.empty):not(.disabled):hover { background-color: var(--secondary-color); color: white; }
.calendar-day.empty { cursor: default; }
.calendar-day.disabled { color: var(--border-color); cursor: not-allowed; text-decoration: line-through; }
.calendar-day.today { font-weight: 700; border: 2px solid var(--primary-color); border-radius: 50%; }
.calendar-day.selected { background-color: var(--secondary-color); color: white; border-color: var(--secondary-color); border-radius: 50%; }
.time-slots-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.time-slot { padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; text-align: center; cursor: pointer; transition: all 0.2s; }
.time-slot:hover:not(.disabled) { background-color: var(--secondary-color); color: white; border-color: var(--secondary-color); }
.time-slot.selected { background-color: var(--secondary-color); color: white; border-color: var(--secondary-color); font-weight: 600; }
.time-slot.disabled { background-color: var(--disabled-color); color: #aaa; cursor: not-allowed; border-color: var(--border-color); }
input[type="text"], input[type="tel"], select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 16px; }
.phone-group { display: flex; align-items: center; gap: 10px; }
.phone-group input { text-align: center; flex: 1; }
.phone-group select { text-align: center; flex: 1; }
.phone-group span { color: #888; font-size: 1.2rem; }
.area-select-group { display: flex; gap: 10px; }
.area-select { flex: 1; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 16px; background-color: white; cursor: pointer; }
.area-select:disabled { background-color: #f5f5f5; cursor: not-allowed; color: #999; }
.address-group { display: flex; flex-direction: column; gap: 10px; }
.address-search { display: flex; gap: 10px; }
.address-search input { flex: 1; }
.address-search-btn { padding: 10px 20px; background-color: var(--secondary-color); color: white; border: none; border-radius: 4px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.address-search-btn:hover { background-color: #2eaa5a; }
.address-group input { padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 16px; }
.submit-btn { width: 100%; padding: 15px; background-color: var(--primary-color); color: white; border: none; border-radius: 4px; font-size: 18px; font-weight: 600; cursor: pointer; margin-top: 20px; }
.summary-group { margin-top: 10px; padding: 15px; background-color: #e9f7ef; border-left: 5px solid var(--secondary-color); text-align: center; font-size: 1.05rem; font-weight: 500; color: var(--dark-gray); display: none; margin-bottom: 25px; }
.summary-group.visible { display: block; }

/* --- 인트로 페이지 스타일 --- */
.intro-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}
.intro-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-gray);

	font-size: 2.5em;
	font-weight: bold;
	margin-bottom: 20px;
}

.intro-container .btn {
	display: block;
	width: 100%;
	max-width: 400px;
	margin: 15px auto;
	padding: 15px 0;
	border-radius: 8px;
	text-decoration: none;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	color: white;
	transition: background-color 0.3s ease;
}

.intro-container .btn-primary {
	background-color: var(--primary-color)
}

.intro-container .btn-secondary {
	background-color: var(--primary-color)
}

.intro-container .btn:hover {
	background-color: #32CD32;
}


/* --- 로그인 페이지 스타일 --- */
.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}
.login-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-gray);
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
}
.login-container .form-group {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}
.login-container label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}
.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}
.login-container .submit-btn {
    width: 100%;
    margin-top: 10px;
}
.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}
.signup-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.signup-link a:hover {
    text-decoration: underline;
}

/* --- settings 페이지 스타일 --- */
.settings-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0px 0 40px;
}
.settings-qual-list {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}
.settings-qual-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}
.settings-qual-row.is-registered {
    cursor: pointer;
}
.settings-qual-row.is-registered:hover {
    background: #fafafa;
}
.settings-qual-row:last-child {
    border-bottom: none;
}
.settings-qual-label {
    color: #444;
    font-size: 0.95rem;
    font-weight: 600;
}
.settings-qual-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}
.settings-qual-badge.is-on {
    background: #eefbf2;
    border: 1px solid #b9e8c7;
    color: #246b3b;
}
.settings-qual-badge.is-off {
    background: #f6f6f6;
    border: 1px solid #e2e2e2;
    color: #777;
}
.settings-qual-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.settings-qual-upload-item {
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}
.settings-qual-title {
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.settings-qual-modal {
    display: flex;
    flex-direction: column;
    height: min(820px, calc(100vh - 60px));
    max-height: calc(100vh - 60px);
    overflow: hidden !important;
    overflow-y: hidden !important;
    padding: 20px;
}
.settings-qual-modal-title {
    margin-bottom: 14px !important;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.settings-qual-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.settings-qual-scroll::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .settings-qual-upload-grid {
        grid-template-columns: 1fr;
    }
}

/* settings: 모달 하단 버튼(닫기/저장) */
.settings-modal-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.settings-modal-btn {
    flex: 1;
    border: 0;
    border-radius: 10px;
    padding: 14px 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}
.settings-modal-btn-close {
    background: #3f3f46; /* 진한 회색 */
    color: #fff;
}
.settings-modal-btn-close:hover {
    background: #2f2f35;
}
.settings-modal-btn-save {
    background: #ff6b00; /* 주황 */
    color: #fff;
}
.settings-modal-btn-save:hover {
    background: #e55a00;
}
.settings-qual-modal .btn-delete-photo {
    background: #dc2626;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}
.settings-qual-modal .btn-delete-photo:hover {
    background: #b91c1c;
}
.settings-qual-modal .photo-preview {
    position: relative;
    overflow: hidden;
}
.settings-qual-modal .photo-actions-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    pointer-events: none;
}
.settings-qual-modal .photo-actions-overlay .btn-delete-photo {
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* settings: 자격 이미지 보기 모달 */
.settings-image-modal-body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 0 0;
}
.settings-image-modal-body img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
}
.settings-image-modal .close {
    display: none; /* 등록됨 이미지 모달은 X 버튼 숨김 */
}
.settings-image-delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    background: #dc2626 !important;
    color: #fff !important;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.settings-image-delete-btn:hover {
    background: #b91c1c !important;
}
.settings-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 8px 0 14px;
    color: #222;
}
.settings-subtitle {
    color: #666;
    margin-bottom: 18px;
    line-height: 1.5;
}
.settings-user-card {
    background: #fff7f8;
    border: 1px solid #ffdce1;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
}
.settings-user-card strong { color: #f16c7d; }
.settings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.settings-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px 8px;
    color: #222;
    background: #fff;
    text-align: center;
    min-height: 76px;
}
.settings-menu-icon {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 4px;
}
.settings-menu-text {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}
.settings-menu.active {
    border-color: #f16c7d;
    background: #fff4f6;
    font-weight: 700;
}
.settings-panel {
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}
.settings-panel h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #222;
}
.settings-subsection-title {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #efefef;
}
.settings-card-deck {
    display: grid;
    gap: 12px;
}
.settings-card {
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}
.settings-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.settings-kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    gap: 10px;
}
.settings-kv-row:last-child {
    border-bottom: none;
}
.settings-kv-row span {
    color: #666;
    font-size: 0.92rem;
}
.settings-kv-row strong {
    color: #222;
    font-size: 0.95rem;
}
.settings-full-btn {
    width: 100%;
    text-align: center;
}
.settings-license-list {
    display: grid;
    color: #444;
    font-size: 0.95rem;
}
.settings-license-list > div {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}
.settings-license-list > div:last-child {
    border-bottom: none;
}
.settings-inline-check {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.45;
}
.settings-inline-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.settings-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
}
.settings-toggle-text strong {
    display: block;
    font-size: 1rem;
    color: #222;
    margin-bottom: 3px;
}
.settings-toggle-text span {
    color: #666;
    font-size: 0.88rem;
}
.settings-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
    flex-shrink: 0;
}
.settings-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.settings-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: .2s;
    border-radius: 30px;
}
.settings-switch-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    top: 3px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.settings-switch input:checked + .settings-switch-slider {
    background-color: #22c55e;
}
.settings-switch input:checked + .settings-switch-slider:before {
    transform: translateX(20px);
}
.field-row { margin-bottom: 12px; }
.field-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #444;
}
.field-row input, .field-row select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
}
.hint { color: #777; font-size: 0.9rem; line-height: 1.5; margin-top: 6px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}
.btn-outline { background: #fff; color: #444; border: 1px solid #ddd; }
.btn-danger { background: #e74c3c; color: #fff; }
.flash {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}
.flash.success { background: #eefbf2; border: 1px solid #b9e8c7; color: #246b3b; }
.flash.error { background: #fff1f1; border: 1px solid #f4c2c2; color: #a12e2e; }
.list { margin: 0; padding-left: 18px; color: #444; line-height: 1.7; }
.list li { margin-bottom: 2px; }

/* --- 회원가입 페이지 스타일 --- */
/*.signup-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}*/
.signup-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1080px;
    min-height: 40vh;
}
.signup-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-gray);
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
}

.signup-container h2,
.signup-container h3 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
}
.signup-container .form-group {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}
.signup-container label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}
.signup-container input[type="text"],
.signup-container input[type="password"],
.signup-container input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}
.signup-container .submit-btn {
    width: 100%;
    margin-top: 10px;
}
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}
.login-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.login-link a:hover {
    text-decoration: underline;
}
.feedback-message {
    font-size: 0.85rem;
    margin-top: 5px;
    height: 1.2em;
}
.feedback-message.success {
    color: green;
}
.feedback-message.error {
    color: red;
}

/* --- 마이페이지 예약 목록 스타일 --- */
.reservation-list-container {
    width: 100%;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}
th, td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    vertical-align: middle;
}
thead {
    background-color: var(--light-gray);
}
th {
    font-weight: 600;
}
tbody tr:hover {
    background-color: #f8f9fa;
}
td.info-cell {
    text-align: left;
    white-space: nowrap;
}
.info-main {
    font-weight: 500;
}
.info-sub {
    font-size: 0.85rem;
    color: #6c757d;
}
.status-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    white-space: nowrap;
}
.status-badge.pending { background-color: #f39c12; }
.status-badge.assigned { background-color: var(--secondary-color); }
.status-badge.active { background-color: #27ae60; }
.btn-apply, .btn-detail { padding: 8px 15px; background-color: var(--secondary-color); color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; }
.btn-apply:hover, .btn-detail:hover { background-color: #2eaa5a; }


/* --- 예약 카드 레이아웃 (일반/매니저용) --- */

/* 카드가 있는 페이지는 content-container 스타일 제거 */
.content-container:has(.reservation-cards),
.content-container:has(.no-cards-message),
.content-container:has(.manager-cards-container) {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    min-height: auto;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

/* 카드 페이지의 설명글 */
.content-container:has(.reservation-cards) > .text-muted,
.content-container:has(.manager-cards-container) > .text-muted,
.content-container:has(.no-cards-message) > .text-muted {
    padding: 15px 0 5px 0;
    margin-bottom: 15px;
    font-size: 1.0rem;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
    color: #ff9800;
    text-indent:5px;
}


.reservation-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0;
}

.reservation-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
    position: relative;
}

.reservation-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.card-header-status {
    flex-shrink: 0;
    margin-left: auto;
}

.card-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.card-avatar.avatar-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-avatar.avatar-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-avatar.avatar-green {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-user-info {
    flex: 1;
}

.card-user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.card-user-status {
    font-size: 0.85rem;
    color: #666;
}

.card-info-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 15px;
}

.card-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.card-info-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.card-info-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    min-width: 60px;
}

.card-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.card-info-value-wrap {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.urgent-icon {
    display: inline-block;
    margin-left: 4px;
    font-size: 1rem;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.card-footer-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-escort {
    flex: 1;
    padding: 12px 20px;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-escort:hover {
    background-color: #138496;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.btn-escort:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(23, 162, 184, 0.2);
}

.btn-signup {
    flex: 1;
    padding: 12px 20px;
    background-color: #ff6b00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background-color: #e55a00;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.btn-signup:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 107, 0, 0.2);
}

.card-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-status-badge-top {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-status-badge-top.pending {
    background-color: #fff3cd;
    color: #856404;
}

.card-status-badge-top.connecting {
    background-color: #cfe2ff;
    color: #084298;
}

.card-status-badge-top.assigned {
    background-color: #d4edda;
    color: #155724;
}

.card-status-badge-top.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.card-status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.card-status-badge.connecting {
    background-color: #cfe2ff;
    color: #084298;
}

.card-status-badge.assigned {
    background-color: #d4edda;
    color: #155724;
}

.card-status-badge.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.manager-completed-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.manager-completed-badge img {
    max-width: 150px;
    height: auto;
}

.card-action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-action-btn.primary {
    background-color: #008000;
    color: white;
}

.card-action-btn.primary:hover {
    background-color: #006400;
}

.card-action-btn.waiting {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.no-cards-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1rem;
}

/* --- 매니저 카드덱 스타일 --- */
.manager-cards-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.manager-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
}

.manager-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.manager-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.manager-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.manager-card-body {
    margin-bottom: 15px;
}

.manager-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.manager-info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 0.95rem;
}

.info-value {
    color: #333;
    font-size: 0.95rem;
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.manager-card-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-detail,
.btn-approve {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-detail {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.btn-detail:hover {
    background-color: #e9ecef;
}

.btn-approve {
    background-color: #008000;
    color: white;
}

.btn-approve:hover {
    background-color: #006600;
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* --- 모달 스타일 --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal[style*="display: block"],
.modal[style*="display: flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #666;
    min-width: 100px;
}

.detail-value {
    color: #333;
    text-align: right;
    flex: 1;
}

.modal-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.btn-modal-approve {
    padding: 12px 40px;
    background-color: #008000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-modal-approve:hover {
    background-color: #006600;
}

/* ================================================
   반응형 미디어 쿼리
   ================================================ */


/* 모바일/태블릿 (960px 이하) */
@media (max-width: 960px) {
    .main-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 모바일/태블릿 (1079px 이하) */
@media (max-width: 768px) {

    main {
        padding: 20px 10px !important;
    }
    .booking-container {
        padding: 15px !important;
    }
    .signup-container {
        padding: 15px !important;
    }
    .settings-wrap {
        padding: 10px 0 20px;
    }
    .settings-title {
        font-size: 1.45rem;
    }
    .settings-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .settings-menu {
        min-height: 70px;
        padding: 10px 6px;
    }
    .settings-menu-icon {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    .settings-menu-text {
        font-size: 0.82rem;
    }
    .settings-panel {
        padding: 12px;
    }
    .settings-toggle-text span {
        font-size: 0.84rem;
    }
    .header-logo-img {
        height: 28px;
    }
    /* 모바일 main padding 제거 */
    main.main-page {
        padding: 0;
    }
    
    /* 메인 카드 모바일 */
    .main-cards-container {
        padding: 20px 0px 30px;
    }
    
    .main-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-card {
        flex-direction: row;
        padding: 20px;
        text-align: left;
        align-items: center;
        gap: 15px;
    }
    
    .main-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .main-card-content {
        flex: 1;
        min-width: 0;
        text-align: left;
        align-items: flex-start;
    }
    
    .main-card-label {
        font-size: 0.85rem;
        margin-bottom: 4px;
        text-align: left;
    }
    
    .main-card-title {
        font-size: 1.05rem;
        text-align: left;
    }
    
    /* 모바일: 화살표만 표시 */
    .main-card-arrow {
        flex-shrink: 0;
        color: #999;
        display: block;
    }
    
    .main-card-btn {
        display: none !important;
    }
    
    /* 배너 모바일 - 720px 기준 비율 유지 */
    .main-banner-container {
        width: 100%;
        margin-top: -10px;
        margin-bottom: 0;
    }
    
    .main-banner-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .main-banner-swiper {
        border-radius: 0;
    }
    
    .main-banner-swiper .banner-image {
        border-radius: 0;
    }
    
    .main-banner-swiper .swiper-button-prev,
    .main-banner-swiper .swiper-button-next {
        display: none;
    }
    
    /* 공지사항 모바일: 세로 스크롤 */
    .main-notice-container {
        padding: 0px;
        margin-top: 10px;
    }
    
    .main-notice-wrapper {
        padding: 10px 15px;
        height: 40px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    
    .main-notice-scroll {
        flex-direction: row;
        align-items: center;
    }
    
    .main-notice-item {
        padding: 0 15px;
        font-size: 0.9rem;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        white-space: nowrap;
        line-height: 1.4;
        gap: 8px;
    }
    
    .notice-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        object-fit: contain;
    }
    
    .main-notice-item::after {
        display: none;
    }
    
    /* 카드 버튼 */
    .card-footer-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-escort,
    .btn-signup {
        width: 100%;
    }
    
    .card-header {
        flex-wrap: wrap;
    }
    
    .card-header-status {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
        text-align: right;
    }
    
    /* 예약 카드 모바일 - 1열로 표시 */
    .reservation-cards {
        grid-template-columns: 1fr;
    }
    
    /* 푸터 */
    .footer-info li {
        display: block;
        border-right: none;
        margin-right: 0;
        padding-right: 0;
        font-size: calc(0.85rem - 2px);
    }
    
    .footer-links a {
        margin-left: 10px;
    }
    
    /* 탭 메뉴 */
    .tab-menu-item {
        font-size: 0.9rem;
        padding: 15px 10px;
    }
    
    /* 콘텐츠 컨테이너 */
    .radio-group {
        grid-template-columns: 1fr !important;
    }
    
    .content-container {
        padding: 10px 0;
    }
    
    .content-container h1 {
        font-size: 1.3rem;
        margin: 10px 5px;
    }
    
    /* 테이블 */
    table thead {
        display: none;
    }
    table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }
    table td:last-child {
        border-bottom: 0;
    }
    table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        margin-right: 15px;
    }
    td.info-cell {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        white-space: normal;
    }
    td.info-cell::before {
        margin-bottom: 8px;
    }
    .info-main, .info-sub {
        text-align: left;
        width: 100%;
    }
    
    .signup-container h1 {
        font-size: 1.5rem;
    }
    
    /* 예약 확인 페이지 */
    .check-container {
        padding: 0 1% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .check-title {
        font-size: 1.5rem;
    }
    
    .check-subtitle {
        font-size: 0.9rem;
        word-break: keep-all;
    }
    
    .order-num-badge {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .check-header {
        padding: 10px 0;
        margin: 0 0 20px 0;
    }
    
    .check-result-header {
        padding: 10px 0;
        margin: 0 0 20px 0;
    }
    
    .check-form {
        padding: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .info-section {
        padding: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .info-box {
        padding: 15px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .info-value {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .price-value {
        font-size: 1.1rem;
    }
    
    .bank-info-box {
        padding: 15px;
    }
    
    .bank-info-box h3 {
        font-size: 1.1rem;
    }
    
    .bank-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    
    .photo-report-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .photo-report-img {
        height: 120px;
    }
    
    .check-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 12px 20px;
    }
    
    .check-notice {
        padding: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .check-notice h3 {
        font-size: 1rem;
    }
    
    .check-notice li {
        font-size: 0.9rem;
    }
}

/* PC/데스크탑 (1080px 이상) */
/* ================================================
   예약확인 페이지 스타일
   ================================================ */

.check-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
}

.check-header {
    text-align: center;
    margin-bottom: 30px;
}

.check-result-header {
    text-align: center;
    margin-bottom: 30px;
}

.check-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #008000;
    margin-bottom: 10px;
}

.check-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

.order-num-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #008000 0%, #006600 100%);
    color: white;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.check-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.info-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #008000;
}

.info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #555;
    min-width: 120px;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #008000;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-pending {
    background-color: #ffc107;
    color: #000;
}

.status-success {
    background-color: #28a745;
    color: white;
}

.status-approved {
    background-color: #17a2b8;
    color: white;
}

.status-completed {
    background-color: #28a745;
    color: white;
}

.status-cancelled {
    background-color: #dc3545;
    color: white;
}

.payment-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-pending {
    background-color: #ffc107;
    color: #000;
}

.payment-success {
    background-color: #28a745;
    color: white;
}

.payment-failed {
    background-color: #dc3545;
    color: white;
}

.payment-cancelled {
    background-color: #6c757d;
    color: white;
}

.payment-info-box {
    position: relative;
}

.bank-info-box {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
}

.bank-info-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.bank-info-detail {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.bank-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.bank-value {
    font-weight: 600;
    color: white;
}

.bank-notice {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-top: 10px;
}

.photo-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.photo-report-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.photo-report-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.photo-report-time {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    font-size: 0.75rem;
    text-align: center;
}

.check-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.btn-primary {
    padding: 15px 40px;
    background: linear-gradient(135deg, #008000 0%, #006600 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 0, 0.3);
}

.btn-secondary {
    padding: 15px 40px;
    background: white;
    color: #008000;
    border: 2px solid #008000;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 0, 0.1);
}

.check-notice {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #008000;
}

.check-notice h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.check-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-notice li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    color: #666;
}

.check-notice li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #008000;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ---------- /business 창업 랜딩: 웹 100%·최대 1080px, 이미지 높이 자동 ---------- */
.business-landing {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 0 5px;
    box-sizing: border-box;
    position: relative;
}

.business-gallery {
    width: 100%;
}

.business-figure {
    margin: 0;
    padding: 0;
    line-height: 0;
    width: 100%;
    /* about 페이지처럼 단순 이미지 나열: WebView 레이아웃 이슈 유발 속성 제거 */
}

/* 원본 비율 그대로 — 높이 고정 없음 */
.business-figure img {
    display: block;
    width: 100%;
    max-width: 1080px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .business-landing {
        width: 99%;
        max-width: none;
    }

    .business-figure img {
        max-width: 100%;
    }
}

.business-fab {
    /* 비즈니스 컨텐츠 기준(1080) 우측 상단 고정 */
    position: fixed;
    /* 헤더 위가 아니라 컨텐츠 위에서 보이도록(고정 높이 계산/추적 없이) */
    top: 110px;
    right: max(16px, calc((100vw - 1080px) / 2 + 16px));
    bottom: auto;
    z-index: 1004;
    width: 76px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(155deg, #ff9f4a 0%, #e8590c 48%, #d35400 100%);
    box-shadow:
        0 10px 32px rgba(232, 89, 12, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    transition:
        opacity 1.2s ease,
        visibility 1.2s ease,
        transform 0.6s ease,
        box-shadow 0.25s ease;
}

/* (legacy) */

.business-fab.business-fab--visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.business-fab:hover,
.business-fab:focus-visible {
    box-shadow:
        0 12px 36px rgba(232, 89, 12, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    outline: none;
}

.business-fab:active {
    transform: scale(0.96);
}

.business-fab__waves {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    overflow: visible;
}

.business-fab__wave {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.38);
    animation: businessFabWave 2.5s ease-out infinite;
}

.business-fab__wave:nth-child(2) {
    animation-delay: 0.85s;
}

@keyframes businessFabWave {
    0% {
        transform: scale(0.88);
        opacity: 0.5;
    }
    70% {
        opacity: 0.12;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.business-fab__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    line-height: 1.15;
}

.business-fab__t1 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.95;
}

.business-fab__t2 {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* /business 상담 신청 모달 (웹) */
.business-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.business-modal.business-modal--open {
    display: flex;
}

.business-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.business-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    max-height: min(90vh, 640px);
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.business-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #e9ecef;
}

.business-modal__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
}

.business-modal__close {
    border: none;
    background: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0 4px;
}

.business-modal__close:hover {
    color: #333;
}

.business-modal__form {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.business-modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.business-modal__field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
}

.business-modal__req {
    color: #c0392b;
}

.business-modal__field input,
.business-modal__field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
}

.business-modal__field textarea {
    resize: vertical;
    min-height: 88px;
}

.business-phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.business-phone {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
}

.business-phone--select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
}

.business-phone-sep {
    flex: 0 0 auto;
    color: #666;
    font-weight: 600;
    line-height: 1;
}

.business-modal__field--hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.business-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.business-modal__btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.business-modal__btn--ghost {
    background: #e9ecef;
    color: #495057;
}

.business-modal__btn--primary {
    background: #e8590c;
    color: #fff;
}

.business-modal__btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

