:root {
    /* 폰트사이즈 */
    --Text-Title: 20px;
    --Text-Subtitle: 20px;
    --Text-SectionTitle: 18px;
    --Text-Button: 14px;
    --Text-ButtonLg: 16px;
    --Text-Paragraph: 15px;
    --Text-SectionMainTitle: 16px;
    --Text-SectionSubTitle: 14px;
    --Text-Supported: 14px;
    --Text-Supported-2: 12px;
    --Text-Supported-3: 10px;

    /* 간격값 */
    --Space-Sm: 8px;
    --Space-Md: 16px;
    --Space-Lg: 32px;

    /* 컬러값 */
    --ColorBrand: #F4F3F1;
    --ColorBrandHighLight: #B60017;
    --ColorBrandPrimary: #B60017;
    --ColorBrandHover: #9C0014;
    --ColorBrandActive: #820011;
    --ColorBrandLight: #FFF1F3;
    --ColorBrandMuted: #FFE0E5;
    --ColorActionPrimary: #111111;
    --ColorActionPrimaryHover: #333333;
    --ColorActionPrimaryActive: #000000;
    /* --ColorBase:#F1EFE4; */
    --ColorBase: #F5F7F7;
    --ColorSurface: #fff;
    --ColorBaseBlue:#E9ECEF;
    --ColorTextPrimary: #333;
    --ColorTextSecondary: #666;
    --ColorTextTertiary: #999;
    --ColorTextOnSurface: #fff;
    --ColorBorder5: #0000000d;
    --ColorBorder10: #0000001a;
    --ColorBorder20: rgb(0,0,0,0.2);
    --ColorBorderSolid: #EFF0F5;
    --InviteFooterBorderColor: rgba(239, 240, 245, 0.84);
    --ColorTintBlack: #111111;
    --ColorTintDisabled: rgb(157, 157, 157);
    --ColorTintRed: #ff0000;
    --ColorTintPink: #ec58d9;
    --ColorTintGold: #9E836D;

    /* R값 */
    --BorderRadius-Xs: 4px;
    --BorderRadius-Md: 8px;
    --BorderRadius-Lg: 16px;
    --BorderRadius-XL: 24px;
    --BorderRadius-XXL: 40px;
    --BorderRadius-Capsule: 1000px;

    /* Transition */
    --transition: 100ms all;
}

body {
    background: var(--ColorBase) url('../Resource/mainasset/noise.png') repeat;
    margin: 0;
    font-family: 'Termina-Regular', 'pretendard', sans-serif;
    position: relative;
}


a{
    text-decoration: none;
    color: var(--ColorTextPrimary);
}

.header_menuList{
    display: none;
}


.mobileMenu .line{
    width: 20px;
    height: 2px;
    background-color: var(--ColorTextPrimary);
    display: block;
    margin: 1px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
  }
  
  .mobileMenu:hover{
    cursor: pointer;
  }
  
  /* ONE */
  .mobileMenu .line:nth-child(2){
    opacity: 0;
  }
  
  .mobileMenu.is-active .line:nth-child(2){
    opacity: 0;
  }
  
  .mobileMenu.is-active .line:nth-child(1){
    -webkit-transform: translateY(4px) rotate(45deg);
    -ms-transform: translateY(4px) rotate(45deg);
    -o-transform: translateY(4px) rotate(45deg);
    transform: translateY(4px) rotate(45deg);
  }
  
  .mobileMenu.is-active .line:nth-child(3){
    -webkit-transform: translateY(-4px) rotate(-45deg);
    -ms-transform: translateY(-4px) rotate(-45deg);
    -o-transform: translateY(-4px) rotate(-45deg);
    transform: translateY(-4px) rotate(-45deg);
  }

.BgView {
    background: var(--ColorTintBlack);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

.pcMneu{
    min-width: 112px;
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: var(--Text-Supported);
}

.targetLink{
    width: 100%;
    height: 20px;
    line-height: 20px;
    font-size: var(--Text-Supported);
}
.createWrap{
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobileMenu{
    width: 28px;
    height: 28px;
    display: none;
}
.mobileMenuIcon{
    width: 100%;
    height: 100%;
}

.BgDimmed {
    display: none;
    position: fixed;
    backdrop-filter: saturate(180%) blur(7px);
    background-color: rgb(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
}

.BgDimmed.is-active {
    z-index: 999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.BgDimmed.is-active > .BgDimmedWrap > .side_contents{
    border-radius: 0;
}

  

/* 헤더 */
.header {
    display: block;
    width: 100%;
    height: 64px;
    z-index: 1000;
    /* position: fixed; */
    transition: transform 0.3s ease, backdrop-filter 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* 여기서 시간과 타이밍 함수를 조절하여 애니메이션 속도와 효과를 변경할 수 있습니다. */
}

/* 스크롤 시 헤더 블러 효과 */
.header.scrolled {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .header.scrolled {
        background-color: rgba(0, 0, 0, 0.85);
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
    }
}

.header_wrap {
    font-family: 'Termina-Bold', 'pretendard', sans-serif;
    display: flex;
    position: relative;
    z-index: 10;
    justify-content: space-between;
    margin: 0 auto;
    line-height: 20px;
    height: 40px;
    padding: 12px 20px 0px 20px;
    font-size: var(--Text-Supported);
    font-weight: 600;
    color: var(--ColorTextPrimary);
    gap: 10;
}

.LogoWrap {
    cursor: pointer;
    display: flex;
    width: 100%;
    height: 20px;
    gap: 8px;
}

.LogoSymbol {
    height: 20px;
}

.mainButtonGroups{
    display: flex;
    gap: 12px;
}

.subTitleSection > .LogoSymbol{
    margin-bottom: 24px;
}

.SymbolLink {
    display: flex;
}

.HeaderTitle {
    font-size: var(--Text-Supported);
    line-height: 56px;
    color: var(--ColorTextTertiary);
}

.audio{
    display: none;
}


.BtnBasic,
.BtnIcon {
    font-size: var(--Text-Button);
    cursor: pointer;
    background: var(--ColorBrand);
    color: var(--ColorTextPrimary);
    padding: 0px 24px;
    border: 1px solid var(--ColorBorder5);
    transition: var(--transition);
    width: 100%;
    height: 48px;
    letter-spacing: -0.04em;
    border-radius: var(--BorderRadius-Md);
}

.BtnBasic:hover,
.BtnIcon:hover {
    opacity: 0.7;
}

.BtnIcon {
    font-family: 'Jeju Myeongjo', serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.BtnInnerIc {
    width: 16px;
    height: 16px;
}

.Btnsmall {
    font-size: var(--Text-Supported-2);
    font-weight: 600;
    cursor: pointer;
    background: var(--ColorBrand);
    color: var(--ColorTextPrimary);
    padding: 0px 12px;
    border-radius: var(--BorderRadius-Capsule);
    border: 1px solid var(--ColorBorder5);
    transition: var(--transition);
    height: 22px;
}

.Btnsmall:hover {
    opacity: 0.7;
}


#AddAccountBtn{
    border-radius: var(--BorderRadius-Md);
    padding: 8px 32px;
}
.GroomAccountInputGroups, .BrideAccountInputGroups{
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.sectionFront {
    display: flex;
    align-items: center;
}

.sectionBack {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ToggleTitle{
    font-size: var(--Text-Supported);
    color: var(--ColorTextSecondary);
}

.selectboxname,
.base {
    font-family: 'pretendard', sans-serif;
    width: 100%;
    border: 1px solid var(--ColorBorderSolid);
    padding: 15px;
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--BorderRadius-Md);
    background: var(--ColorBase);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.spinner_mini {
    margin: 0 auto;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .spinner_mini div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--ColorBorder10);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .spinner_mini div:nth-child(1) {
    left: 8px;
    animation: spinner_mini1 0.6s infinite;
  }
  .spinner_mini div:nth-child(2) {
    left: 8px;
    animation: spinner_mini2 0.6s infinite;
  }
  .spinner_mini div:nth-child(3) {
    left: 32px;
    animation: spinner_mini2 0.6s infinite;
  }
  .spinner_mini div:nth-child(4) {
    left: 56px;
    animation: spinner_mini3 0.6s infinite;
  }
  @keyframes spinner_mini1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes spinner_mini3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes spinner_mini2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
  

#groom_bank_nameTerms_Input, #groom_bank_holder_Input, #groom_bank_bankName_Input,#bride_bank_nameTerms_Input, #bride_bank_holder_Input, #bride_bank_bankName_Input{
    width: 40%;
}

#date {
    font-family: 'pretendard', sans-serif;
    width: 100%;
    height: 48px;
    font-size: var(--Text-Button);
    color: var(--ColorTextPrimary);
    border: 1px solid var(--ColorBorderSolid);
    padding: 16px;
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--BorderRadius-Md);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#date:hover {
    border: 1px solid var(--ColorTextPrimary);
}

.base:focus {
    background: var(--ColorSurface);
    outline: none;
}

.innerselectbox {
    width: 100%;
    height: 100%;
    padding: 0px 12px;
    border: 1px solid var(--ColorBorderSolid);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--BorderRadius-Md);
}

.custom-select {
    width: 100%;
    height: 48px;
    padding: 0px 16px;
    border: 1px solid var(--ColorBorderSolid);
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--BorderRadius-Md);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#instagramWrap{
    width: auto;
}

.LoginWrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}
.LoginInfo{
    font-family: 'Termina-Regular', 'pretendard', sans-serif;
    padding: 12px;
    cursor: pointer;
    color: var(--ColorTextPrimary);
    font-size: var(--Text-Supported);
    text-align: center;
    transition: var(--transition);
    white-space: nowrap;
    justify-content: center;
}

.cartInfo{
    font-family: 'Termina-Regular', 'pretendard', sans-serif;
    padding: 12px;
    cursor: pointer;
    color: var(--ColorTextPrimary);
    font-size: var(--Text-Supported);
    text-align: center;
    transition: var(--transition);
    white-space: nowrap;
    justify-content: left;
}



.loginName{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    color: var(--ColorBrandHighLight);
    font-size: var(--Text-Supported);
}
.loginInfoArea{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.checkoutHistory{        
    font-family: 'Termina-Regular', 'pretendard', sans-serif;
    padding: 12px;
    cursor: pointer;
    color: var(--ColorTextPrimary);
    font-size: var(--Text-Supported);
    text-align: center;
    transition: var(--transition);
    border-bottom: 1px solid var(--ColorTintBlack);
}

.selectBox_login{
    background: var(--ColorBase);
    width: auto;
    border: 1px solid var(--ColorTintBlack);
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    position: absolute;
    top: 48px;
    flex-direction: column;
    right: 0;
}

.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s;
  }

.Create_InvitationBtn {
    cursor: pointer;
    color: var(--ColorBrandHighLight);
    font-size: var(--Text-Supported);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}


.LoginBtn {
    font-family: 'Termina-Regular', 'pretendard' , sans-serif;
    padding: 8px 0px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ColorTextTertiary);
    font-size: var(--Text-Supported);
    font-weight: 600;
}
.LogOut{
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.LogOutBtn{
    font-family: 'Termina-Regular', 'pretendard' , sans-serif;
    font-size: var(--Text-Supported);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    background: none;
    border: none;
    padding: 12px;
    color: var(--ColorTextPrimary);
}

@keyframes slideUp {
    from {
        transform: translateY(-8px);
    }

    to {
        transform: translateY(0px);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-8px);
    }
}



.selectboxname,
.custom-select {
    background: url('../Resource/assets/Icon/Arrow.svg') no-repeat 95% 50%, var(--ColorBase);
    background-size: 16px 16px;
    font-size: var(--Text-Button);
    color: var(--ColorTextPrimary);
}

.innerselectbox {
    background: url('../Resource/assets/Icon/Arrow.svg') no-repeat 80% 50%, var(--ColorSurface);
    background-size: 12px 12px;
}

.selectboxname:hover,
.custom-select:hover {
    border: 1px solid var(--ColorTextPrimary);
}

.innerselectbox:hover {
    cursor: not-allowed;
}

/* 커스텀 셀렉트 박스 */

.custom-select-container {
    position: relative;
    width: 100%;
}


.custom-select option {
    display: none;
}

#custom-options {
    z-index: 1001;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background-color: var(--ColorSurface);
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation-fill-mode: both;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

#custom-options-account{
    z-index: 1001;
    padding: 12px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: calc(100% - 26px);
    background-color: var(--ColorSurface);
    border-radius: var(--BorderRadius-Md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    animation-fill-mode: both;
    grid-template-columns: 1fr;
    text-align: center;
    border: 1px solid var(--ColorBorder10);
}

#custom-options-invite {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    max-height: 360px;
    overflow-y: scroll;
    -webkit-overflow-scrolling:touch;
    z-index: 1001;
    padding: 12px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    /* width: calc(100% - 50px); */
    background-color: var(--ColorSurface);
    border-radius: var(--BorderRadius-Md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    animation-fill-mode: both;
    text-align: center;
    border: 1px solid var(--ColorBorder10);
}

.custom-option, .custom-option-fontSelect, .optionAccountAdd {
    align-items: flex-start;
    line-height: 28px;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    font-size: var(--Text-Supported);
    font-family: 'pretendard', serif;
    color: #333;
    cursor: pointer;
    transition: var(--transition);
    /* border: 1px solid var(--ColorBorderSolid); */
    border-radius: var(--BorderRadius-Md);
}

.custom-option-fontSelect.active{
    border: 1px solid var(--ColorTintBlack);
}


.OptionTitle {
    width: 100%;
    font-weight: bold;
    margin-bottom: 4px;
}
.optiondecription{
    font-size: var(--Text-Supported);
    line-height: 1.4;
    width: 100%;
}

.custom-option:hover, .optionAccountAdd:hover{
    border-radius: var(--BorderRadius-Xs);
    background-color: var(--ColorBorderSolid);
}

#optionAccount{
    padding: 8px;
    font-size: var(--Text-Supported);
    text-align: start;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#optionAccountAdd{
    border: none;
    padding: 8px;
    font-size: var(--Text-Supported);
    color: var(--ColorTextSecondary);
    text-align: start;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#TypeNanumMyeongjo{
    font-family: 'NanumMyeongjo', serif;
}

#TypeGowun {
    font-family: 'GowunDodum-Regular', serif;
}

#TypeChosunilbo {
    font-family: 'Chosunilbo_myungjo', serif;
}

#TypeMapo {
    font-family: 'MapoFlowerIsland', serif;
}

#TypePretendard {
    font-family: 'pretendard', serif;
}

/* 텍스트 박스 */

.TextBox, .TextBox_invite {
    white-space: nowrap;
    width: 100%;
    height: 100px;
    padding: 16px;
    box-sizing: border-box;
    border: solid 1px var(--ColorBorderSolid);
    background-color: var(--ColorBase);
    border-radius: var(--BorderRadius-Md);
    font-size: var(--Text-Supported);
    resize: none;
}

.TextBox_Alert {
    width: 100%;
    height: 100px;
    padding: 16px;
    box-sizing: border-box;
    border: solid 1px var(--ColorBorderSolid);
    background-color: var(--ColorBase);
    border-radius: var(--BorderRadius-Md);
    font-size: var(--Text-Supported);
    resize: none;
    font-family: 'pretendard', sans-serif;
    transition: var(--transition);
}

.TextBox_Alert:hover {
    border: 1px solid var(--ColorTextPrimary);
}

.TextBox_Alert:focus {
    background-color: var(--ColorSurface);
    outline: none;
}

input[type="checkbox"] {
    cursor: pointer;
}

#SearchAddressInput{
    cursor: not-allowed; /* 커서 모양 변경 */
}

.TextBox:focus {
    background-color: var(--ColorSurface);
}


.ToggleUI {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    background: var(--ColorBase);
    border: 1px solid var(--ColorBorderSolid);
    padding: 0px 16px;
    height: 46px;
    line-height: 46px;
    border-radius: var(--BorderRadius-Md);
    font-size: var(--Text-Supported);
    color: var(--ColorTextPrimary);
    justify-content: space-between;
    align-items: center;
}

.toggleSwitch {
    width: 52px;
    height: 32px;
    display: block;
    position: relative;
    border-radius: 30px;
    background-color: #E9E9EA;
    cursor: pointer;
}

.toggleSwitch .toggleButton {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #fff;
}

input[type="date"] {
    position: relative;
    padding: 12px;
    background: url('../Resource/assets/Icon/calendar.svg') no-repeat 95% 50%, var(--ColorBase);
    background-size: 16px 16px;
}

input[type="date"]::-webkit-clear-button,
input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: transparent;
    cursor: pointer;
}



.toggleSwitch.active {
    background: #65C466;
}

.toggleSwitch.active .toggleButton {
    left: calc(100% - 30px);
    background: #fff;
}

.toggleSwitch,
.toggleButton {
    transition: all 0.2s ease;
}

.checkboxsel {
    width: 20px;
    height: 20px;
    margin-left: 24px;
}

.checkselection {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px 8px 8px;
    background: var(--ColorBase);
    border: 1px solid var(--ColorBorderSolid);
    border-radius: var(--BorderRadius-Md);
    gap: 12px;
}


.base:hover {
    border: 1px solid var(--ColorTextPrimary);
}

.cont-select {
    position: relative;
    width: 200px;
}


.list-member {
    display: none;
    position: absolute;
    width: 100%;
    top: 49px;
    left: 0;
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    
}

.btn-select.on {
    background: url("images/icon-Triangle-up.png") center right 14px no-repeat;
}

.btn-select.on+.list-member {
    display: block;
}

.list-member li {
    height: 40px;
    padding: 5px 8px;
    box-sizing: border-box;
}

.list-member li button {
    width: 100%;
    padding: 7px 4px;
    border: none;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    /* 말줄임 */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.list-member li button:hover,
.list-member li button:focus {
    background-color: #F8E4FF;
}

.section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    height: 28px;
}

.section-mark {
    color: var(--ColorTextPrimary);
    font-size: var(--Text-SectionTitle);
    font-weight: 500;
    margin-right: 4px;
    color: #5CB7AD;
}

.WarningDes {
    font-size: var(--Text-Supported);
    color: var(--ColorTintRed);
}

.WarnImg {
    width: 14px;
    height: 14px;
}

.borderline {
    height: 1px;
    background: var(--ColorBorder5);
    margin-bottom: 16px;
}

.borderline_modal {
    height: 1px;
    background: var(--ColorBorder5);
    margin: 0px 24px
}

.bordercontentsline {
    height: 1px;
    background: var(--ColorBorder5);
    margin: 24px 0px 24px 0px;
}

#AccountGroup > .bordercontentsline{
    margin: 36px 0px 36px 0px;
}

.bordercontentsline-Sm {
    width: 100%;
    height: 1px;
    background: var(--ColorBorder5);
    margin: 4px 0px 4px 0px;
}

#Board_Create_Dimmed,#Board_View_Dimmed, #Board_Del_Dimmed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 100002;
  }

#Board_Create_Dimmed.BgDimmed.is-active, #Board_View_Dimmed.BgDimmed.is-active, #Board_Del_Dimmed.BgDimmed.is-active {
    display: flex;
}


.AlertWrap {
    border-radius: var(--BorderRadius-Lg);
    width: 100%;
    background: #fff;
    margin: 0 auto;
    max-width: 336px;
    height: fit-content; 
    display: flex;
    flex-direction: column;
    animation: 0.2s ease-out 0s 1 normal forwards running fadeIn, 
               0.2s ease-out 0s 1 normal forwards running scaleIn;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

.AlertHeader {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--ColorTextPrimary);
    font-family: 'pretendard', sans-serif;
}

.alert_header_title{
    font-size: var(--Text-SectionTitle);
    font-weight: 500;
}

.alert_header_sub_title{
    color: var(--ColorTextTertiary);
    font-size: var(--Text-Supported-2);
}

.modalInfoDescription{
    font-size: var(--Text-Supported-2);
    color: var(--ColorTextPrimary);
    line-height: 20px;
    text-align: left;
    width: 100%;
  }

.AlertBody {
    max-height: 400px;
    overflow: scroll;
    padding: 16px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'pretendard', sans-serif;
}
.AlertBodyGray{
    padding: 24px 24px;
    background: var(--ColorBase);
}
.inputGroups{
    background: var(--ColorSurface);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: var(--BorderRadius-Md);
    width: 100%;
}
.hidden-label {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.AlertControl {
    display: flex;
    border-top: 1px solid rgb(0,0,0,0.1);
    padding: 8px 0px;
}

/* BUG-290: 작성 모달의 양쪽 액션이 둥근 모달 경계에 붙지 않도록 동일한 inset을 유지한다. */
#Board_Create_Dimmed .AlertControl {
    padding: 8px 24px;
}

.CloseAlert {
    width: 100%;
    height: 48px;
    border-radius: var(--BorderRadius-Md);
    border: none;
    font-size: var(--Text-Button);
    color: var(--ColorTextPrimary);
    background: var(--ColorSurface);
    cursor: pointer;
    transition: var(--transition);
}

.SaveAlert {
    width: 100%;
    height: 48px;
    font-weight: 700;
    border-radius: var(--BorderRadius-Md);
    border: none;
    font-size: var(--Text-Button);
    color: var(--ColorTextOnSurface);
    background: var(--ColorActionPrimary);
    cursor: pointer;
    transition: var(--transition);
}

.SaveAlert:hover {
    background: var(--ColorActionPrimaryHover);
}

.SaveAlert:active {
    background: var(--ColorActionPrimaryActive);
}

.SaveAlert:disabled {
    color: var(--ColorTextOnSurface);
    background: var(--ColorTintDisabled);
    cursor: not-allowed;
}

.SaveAlert.DeleteAlert {
    background: var(--ColorTintRed);
}

.selectbox_modal_label {
    color: var(--ColorTextPrimary);
    font-size: var(--Text-SectionSubTitle);
    font-weight: 500;
    line-height: 28px;
    min-width: 56px;
    margin-right: 40px;
}

.selectgroup {
    height: 48px;
    width: 100%;
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0;
}

/* 푸터 */
.Footer {
    font-family: 'termina-regular', 'pretendard', sans-serif;
    position: relative;
    text-align: center;
    font-size: 12px;
    Color: var(--ColorTextPrimary);
    display: flex;
    padding: 32px 20px;
    gap: 2px;
    justify-content: center;
    /* background: var(--ColorSurface); */
    border-top: 1px solid var(--ColorBorderSolid);
}

.CompanySNS{
    display: flex;
    align-items: center;
    gap: 10px;
}
.companyyDescriptionWrap{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 푸터 */
.footerTemplate {
    position: relative;
    text-align: center;
    color: var(--ColorTextPrimary);
    display: flex;
    flex-direction: column;
    padding: 22px 20px 84px;
    margin-bottom: 0;
    gap: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: var(--ColorSurface);
    border-top: 1px solid var(--InviteFooterBorderColor, var(--ColorBorderSolid));
}

.footerBrandGroup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(18px);
}

.footerBrandLink {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.FooterWrap {
    justify-content: space-between;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 12px 0px;
    border-top: 1px solid var(--ColorTextPrimary);
}
.companyManageWrap{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.footerlogo {
    display: block;
    width: 36px;
    aspect-ratio: 174 / 198;
    flex: none;
    color: var(--ColorTextSecondary, #5e5e5e);
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.footerCopyright {
    max-width: 280px;
    margin: 0;
    color: var(--ColorTextSecondary, #8b8b8b);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

@media (max-width: 768px) {
    .footerTemplate {
        padding-bottom: max(84px, calc(62px + env(safe-area-inset-bottom)));
    }
}

.footerAddress_info{
    display: flex;
    flex-direction: column;
}

.FooterLink {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.CompanyInfo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: var(--Text-SectionSubTitle)
}
.companyInfoText{
    font-size: var(--Text-Supported);
    text-align: left;
    font-weight: 300;
}
.companyURL{
    font-size: var(--Text-Supported);
}

.CompanyInfoItem {
    color: var(--ColorTextPrimary);
    text-decoration: none;
    border-right: 1px solid var(--ColorBorderSolid);
    height: 21px;
    line-height: 21px;
    font-weight: 700;
}

.CompanyInfoItem:first-child {
    padding: 0px 16px 0px 0px;
}

.CompanyInfoItem:last-child {
    border: none;
}

.FooterAddress {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-weight: 300;
    text-align: start;
    font-size: var(--Text-Supported);
}
.logoTitle{
    font-size: var(--Text-SectionTitle);
    font-weight: 700;
}

.BusinessInfo,.OtherInfo {
    margin-bottom: 4px;
}


.naver_Wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.SNSLinkImg{
    width: 20px;
    height: 20px;
}

@media (min-width: 84px) and (max-width: 1439px){

    .FooterLink{
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
    }

    .CompanyInfo{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    .CompanyInfoItem:first-child{
        border-bottom: 1px solid var(--ColorBorderSolid);
        border-right: 0px;
        width: 100%;
        text-align: left;
    }

    .CompanyInfoItem{
        border-bottom: 1px solid var(--ColorBorderSolid);
        border-right: 0px;
        width: 100%;
        text-align: left;
    }
    .SNSLinkImg{
        width: 20px;
        height: 20px;
    }

    .section {
        margin-bottom: 16px;
    }

}



@media (max-width: 890px){

    /* .pcMneu{
        display: none !important;
    } */

    .LoginBtn{
        padding: 0;
    }
    .LoginInfo{
        border: none;
    }

    .Create_InvitationBtn, .mobile-invitation-link, .wedding-poster-link ,.meal-ticket-link, .instagram-link{
        padding: 12px;
        justify-content: center;
    }   
    .instagram-link{
        display: none;
    }

    .mobileMenu{
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    .targetLink,.pcMneu{
        display: none;
    }
    .header_wrap{
        align-items: center;
    }



    .header_menuList{
        font-family: 'Termina-Regular' , 'pretendard', sans-serif;
        font-size: var(--Text-Supported);
        position: relative;
        gap: 12px;
        z-index: 9;
        display: flex;
        flex-direction: column;
        padding: 96px 48px 48px 48px;
        background: var(--ColorBase);
        list-style: none;
        /* border-bottom: 1px solid var(--ColorBorder10); */
        margin: 0;
        transform: translateY(-600px);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .LoginWrap{
        width: auto;
    }

    .contentsQNAWrap{
        flex-direction: column;
    }
    
    .FooterWrap{
        flex-direction: column;
    }

    .cartInfo{
        justify-content: center;
    }

    .CompanySNS{
        justify-content: flex-start;
        align-items: center;
    }
    .QNATitle{
        margin-bottom: 10px;
    }

    .FooterLink{
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
        margin-bottom: 24px;
    }
    .companyManageWrap{
        flex-direction: column;
    }

    .CompanyInfo{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
        margin-bottom: 24px;
    }
    .CompanyInfoItem:first-child{
        border-bottom: 1px solid var(--ColorBorderSolid);
        border-right: 0px;
        width: 100%;
        text-align: left;
    }

    .CompanyInfoItem{
        border-bottom: 1px solid var(--ColorBorderSolid);
        border-right: 0px;
        width: 100%;
        text-align: left;
    }
    .SNSLinkImg{
        width: 20px;
        height: 20px;
    }
    .CompanySNS{
        padding: 16px 0px;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }
    

    .section {
        margin-bottom: 16px;
    }

}
/* ========== 탭 네비게이션 스타일 (모바일/태블릿) ========== */

/* 헤더와 탭 컨테이너 - 모바일/태블릿에서 fixed */
@media (max-width: 890px) {
  .header-with-tabs-container {
    /* position: fixed; */
    top: 24px; /* 이벤트 배너 높이 */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* 스크롤 시 배너가 사라지면 헤더를 상단으로 */
  .mainHeader.scrolled .header-with-tabs-container {
    top: 0;
  }

  /* 스크롤 시 컨테이너 전체가 헤더 높이만큼 위로 올라감 */
  .header-with-tabs-container.hide {
    transform: translateY(-64px); /* 헤더 높이만큼 위로 이동 */
  }

  .LogoWrap {
    width: auto !important;
    flex-shrink: 0;
  }
}

/* 탭 네비게이션 */
.tab-nav {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

@media (max-width: 890px) {
  .tab-nav {
    display: block;
  }

  .tab-nav > div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 39px;
    gap: 0;
    padding: 0 16px;
    border-bottom: 1px solid #e5e7eb;
  }
}

/* 탭 링크 스타일 */
.tab-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 12px;
  font-size: var(--Text-Supported);
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

/* 활성 탭 */
.tab-link.text-gray-900 {
  color: #111827;
  font-weight: 600;
  border-bottom-color: #111827;
}

/* 비활성 탭 호버 */
.tab-link.text-gray-500:active {
  color: #111827;
}

/* 스크롤 시 탭 스타일 */
.tab-nav.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.tab-nav.scrolled > div {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
