@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');

:root {

    --btn-color: #fdfdfd;
    /* button color*/
    --btn-bg: #4f55c1;
    /* button bg color*/

    --primary-text-color: #4f55c1;
    --header-link-hover: #6c72e8;
    --input-hover-bd-color: #4f55c1;
}

/* ===== AUTO_PILOT 행 스타일 (ai-review 페이지용) ===== */
.auto-pilot-row {
    position: relative;
    border: 2px solid #9ca3af;
    background: linear-gradient(to right, #f9fafb, #f3f4f6, #f8fafc);
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.2);
}

.auto-pilot-row td {
    border: none !important;
    background: transparent !important;
}

.dark .auto-pilot-row {
    border-color: rgba(156, 163, 175, 0.6);
    background: linear-gradient(to right, rgba(75, 85, 99, 0.08), rgba(107, 114, 128, 0.06), rgba(30, 41, 59, 0.95));
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.3);
}

.dark .auto-pilot-row td {
    border: none !important;
    background: transparent !important;
}

.auto-pilot-row:hover {
    background-color: rgba(156, 163, 175, 0.3);
    border-color: #6b7280;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.dark .auto-pilot-row:hover {
    background-color: rgba(156, 163, 175, 0.2);
    border-color: rgba(107, 114, 128, 0.7);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

/* AUTO_PILOT 플로팅 뱃지 */
.advice-reservation-floating-badge {
    position: absolute;
    top: -6px;
    left: 0px;
    background: #e5e7eb;
    color: #1f2937;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(156, 163, 175, 0.4);
    box-shadow: 0 1px 4px rgba(107, 114, 128, 0.3);
    z-index: 10;
    white-space: nowrap;
}

.dark .advice-reservation-floating-badge {
    background: rgba(75, 85, 99, 0.3);
    color: #e5e7eb;
    border-color: rgba(156, 163, 175, 0.5);
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.5);
}

/* 모달용 뱃지 */
.advice-reservation-badge {
    display: inline-flex;
    align-items: center;
    background: #e5e7eb;
    color: #1f2937;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(156, 163, 175, 0.3);
    box-shadow: 0 1px 3px rgba(107, 114, 128, 0.2);
    margin-right: 8px;
    white-space: nowrap;
}

.dark .advice-reservation-badge {
    background: rgba(75, 85, 99, 0.3);
    color: #e5e7eb;
    border-color: rgba(156, 163, 175, 0.4);
    box-shadow: 0 1px 3px rgba(107, 114, 128, 0.4);
}

html {
    scroll-behavior: smooth;
    font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Color Emoji", sans-serif;
}

/* 텍스트만 크게 하기 위한 스타일 (레이아웃은 유지) */
body,
p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6,
td,
th,
li,
a,
button,
input,
textarea,
label {
    font-size: inherit;
}

/* Tailwind CSS 텍스트 클래스들을 픽셀 단위로 오버라이드 */
.text-xs {
    font-size: 14px !important;
    /* 기본 12px → 14px */
}

.text-sm {
    font-size: 16px !important;
    /* 기본 14px → 16px */
}

.text-base {
    font-size: 18px !important;
    /* 기본 16px → 18px */
}

.text-lg {
    font-size: 20px !important;
    /* 기본 18px → 20px */
}

.text-xl {
    font-size: 22px !important;
    /* 기본 20px → 22px */
}

/* 기본 body 폰트 크기 설정 */
body {
    font-size: 16px;
}

header {
    /* background-color: #fff;
    color: #000; */
}


header>.collapsible-header {
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

.animated-collapse {
    transition: width 0.3s ease;
}

.header-gradient {
    background: rgb(206, 174, 212);
    background: linear-gradient(83deg, #ceaed474 15%, #abd4e693 33%, #73edc097 79%, #8c91e86b 100%);
    filter: blur(100px);
}

.header-links {
    display: flex;
    align-items: center;
    min-width: fit-content;
    border-radius: 10px;
    padding: 5px 10px;
    transition: background-color 0.5s, color 0.5s;
}


.header-links:hover {
    color: var(--header-link-hover);
}

.primary-text-color {
    color: var(--primary-text-color);
}

.gradient-text {
    background: rgb(233, 92, 255);
    background: linear-gradient(93deg, rgba(233, 92, 255, 1) 12%, rgba(210, 125, 255, 1) 49%, rgba(159, 121, 255, 1) 93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section {
    background-image: url("../assets/background/dots.svg");
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: cover;
}

.hero-bg-gradient {
    background: linear-gradient(180deg, rgba(24, 27, 32, 0.9) 30%, rgba(0, 0, 0, 0.258140756302521) 65%);
}

.opacity-0 {
    opacity: 0 !important;
}

.opacity-100 {
    opacity: 100 !important;
}

.btn {
    padding: 10px 15px;
    width: max-content;
    border-radius: 24px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn:hover {}

.btn:disabled {
    cursor: default;
}

.input {
    padding: 10px;
    background-color: transparent;
    border-radius: 25px;
    /* outline: none; */
    min-width: 100px;
    border: 2px solid #818080;
    /* transition: border 0.3s; */
}

.input:active,
.input:focus,
.input:focus-within {
    border: 2px solid var(--input-hover-bd-color);
}

.carousel-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 800px;
}

.carousel {
    display: inline-block;
    animation: scroll 10s linear infinite;
}

.carousel-img {
    display: inline-block;
    margin: 0 20px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 로딩 스켈레톤 애니메이션 */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.animate-pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.footer-link {
    transition: color 0.3s;
}

.footer-link:hover {
    color: #483cf4;
}


.review-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.review-card {
    box-shadow: 0px 2px 4px #757474a0;
    border-radius: 15px;
    /* width: 200px; */
    /* height: 550px; */
    padding: 10px;
}

/* --------- collapsible div ---------- */
.collapsible {
    background-color: #f3f0f0;
    color: #2b2929;
    /* cursor: pointer; */
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

/* Style for the collapsible content */
.content {
    padding: 0 18px;
    /* display: none; */
    height: 0px;
    overflow: hidden;
    background-color: transparent;
    transition: height 0.5s;
    text-align: justify;
    margin-top: 10px;
}

.collapsible .active,
.collapsible:hover {
    /* background-color: #dedddd; */
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: end;
        background-color: #181B20;
        color: #ffffff;
        overflow-y: auto;
        box-shadow: 2px 0px 3px #9f9f9f;
    }

    .header-links {
        color: rgb(255, 255, 255);
    }

}