/* 기본 폰트 설정 */
body {
    font-family: 'Inter', sans-serif;
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 탭 메뉴 스타일 */
.tab-link {
    font-size: 0.95rem;
}
.tab-active {
    border-bottom-color: #2563EB;
    color: #2563EB;
    font-weight: 600;
}

/* 모달 공통 스타일 & 애니메이션 */
.modal-backdrop {
    transition: opacity 0.3s ease;
}
.modal-content {
    transition: all 0.3s ease;
}
.modal-enter {
    opacity: 0;
    transform: scale(0.95);
}
.modal-leave {
    opacity: 0;
    transform: scale(0.95);
}

/* 지도 스타일 (여행 페이지) */
#travel-map {
    width: 100%;
    height: 250px;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* 이미지 슬라이더 스타일 (Swipe 방식) */
.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6; /* 로딩 전 배경색 */
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 이미지가 잘리지 않고 전체가 보이도록 설정 */
    user-select: none;
    pointer-events: none;
}

.slider-dot {
    transition: all 0.3s ease;
    opacity: 0.5;
}

.slider-dot.active {
    background-color: #3B82F6;
    opacity: 1;
    transform: scale(1.2);
}

/* 드래그 커서 스타일 */
.cursor-grab {
    cursor: grab;
}
.cursor-grabbing {
    cursor: grabbing;
}

/* 커스텀 Select Box 화살표 */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
}

/* 옵션 선택 목록 스타일 (최신 추가) */
.selected-option-item {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-option-item .option-name {
    font-size: 0.875rem;
    color: #374151;
    flex-grow: 1;
    margin-right: 1rem;
    font-weight: 500;
}

.selected-option-item .option-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-option-item input[type="number"] {
    width: 3.5rem;
    text-align: center;
    padding: 0.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
}

.selected-option-item .remove-btn {
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 4px;
}

.selected-option-item .remove-btn:hover {
    color: #ef4444;
}