@charset "utf-8";

:root {
    --primary: #003B97;
    --primary2: #EE7221;
    --secondary: #2774F6;
    --softPrimary: #EDF5FE;
    --softSecondary: #4292F9;
    --error: #DA3C2D;
    --softError: #FDF4F4;
    --softWarning: #FF8800;
    --line: #F2F2F3;
    --lineSoftPrimary: #C9E4FD;
    --disabled: #F2F2F3;
    --softgray: #f5f5f5;
    --softgray2: #F6F6F7;
    --border: #D6D7DA;
    --gray: #7C7F87;
    --gray2: #8E9097;
    --gray3: #BBBECB;
    --softWarning2: #FEF5F0;
    --white: #FFFFFF;
    --black: #161718;
    --orange: #FE4E02;
    --pink: #F627BB;
    --softPink: #FDE9F8;
    --black: #000000;
    /*F2F2F3 D6D7DA */
}

.block-scroll {
    display: block !important;
    overflow-y: hidden !important;
    height: 100%;
}

/* color */
.primary {
    color: var(--primary) !important;
}

.secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
}

.bg-personal {
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
    color: #FFFFFF !important;
}

.bg-camp {
    background-color: var(--black) !important;
    border-color: var(--black) !important;
    color: #FFFFFF !important;
}

.bg-error {
    background-color: var(--error) !important;
    border-color: var(--error) !important;
    color: #FFFFFF !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #FFFFFF !important;
}

.bg-soft-primary {
    background-color: var(--softPrimary) !important;
    border-color: var(--softPrimary) !important;
}

.bg-soft-gray {
    background-color: var(--line) !important;
    border-color: var(--line) !important;
}

.bg-soft-gray2 {
    background-color: var(--softgray2) !important;
    border-color: var(--softgray2) !important;
}

.bg-soft-error {
    background: var(--softError) !important;
    border-color: var(--softError) !important;
    color: #FFFFFF !important;
}

.bg-soft-primary {
    background-color: var(--softPrimary);
}

.warning {
    color: var(--error) !important;
}

.soft-warning {
    color: var(--softWarning) !important;
}

.bg-warning {
    background: var(--error) !important;
    border-color: var(--error) !important;
    color: #FFFFFF !important;
}

.bg-soft-warning {
    background: var(--softWarning) !important;
    border-color: var(--softWarning) !important;
    color: #FFFFFF !important;
}

.bg-darker {
    background: #161718 !important;
    color: #FFFFFF !important;
}

.txt-color1 {
    color: #161718 !important;
}

.txt-color2 {
    color: #7C7F87 !important;
}

.txt-color3 {
    color: #8E9097 !important;
}

.txt-color4 {
    color: #BABCC0 !important;
}

.txt-color5 {
    color: #2774F6 !important;
}

.txt-color6 {
    color: #FFFFFF !important;
}

.txt-color7 {
    color: #D6D7DA !important;
}

.txt-color8 {
    color: #4292F9 !important;
}

/* width */
.w-40 {
    width: 40px;
}

/* button */
.btn-area {
    display: flex;
}

.btn-area .btn+.btn {
    margin-left: 8px;
}

.btn-area.flex-column .btn+.btn {
    margin: 8px 0 0;
}

.btn {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D6D7DA;
    box-sizing: border-box;
    background-color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    vertical-align: top;
    border-radius: 8px;
    padding: 0 24px;
    cursor: pointer;
    color: #999;
    transition: filter 0.3s ease;
    white-space: nowrap;
}

.btn.primary {
    border-color: var(--primary);
    color: var(--primary) !important;
}

.btn.bg-soft-primary {
    color: var(--primary) !important;
}

.btn-hover:hover {
    filter: brightness(0.92);
}

.btn.active {
    border-color: var(--primary) !important;
    background: var(--primary) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.btn-size-m {
    min-width: 40px;
    height: 40px;
    font-size: 15px;
    padding: 0 20px;
}

.btn-size-s {
    min-width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 14px;
    padding: 0 16px;
}

.btn-no-line {
    border: none;
}

.btn-icn,
.btn-no-padding {
    padding: 0;
}

button:disabled,
button.btn.bg-soft-primary:disabled,
button[disabled],
.btn-disabled {
    border-color: var(--disabled) !important;
    background-color: var(--disabled) !important;
    color: #BABCC0 !important;
    cursor: default;
}

button:disabled:hover,
button[disabled]:hover,
.btn-disabled:hover {
    filter: brightness(1);
}

*+.txt-helper {
    margin-top: 4px;
}

/* box */
.box-line {
    border-radius: 8px;
    border: 1px solid var(--line);
}

/* typo */
.txt-center {
    text-align: center;
}

.txt-right {
    text-align: right;
}

.cursor-pointer {
    cursor: pointer;
}

.display1 {
    font-size: 56px;
    letter-spacing: -1.2px;
}

.display2 {
    font-size: 40px;
    letter-spacing: -1.2px;
}

.heading1 {
    font-size: 32px;
    letter-spacing: -1.2px;
}

.title1 {
    font-size: 28px;
    letter-spacing: -1.2px;
}

.title2 {
    font-size: 24px;
}

.title3 {
    font-size: 22px;
}

.subtitle1 {
    font-size: 20px;
}

.subtitle2 {
    font-size: 18px;
}

.subtitle3 {
    font-size: 16px;
}

.body1 {
    font-size: 16px;
}

.body2 {
    font-size: 15px;
}

.body3 {
    font-size: 14px;
}

.caption1 {
    font-size: 13px;
}

.caption2 {
    font-size: 12px;
}

.caption3 {
    font-size: 10px;
}

.txt-regular {
    font-weight: 400;
}

.txt-medium {
    font-weight: 500;
}

.txt-bold {
    font-weight: 600;
}

.txt-semibold {
    font-weight: 700;
}

.txt-extrabold {
    font-weight: 800;
}

.width-max-content {
    width: max-content;
}

.txt-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.txt-line-through {
    text-decoration: line-through;
}

.txt-row {
    line-height: 140%;
    letter-spacing: -0.45px;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.txt-row2 {
    height: 48px;
    -webkit-line-clamp: 2;
}

.txt-row3 {
    height: 66px;
    -webkit-line-clamp: 3;
}

/* form...input, textarea */
.form-area .btn-area .btn {
    color: #bbb;
}

.form-area .input-area~* {
    margin-top: 24px;
}

.form-area .input-area~.btn-area {
    margin-top: 24px;
}

.form-area .input-area+.input-area {
    margin-top: 24px;
    border-top: 1px solid #ddd;
    padding-top: 24px;
}

/* .form-area .form-row-area+.form-row-area {
    margin-top: 24px;
} */

.form-area .terms-input-area {
    margin-top: 24px;
}

.form-area .terms-input-area .form-row-area+.form-row-area {
    margin-top: 8px;
}

.form-area .terms-input-area .form-row-area.form-read-row-area input.input-checkbox+label {
    height: 36px;
}

.form-area .terms-input-area .form-row-area>.flex,
.form-area .terms-input-area .form-row-area>.validation {
    padding-left: 22px;
}

.form-area .terms-input-area .form-row-area .btn-more {
    padding: 0;
    height: 32px;
    border: none;
}

.form-area .terms-input-area .form-row-area .btn-more img {
    position: relative;
    top: -1px;
}

.form-area .form-row-box>*+* {
    margin-top: 4px;
}

.form-area .form-row-area dl+dl {
    margin-top: 4px;
}

.form-area .form-row-area dl dt {
    margin-bottom: 4px;
}

.form-area .form-row-area dl dt label {
    flex: 1;
    height: fit-content;
    font-size: 14px;
}

.form-area .form-row-area dd.flex {
    align-items: center;
    gap: 0 8px;
}

.form-area .form-row-area dd.flex .input-box {
    flex: 1;
}

.form-area .form-row-area .validation {
    margin-top: 4px;
    display: none;
}

.form-area .form-row-area.form-row-error .validation {
    display: block;
    color: #ff4f4f;
}

.form-area .form-row-area.form-row-error .input-text {
    border-color: var(--error);
}

.input-box,
.input-box-checkbox {
    position: relative;
}

.input-box {
    position: relative;
}

.input-box.input-password-box .input-text {
    padding-right: 44px;
}

.input-box.input-password-box .input-text~.btn {
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    min-width: 24px;
    padding: 0;
    width: 24px;
    height: 24px;
    align-items: center;
    border: none;
    background: none;
}

.input-box.input-password-box input[type=password]~.btn-invisible {
    display: none;
}

.input-box.input-password-box input[type=text]~.btn-visible {
    display: none;
}

.input-box input[type=text],
.input-box input[type=password],
.input-box input[type=email],
.input-box input.input-text,
.input-box .input-text {
    padding: 0 16px;
    width: 100%;
    height: 48px;
    line-height: 46px;
    border-radius: 0;
    box-sizing: border-box;
    color: #161718;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #F2F2F3;
    outline: none;
}

.input-box .input-text:hover {
    background: var(--line);
}

.input-box .input-text:focus {
    border-color: var(--primary);
}

.input-box .input-text:read-only+.btn-text-delete {
    display: none;
}

.input-box .valid-time {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.input-box input[type=text]::placeholder,
.input-box input[type=password]::placeholder,
.input-box input[type=email]::placeholder,
.input-box input.input-text::placeholder,
.input-box .input-text::placeholder {
    color: #BABCC0;
}

div.input-text {
    line-height: 46px;
    height: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.input-area .input-box div.input-text {
    cursor: pointer;
    background-color: #FFFFFF;
}

.input-area .input-box div.input-text dt {
    padding-right: 8px;
    flex: 0 0 auto;
}

.input-area .input-box div.input-text dd {
    text-align: right;
}

input.input-file,
input.input-checkbox,
input.input-radio {
    position: relative;
    display: none;
    border: 0;
    width: 0;
}

.input-box-checkbox {
    display: flex;
}

input.input-checkbox+label {
    height: 32px;
    padding-left: 28px;
    padding-right: 16px;
    display: flex;
    font-size: 14px;
    align-items: center;
    position: relative;
    cursor: pointer;
}

input.input-checkbox+label .icn {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #E7E8E9;
    border-radius: 20px;
    box-sizing: border-box;
}

input.input-checkbox+label .icn .circle-checked {
    width: 24px;
    height: 24px;
}


input.input-checkbox+label .icn .none-checked,
input.input-checkbox:checked+label .icn .checked,
input.input-checkbox:checked+label .icn .circle-checked {
    display: block;
}

input.input-checkbox+label .icn .checked,
input.input-checkbox+label .icn .circle-checked,
input.input-checkbox:checked+label .icn .none-checked {
    display: none;
}

input.input-checkbox:checked+label .icn svg path {
    fill: #FFFFFF;
}

input.input-checkbox-line+label .icn {
    width: 24px;
    height: 24px;
}

input.input-checkbox-line+label .icn {
    width: 24px;
    height: 24px;
    border: none;
}

input.input-checkbox-line+label .icn svg path {
    fill: var(--line);
}

input.input-checkbox-line:checked+label .icn svg {
    width: 24px;
    height: 24px
}

input.input-checkbox-line:checked+label .icn {
    background: #FFFFFF;
}

input.input-checkbox-line:checked+label .icn svg path {
    fill: var(--primary);
}

input.input-checkbox:disabled+label {
    color: #bcbcbc !important;
    cursor: default;
}

textarea.textarea {
    padding: 12px 16px;
    width: 100%;
    line-height: 150%;
    border-radius: 8px;
    background: #FFFFFF;
    box-sizing: border-box;
    color: #444;
    font-size: 16px;
    border: 1px solid var(--line);
    resize: none;
    outline: none;
    box-sizing: border-box;
}

textarea.textarea::placeholder {
    color: #BABCC0;
}

textarea.textarea:hover {
    background: var(--line);
}

.textarea-count-box {
    line-height: 0;
    position: relative;
}

.textarea-count-box textarea.textarea {
    height: 96px;
    padding: 12px 80px 12px 16px;
}

.textarea-count-box p {
    position: absolute;
    bottom: 12px;
    right: 16px;
}

.body-textarea-box textarea.textarea {
    height: 240px;
}

.board-area .pagination-area {
    padding-top: 32px;
}

.pagination-area {
    padding-top: 16px;
}

.pagination-area .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination>* {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination>* a {
    padding: 0;
}

.pagination .page-prev a.disabled img,
.pagination .page-next a.disabled img {
    opacity: 0.2;
}

.pagination .page-prev a.disabled:hover,
.pagination .page-next a.disabled:hover {
    filter: brightness(1);
}

.pagination .page-item span {
    color: #FFFFFF;
    font-weight: 600;
    background: var(--primary);
    border-color: var(--primary);
}

.pagination a.btn,
.pagination .page-item.active span {
    font-size: 16px;
}

.pagination a.btn {
    border: none;
}

.pagination .page-item.active span {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .page-prev .btn,
.pagination .page-next .btn {
    transition: filter 0.3s ease;
}

.pagination .page-prev .btn:hover,
.pagination .page-next .btn:hover {
    filter: brightness(0.92);
}

.select-box {
    position: relative;
}

.input-box .select-box {
    width: 100%;
}

.select-box:not(:first-child) {
    margin-left: 8px;
}

.select-box .select-item {
    position: relative;
    padding: 0 40px 0 12px;
    height: 40px;
    line-height: 38px;
    font-size: 15px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-sizing: border-box;
    cursor: pointer;
}

.select-box .select-item:hover {
    background: var(--line);
}

.select-box .select-item .icn {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "";
    width: 16px;
    height: 16px;
    line-height: 0;
}

.select-box .select-item .icn svg {
    width: 16px;
}

.select-box .select-option-area {
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 1;
}

.select-box .select-option-list {
    padding: 4px 0;
    overflow-y: auto;
    max-height: 196px;
    font-size: 15px;
    padding: 0;
    background: #FFFFFF;
    border-radius: 8px;
    box-sizing: border-box;
    background: #FFF;
    border: 1px solid var(--line);
    box-shadow: 0px 12px 16px -4px rgba(22, 23, 24, 0.08), 0px 4px 6px -2px rgba(22, 23, 24, 0.03);
}

.select-box.active .select-item {
    border-color: var(--primary);
}

.select-box.active .select-item .icn {
    transform: rotate(-180deg);
}

.select-box.active .select-option-area {
    display: block;
}

.select-box .select-option-list li,
.select-option-list li {
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    background: #FFFFFF;
}

.select-box .select-option-list li input.input-checkbox+label {
    height: 40px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    color: #7C7F87;
    font-weight: 600;
}

.select-box.select-size-huge .select-item {
    height: 48px;
    line-height: 46px;
}

.select-box.select-size-huge .select-option-area {
    top: 52px;
}

.select-box.select-size-huge .select-item .icn,
.select-box.select-size-huge .select-item .icn svg {
    width: 24px;
}

.select-box.select-size-huge .select-item .icn {
    opacity: 0.4;
}

.scroll-y-area {
    overflow-y: auto;
    -ms-overflow-style: none;
}

.scroll-y-area::-webkit-scrollbar {
    display: none;
}

.calendar-area .calendar-title-area {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-area .calendar-table-area {
    table-layout: fixed;
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

.calendar-area .calendar-table-area.calendar-scroll .calendar-body {
    display: block;
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.calendar-area .calendar-table-area thead th {
    padding: 8px 0;
    font-size: 13px;
    color: var(--black);
    font-weight: 600;
}

.calendar-area .calendar-table-area.calendar-scroll tr {
    display: table;
    width: 100%;
}

.calendar-area .calendar-table-area.calendar-scroll .calendar-month {
    padding: 20px 0 0 12px;
    color: var(--gray);
    font-weight: 600;
    font-size: 14px;
}

.calendar-area .calendar-table-area .empty,
.calendar-area .calendar-table-area .calendar-date-wrap {
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.calendar-area .calendar-table-area button {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    vertical-align: top;
    border-radius: 40px;
    color: var(--black);
    font-weight: 400;
    padding: 4px;
    border: none;
    box-sizing: border-box;
    z-index: 1;
    cursor: pointer;
    margin: 0 auto;
    font-size: 13px;
}

.calendar-area .calendar-table-area button.weekend {
    color: #F94239;
}

.calendar-area .calendar-table-area button.unselectable,
.calendar-area .calendar-table-area button.reservation:not(.possible) {
    color: var(--gray3)
}

.calendar-area .calendar-table-area td.scheduled button {
    color: #161718;
}

.calendar-area .calendar-table-area .selected button {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

.calendar-area .calendar-table-area .marked::before,
.calendar-area .calendar-table-area .marked::after {
    content: "";
    position: absolute;
    top: 48%;
    left: 50%;
    width: 50%;
    height: 2px;
    background-color: red;
    transform-origin: center;
}

.calendar-area .calendar-table-area .marked::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.calendar-area .calendar-table-area .marked::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.calendar-area .calendar-table-area td.scheduled::before,
.calendar-area .calendar-table-area td.selected.started::before,
.calendar-area .calendar-table-area td.selected.ended::before {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: var(--softgray2);
}

.calendar-area .calendar-table-area td.selected.started:before {
    left: 50%;
    margin-left: -20px;
    border-radius: 40px 0 0 40px;
}

.calendar-area .calendar-table-area td.selected.ended:before {
    border-radius: 0 40px 40px 0;
    left: auto;
    right: 50%;
    margin-right: -20px;
}

/* SKELETON */
.skeleton-grid {
    flex: 1;
    gap: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.skeleton-container {
    flex: 1;
}

.skeleton-container.border {
    border: 1px solid var(--line);
    border-radius: 12px;
}

.skeleton {
    background: #f4f4f4;
    border-radius: 4px;
    width: 100%;
    height: 14px;
    animation: pulse 1s infinite;
}

.skeleton.thumbnail {
    padding-top: 68%;
}

.skeleton.s-thumbnail {
    width: 48px;
    height: 48px;
}

.skeleton.m-thumbnail {
    width: 96px;
    height: 70px;
}

.skeleton.slide-banner {
    width: 100%;
    height: 300px;
}

.skeleton.w-40 {
    width: 40%;
}

.skeleton.w-100 {
    width: 100%;
}

.skeleton.w-50 {
    width: 50%;
}

.skeleton.h-42 {
    height: 42px;
}

.skeleton.h-48 {
    height: 48px;
}

.skeleton.h-22 {
    height: 22px;
}

.skeleton.h-21 {
    height: 21px;
}

.skeleton.h-17 {
    height: 17px;
}

.skeleton.h-20 {
    height: 20px;
}

.skeleton.h-200 {
    height: 200px;
}

.skeleton.h-300 {
    height: 300px;
}

.skeleton.h-100 {
    height: 100%;
}

.skeleton.pt-50 {
    padding-top: 50%;
}

.skeleton.pt-70 {
    padding-top: 70%;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* SCROLL BAR */
/* 전체 스크롤바를 투명하게 설정 */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: transparent;
}

/* 스크롤바 thumb(드래그 가능한 부분) */
::-webkit-scrollbar-thumb {
    background: var(--gray3);
    border-radius: 4px;
}

/* 스크롤바 트랙(스크롤 thumb가 움직이는 공간) */
::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width:1200px) {
    .skeleton.slide-banner {
        width: 100%;
        height: 300px;
    }
}

@media (max-width:1024px) {
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:768px) {
    .title1 {
        font-size: 24px;
    }
}

@media (max-width:630px) {
    .skeleton-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .skeleton-container {
        display: flex;
        gap: 12px;
    }

    .skeleton-container.car .skeleton-wrap .skeleton.thumbnail {
        display: flex;
        width: 96px;
        height: fit-content;
    }

    .skeleton-container.car .skeleton-wrap.content {
        width: 100%;
        margin-top: 0px;
    }

    .skeleton-container.review {
        flex-direction: column;
    }
}