.cursor-pointer {
    cursor : pointer;
}

.custom-header {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    z-index: 1030; /* fixed-top 우선순위 확보 */
}

/*button*/
.btn-round-blue {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--brand-primary); /* 정확히는 이미지 기준으로 #0045FF */
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #1890FF;
    border-radius: 999px; /* pill shape */
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
}

.btn-round-blue:hover {
    background-color: #fff;
    color: #1890FF;
    border: 1px solid #1890FF;
}

/*button*/
.btn-round-black {
    display: inline-block;
    padding: 12px 24px;
    background-color: #000000; /* 정확히는 이미지 기준으로 #0045FF */
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 999px; /* pill shape */
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
}

.main-container {
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
}

.cta-container {
    margin: 0 auto;
    min-height: 380px;
}

.cta-2-container {
    margin: 0 auto;
}

.card {
    border: none;
    border-radius: 16px;
}

.form-check-input {
    accent-color: #0045FF; /* 체크 컬러 */
}

.btn-next {
    width: 100%;
    height: 48px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.btn-next:hover {
    background-color: #222;
}

.btn-pre {
    width: 100%;
    height: 48px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.btn-pre:hover {
    background-color: #e0e0e0;
}


.custom-banner-text {
    font-size: 48px;
    font-weight: 800; /* ExtraBold */
    line-height: 1.3;
}

.custom-banner-text .top-text {
    color: #000;
    margin-bottom: 8px;
}

.custom-banner-text .bottom-highlight {
    background-color: #000;
    color: #fff;
    display: inline-block;
    padding: 0px 4px;
}

.vertical-line {
    width: 1px;
    height: 72px; /* 원하는 높이 */
    background-color: var(--basic-black);
    margin: 0 auto; /* 가로 가운데 정렬 */
}

.floating-images {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1050;
}

.floating-images img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.floating-images img:hover {
    transform: scale(1.1);
}

.scroll-track {
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.scroll-item {
    flex: 0 0 auto;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scroll-track-reverse {
    width: max-content;
    animation: scroll-right 30s linear infinite;
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

.custom-input {
    height: 48px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    background-color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* placeholder 색상만 따로 지정 */
.custom-input::placeholder {
    color: #C5C5C5;
    opacity: 1; /* Firefox 대비 */
}

/* 입력 중 텍스트 강제 검정 처리 (Safari 자동완성 이슈 방지 전용) */
.custom-input:-webkit-autofill,
.custom-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #000000 !important;
    transition: background-color 5000s ease-in-out 0s; /* autofill 배경색 숨김 트릭 */
}

input.form-control.custom-input:focus {
    border-color: #000000 !important;
    box-shadow: none !important; /* 필요시 Bootstrap의 파란 외곽선 제거 */
    outline: none;
}

.form-control:focus{
    color: #000000 !important;
}

.video-wrapper {
    width: 100%;
    height: 480px; /* 필요 시 높이 조정 가능 */
    overflow: hidden;
    border-radius: 12px; /* 모서리 둥글게 (선택) */
}

.custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 위아래 잘라내고 꽉 채움 */
    object-position: center center;
    display: block;
}


.video-1-wrapper{
    height: 405px;
}

@media (max-width: 480px) {

    .video-1-wrapper{
        height: 100%;
    }


    /* md 이하에서만 적용할 스타일 */
    /*button*/
    .btn-round-blue {
        display: inline-block;
        padding: 8px 16px;
        background-color: var(--brand-primary); /* 정확히는 이미지 기준으로 #0045FF */
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        border: 1px solid #1890FF;
        border-radius: 999px; /* pill shape */
        text-decoration: none;
        text-align: center;
        transition: background-color 0.2s ease-in-out;
    }

    .navbar-brand{
        padding-top: 0px !important;
    }

    .btn-round-black {
        display: inline-block;
        padding: 8px 16px;
        background-color: #000000; /* 정확히는 이미지 기준으로 #0045FF */
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        border: none;
        border-radius: 999px; /* pill shape */
        text-decoration: none;
        text-align: center;
        transition: background-color 0.2s ease-in-out;
    }


    .logo-wrapper{
        width: 120px;
        height: 48px;
    }

    .custom-banner-text {
        font-size: 26px;
        font-weight: 800; /* ExtraBold */
        line-height: 1.1;
    }


    .custom-banner-text .top-text {
        color: #000;
        margin-bottom: 4px;
    }


    .cta-container {
        margin: 0 auto;
        min-height: 280px;
    }


    .custom-banner-text .bottom-highlight {
        background-color: #000;
        color: #fff;
        display: inline-block;
        padding: 4px 4px;
    }


}


/*애니메이션*/
.fade-line {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 2s ease-in-out forwards;
}

.delay-1 {
    animation-delay: 1s;
}
.delay-2 {
    animation-delay: 2.5s;
}
.delay-3 {
    animation-delay: 4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/*Carnect*/
.faq-wrapper {
    max-width: 720px;
    margin: auto;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.faq-question .faq-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    transition: transform 0.2s ease;
}

.faq-question .faq-answer {
    display: none;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    padding-top: 4px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.text-underline {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-decoration-color: var(--basic-black); /* 파란색 */
}

.border-bottom {
    border-bottom:  1px solid #EEEEEE !important;
}

.border-top {
    border-top: 1px solid #EEEEEE !important;
}

.floating-btn-center {
    position: fixed;
    bottom: 24px;
    left: 0;
    width: 90%;
    max-width: 720px; /* 원하시는 폭으로 제한 */
    margin: 0 auto;
    right: 0;
    padding: 16px;
    background-color: var(--brand-primary);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    text-align: center;
    text-decoration: none;
}

.floating-btn-center:hover {
    background-color: #fff;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}


.form-box {
    max-width: 400px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.form-box label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-box select,
.form-box input {
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #eeeeee;
    padding: 10px 12px;
}

.form-box .btn-primary {
    border-radius: 12px;
    padding: 12px;
    background-color: #1890FF !important;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent; /* 기본 상태에서 높이 유지 */
}

/* hover 스타일 추가 */
.form-box .btn-primary:hover {
    background-color: #fff !important;
    color: #1890FF !important;
    border: 1px solid #1890FF;
}

.form-control{
    height: 48px;
    border: 1px solid #eeeeee;
}

.icon-option {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.icon-option img {
    width: 18px;
    height: 18px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 36px; /* 아이콘 공간 확보 */
}

.input-with-icon .icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0.6;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    appearance: none;       /* 크롬, 사파리 */
    -webkit-appearance: none;
    -moz-appearance: none;  /* 파이어폭스 */
    background: #fff;
    padding-right: 36px;    /* 아이콘 공간 확보 */
}

.custom-select-wrapper::after {
    content: '⏷';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
}

.select-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    color: #333333;
    transition: all 0.2s ease;
    user-select: none;
}

.select-button:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.select-button.active {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 600;
    background-color: #f9fbff;
}

.date-input-wrapper {
    display: none; /* ✅ 기본 숨김 */
    margin-top: 8px;
}

.date-input-wrapper input[type="date"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    font-size: 14px;
}

.result-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    font-family: 'Pretendard', sans-serif;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.result-price {
    font-size: 28px;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 20px;
}

.form-control {
    border-radius: 8px;
    font-size: 14px;
    height: 44px;
}

.agreement-box {
    font-size: 12px;
    color: #666;
    background: #f9f9f9;
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
}

.agreement-box a {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
}

.disclaimer {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    line-height: 1.4;
}

.cta-btn {
    background: #2196f3;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    height: 48px;
    margin-top: 20px;
    font-size: 15px;
    border: none;
    width: 100%;
}

.highlight-badge {
    display: inline-block;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
