/* --- 배너 스타일 --- */
.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-cards-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 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;
}

/* --- 공통 레이아웃 스타일 --- */
/*
 * 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: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative; 
}
.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;
}
.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;
}
.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;
}

@media (max-width: 768px) {
    .footer-info li {
        display: block;
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        margin-top: 10px;
    }
    .footer-links a {
        margin-left: 0;
        margin-right: 15px;
    }
}

.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;
}
@media (max-width: 768px) {
    .tab-menu-item {
        font-size: 0.9rem;
        padding: 15px 10px;
    }
}

/* --- 페이지별 콘텐츠 스타일 --- */
.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);
}

/* 모바일 스타일 (768px 이하) */
@media (max-width: 768px) {
    .radio-group {
        grid-template-columns: 1fr !important;
    }
    
    .content-container {
        padding: 10px 0;
    }
    
    .content-container h1 {
        font-size: 1.3rem;
        margin-left: 10px;
        margin-right: 10px;
    }
}
.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;
}
.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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    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: #dc3545;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}
.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 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);
}
.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;
}

/* --- 회원가입 페이지 스타일 --- */
/*.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);
}
.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; }

/* [수정] 모바일 화면을 위한 예약 목록 반응형 스타일 */
@media screen and (max-width: 768px) {
    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
	}
}

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

/* 카드가 있는 페이지는 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(.no-cards-message) > .text-muted {
    padding: 15px 0 5px 0;
    margin-bottom: 15px;
}

.reservation-cards {
    display: flex;
    flex-direction: column;
    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;
}

.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;
}

.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;
}

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

/* 모바일 (767px 이하) - 이미 332줄에 정의됨 */

/* 예약 카드 버튼 모바일 스타일 */
@media (max-width: 768px) {
    /* 모바일 main padding 제거 */
    main {
        padding: 0;
    }
    
    /* 메인 카드 모바일 */
    .main-cards-container {
        padding: 20px 15px 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;
    }
    
    /* 카드 버튼 */
    .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;
    }
}

/* 데스크탑 (768px 이상) */
@media (min-width: 768px) {
    /* 배너 데스크탑 */
    .main-banner-container {
        margin-top: -30px;
    }
    
    .main-banner-wrapper {
        max-width: 1080px;
    }
    
    /* 메인 카드 데스크탑 */
    .main-cards-container {
        padding: 50px 20px;
    }
    
    .main-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .main-card {
        padding: 30px 20px 20px;
    }
    
    .main-card-icon {
        width: 100px;
        height: 100px;
    }
    
    .main-card-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    /* 웹: 바로가기 버튼만 표시 */
    .main-card-arrow {
        display: none !important;
    }
    
    .main-card-btn {
        display: inline-block;
        padding: 10px 24px;
        background-color: #008000;
        color: white;
        border-radius: 6px;
        font-size: 0.95rem;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-top: auto;
    }
    
    .main-card:hover .main-card-btn {
        background-color: #006600;
        transform: scale(1.05);
    }
    
    /* 헤더 */
    .header-logo-img {
        height: 48px;
    }
    
    /* 달력 */
    .calendar-header .month-display {
        font-size: 1.2rem;
    }
    .calendar-header button {
        font-size: 1.5rem;
    }
    .calendar-grid {
        gap: 5px;
    }
    .calendar-grid div {
        padding: 10px 5px;
        font-size: 1rem;
    }
    .calendar-grid.weekdays div {
        font-size: 0.95rem;
        padding: 8px 5px;
    }
    .calendar-day {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* 예약 카드 */
    .reservation-cards {
        padding: 0;
        gap: 20px;
    }
    .reservation-card {
        padding: 25px;
    }
    
    /* 매니저 카드 */
    .manager-cards-container {
        gap: 20px;
    }
    .manager-card {
        padding: 25px;
    }
    .manager-name {
        font-size: 1.3rem;
    }
    
    /* 모달 */
    .modal-content {
        margin: 10% auto;
        padding: 40px;
    }
}

/* ================================================
   예약확인 페이지 스타일
   ================================================ */

.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;
}

.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;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .check-container {
        padding: 15px;
    }
    
    .check-title {
        font-size: 1.5rem;
    }
    
    .check-subtitle {
        font-size: 0.9rem;
    }
    
    .order-num-badge {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .check-form {
        padding: 20px;
    }
    
    .info-section {
        padding: 20px;
    }
    
    .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: 15px;
    }
    
    .check-notice h3 {
        font-size: 1rem;
    }
    
    .check-notice li {
        font-size: 0.9rem;
    }
}

/* 데스크탑 반응형 */
@media (min-width: 768px) {
    .photo-report-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .photo-report-img {
        height: 200px;
    }
}