/* define global variables */
:root {
    --app_max_width: 1200px;
    --popup_max_width: 1150px;
    --list_app_max_width: 300px;

    --header_height: 50px;
    --bottom_bar_height: 75px;
    --input_beside_button_width: 17px;
    --app_list_width_padding: 10px;
    --app_list_height_padding: 325px;
    --app_rank_list_height_padding: 105px;
    --user_list_height_padding: 220px;
    --push_list_height_padding: 290px;
    --content_detail_height_padding: 40px;
    --mobile_screen_gap: 38px;
}

* { padding: 0; margin: 0; }

html, body {
    height: 100%;
    width: 100%;

    margin: 0px;
    padding: 0 !important;
    box-sizing: border-box;

    position: relative; /* 고정 제거 */
    overflow: hidden;
    overscroll-behavior-y: contain;

    /* user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none; */

    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

a { color: #222; text-decoration: none; }
a:active { color : #2698cb; }

#app {
    position: relative;
    height: 100%;
    width: 100%;

    overflow: hidden;
    margin: auto;
    padding: 0;
    box-sizing: border-box;
}

.mainComponent {
    position: relative;
    width: 100%;
    height: 100%;

    margin:0;
    padding:0;
    box-sizing: border-box;

    overflow: auto; /* 플로팅 메뉴 화면 넘어갈때 스크롤 보여지기 위해 */
    -webkit-overflow-scrolling: touch;

    text-align: center;
    font-size: 17px;
    background-color: #ededed;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.mainWrapper {
    height: 100%;
    width: 100%;

    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding: 0;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch; /* 변경: 아이템 가로 전체 차지 */
    background-color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/**********
* contents(tab) area    *
***********/
.contentsArea {
    flex:1; /* 남은 공간 전체 차지. flexGrow, flexShrink, flexBasis 한번에 적용 */
    min-height: 0;         /* 내부 스크롤 가능하게 하는 핵심 */

    display: none;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: flex-start;

    width: 100%;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;

    box-sizing: border-box;
    margin: 0;
    padding: 0;

    scroll-behavior: smooth; /* 프로그래밍 스크롤 부드럽게 */
    overscroll-behavior-y: contain; /* Android/Chrome 바운스 느낌 */

    /* -webkit-overflow-scrolling: touch;  iOS용 바운스 그러나 사용시 z-index가 무력화됨. 사용금지  */

    /* border: 1px solid red; */
}
.contentsArea::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}
.contentsAreaShow {
    display:flex;
}
.contentsAreaNoTab{
    /* height: 100%; */
}
.contentsAreaNoScroll {
    overflow-y: hidden;
}
.contentsArea > * {
    position: relative;
    z-index: auto; /* z-index: 1인 요소보다 아래 위치 for titlebar */
}

.eachContentArea {
    position: relative;
    margin: 10px;
    padding: 0px;
    box-sizing: border-box;
    overflow: hidden;
    scroll-behavior: smooth;

    width:100%;
    height:fit-content;
    min-width:10px;
    min-height:10px;
}

.eachContentAreaSelected {
    position: relative;
}
.eachContentAreaSelected::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    pointer-events: none;
}
.selected-rule-C::after {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.15); /* 아주 연한 파란색 오버레이 */
}
.selected-rule-L::after {
    border: 3px dashed #FFCC00; /* 실선 대신 점선으로 '체크 필요' 느낌 강조 */
    background: rgba(255, 204, 0, 0.08);
}

.eachContentAreaHidden {
    outline: 2px dashed rgba(255, 64, 0, 0.6);
    outline-offset: 3px;
    border-radius: 15px;

    box-shadow: 0 0 10px rgba(255, 68, 0, 0.25);

    animation: hiddenBlink 1.4s ease-in-out infinite;
}
@keyframes hiddenBlink {
    0% {
        outline-color: rgba(255, 64, 0, 0.25);
        box-shadow: 0 0 6px rgba(255, 68, 0, 0.15);
    }
    50% {
        outline-color: rgba(255, 64, 0, 0.8);
        box-shadow: 0 0 14px rgba(255, 68, 0, 0.45);
    }
    100% {
        outline-color: rgba(255, 64, 0, 0.25);
        box-shadow: 0 0 6px rgba(255, 68, 0, 0.15);
    }
}

.eachContentArea.check-mark::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 10px;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23d9534f'/%3E%3Cpath d='M6 12.5l4 4 8-8' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;  /* ← 자식(pseudo-element)은 클릭 없음 */
    z-index: 2147483647; /* 사용자 HTML보다 항상 위 */
}

.menu-mark-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 35px;
    height: 35px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cline x1='7' y1='9' x2='17' y2='9' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='7' y1='12' x2='17' y2='12' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='7' y1='15' x2='17' y2='15' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: cover;

    cursor: pointer;
    border: none;
    padding: 0;
    background-color: transparent;

    z-index: 2147483647; /* shadow DOM보다 위 */
}

/* snsMoviePlayer style */
.eachContentSnsMoviePlayerArea {
    border: 1px solid #9c9c9d28;
    border-radius: 10px;
    background-color: white;

    overflow: hidden;

    width:100%;
    height: auto;
}

.eachContentYouTubePlayerContainer{
    position: relative; /* 자식 iframe의 absolute 기준점 */
    width: 100%;
    height: 0; /* aspect-ratio 트릭을 위한 높이 0 */
    padding-bottom: 56.25%; /* 16:9 비율 (9 / 16 = 0.5625 -> 56.25%) */
    aspect-ratio: 16 / 9; /* 또는 aspect-ratio: 16 / 9; 최신 브라우저 지원 시 */
}

.eachContentYouTubePlayer{
    position: absolute; /* 부모 기준 절대 위치 */
    top: 0;
    left: 0;
    width: 100%;   /* 부모 크기 꽉 채움 */
    height: 100%;  /* 부모 크기 꽉 채움 */

    border: none;
}

/* tiktokMoviePlayer style */
.eachContentTikTokMoviePlayerArea {
    border: 1px solid #9c9c9d28;
    border-radius: 10px;
    background-color: white;

    width:auto;
    height: auto;
}

.eachContentTiktokPlayerContainer{
    position: relative; /* 자식 iframe의 absolute 기준점 */
    padding:0;
    margin: 0 auto 0 auto;

    width:100%;
    height: auto;

    /* border: 1px solid blue; */
}
.eachContentTiktokPlayerContainer > blockquote,
.eachContentTiktokPlayerContainer > iframe {
    /* border:2px solid red; */

    /* 기본 마진/패딩 제거 */
    margin: 0 !important; /* 틱톡 인라인 스타일이나 다른 CSS보다 우선하도록 !important 사용 고려 */
    padding: 0 !important; /* 틱톡 인라인 스타일이나 다른 CSS보다 우선하도록 !important 사용 고려 */

    /* 너비 설정 (필요시) */
    display: block;
    width:100% !important;
    height: auto !important;
    /* aspect-ratio: 16 / 9 !important; */
    z-index: 0 !important;

    border:0px !important;
}

/* instagramMoviePlayer style */
.eachContentInstagramMoviePlayerArea {
    border: 1px solid #9c9c9d28;
    border-radius: 10px;
    background-color: white;

    width:auto;
    height: auto;
}

.eachContentInstagramPlayerContainer{
    position: relative; /* 자식 iframe의 absolute 기준점 */
    padding:0;
    margin: 0 auto 0 auto;

    width: fit-content;
    height: fit-content;

    /* border: 1px solid blue; */
}

.contentEditBlocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
    cursor: pointer;
}

/* iframe style */
.eachContentIframe{
    width: 100%;
    height: 100%;

    border: none;
}

/**********
* Change Password Area    *
***********/
.changePasswordArea {
    line-height: 33px;
}

/**********
* modal header button     *
***********/
.popupHeaderArea{
    display: flex;

    width:100%;
    margin: 0;
    padding: 13px 20px 10px 20px;
    box-sizing: border-box;

    justify-content: space-between;

    align-items: center;
    flex-wrap: wrap;

    position: sticky;
    top: 0;
    z-index: 10;

    background: rgba(255, 255, 255, 0.85); /* 🔥 반투명 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);


    /* border-bottom: 1px solid rgba(0,0,0,0.05); */
}

.popupHeaderButtonLeftArea{
    /* border: 1px solid red; */

    display: inline-block;
    cursor: pointer;
}

.popupHeaderIcon {
    width: 25px;
    height: 25px;
    vertical-align: middle;

    /* border: 1px solid blue; */
}

.popupHeaderTitleArea{
    /* border: 1px solid red; */

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    font-size: 25px;
    font-weight: bold;
}

/**********
* Main    *
***********/
.bigTitle{
    display:block;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding: 0px;
    margin-bottom:15px;
}

.bigTitleInMain{
    font-size:30px;
    text-align:center;
    margin-top:0px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}

.title{
    font-size: 25px;
    font-weight: bold;
    text-align: center;

    margin: 20px 0 15px 0;
    padding: 0px;

    line-height: 35px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;

    /* border:1px solid black; */
}

.titleIcon {
    width: 30px;
    height: 30px;

    vertical-align: top;
}

.titleDescription{
    display: block;
    font-size: 17px;
    text-align: center;
    line-height: 25px;
    white-space: pre-line;
}

.middleTitleDescription{
    font-size: 17px;
    text-align: left;
}

.appDescriptionDisplay{
    margin-top: 10px;

    width: 100%;
    max-height: 120px;
    overflow-y: auto;

    font-size: 16px;
    text-align: center;
    line-height: 25px;
    white-space: pre-line;
}

.totalAppCountArea{
    display: block;

    width:100%;
    text-align: center;

    background-color: #fffcfa;

    /* border:1px solid blue; */
}

.countUl{
    display: flex;
    width: calc(100% - var(--mobile_screen_gap));
    padding: 0;
    color: #666;
    justify-content: center;
    margin: auto;

    /* border:1px solid red; */

}
@media (min-width: 600px) {    /* PC */
    .countUl {
        width: 80%;
    }
}

.countLi{
    width: 33%;
    list-style: none;

    /* border:1px solid red; */
}

.countLi:first-child {
    border-left: 0;
}

.count{
    margin-bottom: 5px;
    color: rgb(44, 41, 41);
    overflow-y: auto;
}

.countTitle{
    font-size: 18px;
}

.mainTitleContainer{
    /* border:1px solid blue; */

    display: block;
    text-align: center;

    padding:30px 0 20px 0px;
}

.smallTitle{
    /* border:1px solid red; */

    display: inline;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    white-space: pre-line;
    color: rgba(12, 12, 13, 0.611);
}

.confirmText{
    display: block;
    font-size: 17px;
    text-align: center;
    line-height: 25px;
    white-space: pre-line;
}

.moreTitle{
    /* border:1px solid red; */

    display:block;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    white-space: pre-line;
    color: #45289C;
    margin: 0px 10px 0 0;
    cursor: pointer;
}

/**********
* tabbarWebSite     *
***********/
.tabbar-web-site-area{
    /* border: 1px solid red; */

    width: 100%;
    height: calc(100% - 5px);
    margin: 0px 0 0 0;
    padding: 0;
}

.tabbar-web-site-iframe {
    width: 100%;
    /* height: calc((100% - var(--bottom_bar_height)) + var(--header_height)); */
    height: 100%;
    position:relative;

    z-index:auto;
}
.tabbar-web-site-iframe::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}



/**********
* bottom tab bar    *
***********/
.bottom-bar {
    height: var(--bottom_bar_height);
    width: 100%;
    margin: 0;
    padding: 0;

    background-color: #f9f8f8;

    flex-shrink: 0; /* 높이 유지 (중요) */

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;

    /* border:1px solid red; */
}

.bottom-bar::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}
.bottom-bar-no-scroll {
    overflow-x: hidden;
}

.bottom-bar-element {
    display: inline-block;

    width: 25%;
    min-width:70px;
    height: 100%;

    font-weight: 500;
    font-size: 15px;
    text-align: center;

    /* border:1px solid blue; */
}
.bottom-bar:active .bottom-bar-element {
	/* color: #78909C; */
	transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.bottom-bar-element-container{
    /* border:1px solid red; */

    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* display:inline-block; */
    position:relative;

    margin: 7px auto auto auto;
    width: 100%;
    cursor: pointer;
}

.bottom-bar-element-container.check-mark::after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: 0px;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Ccircle cx='7.5' cy='7.5' r='7.5' fill='%23d9534f'/%3E%3Cpath d='M4 8l2.5 2.5L11 6' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain; /* cover 대신 contain → 잘림 방지 */
    pointer-events: none;
    z-index: 2147483647;
}

.bottom-bar-element-image {
    /* border: 1px solid red; */

    border-radius: 5px;
    width: 30px;
    height: 30px;
    object-fit: contain;

    margin: 0;
    padding: 0;
}

.bottom-bar-element-title{
    width:100%;
    /* height: 16px; */
    /* overflow: hidden; */

    line-height: 1.5;

    mix-blend-mode: normal;
    color: black;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**********
* tab bar in modal   *
***********/
.tabbarAreaInModal {
    /* border:1px solid red; */

    display: block;
    height: var(--bottom_bar_height);
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;

    line-height: 17px;

    margin: 15px 0 0 0;
}
.tabbarAreaInModal::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.eachTabbarInModal {
    /* border:1px solid blue; */

    display: inline-block;

    width: 70px;
    text-align: center;

    font-weight: 500;
    font-size: 12px;

    margin: auto 0 auto 0;
    padding-top: 10px;
    padding-bottom: 5px;

    color: rgb(85, 80, 80);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.eachTabbarSelectedInModal{
    background-color: rgb(244, 244, 244);
}

.helpButtonIcon {
    width: var(--input_beside_button_width);
    height: var(--input_beside_button_width);

    vertical-align: middle;

    margin:0 5px 0 5px;

    cursor: pointer;
}

/* Text Button Area */
.textButtonArea{
    display: inline-block;
    width: calc(100% - 35px);
    text-align: center;
    margin-top: 7px;
    padding:0px;
    line-height: 1px;

    /* border:1px solid red; */
}
.textButtonRightArea{
    text-align: right;
    margin-right: 35px;
}

.textButton {
    display: inline-block;

    margin: 0px;
    color: rgb(56, 54, 54);
    text-align: center;
    text-decoration: none;
    border: 0px solid rgb(56, 54, 54);
    background-color:transparent;
    font-size: 16px;
    font-weight: normal;
    word-wrap: none;
    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.textButton:active, .textButton:hover {
    opacity: .7;
    outline: none;
    color: #2698cb;
}
.textButtonLeft {
    text-align: left;
}
.textButtonAutoWidth{
    width:auto;
}



/**********
* content context menu    *
***********/
.menuBackground{
    position: absolute; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(169, 169, 169, 0.665);
    background-color: transparent;
    z-index: 1;
}

.contentContextMenuArea{
    position: absolute;
    display: block;
    width:300px;
    height: fit-content;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2147483647;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;

    width:100%;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-action:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.quick-action.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quick-action.disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
}

.quick-action-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    color: white;
}

.quick-action-text {
    font-size: 14px;
    color: #e4e6ea;
    text-align: center;
    font-weight: 500;
}

/* User Section */
.user-section {
    width:100%;

    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    margin: 20px auto 0px auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    padding: 15px 10px;
    box-sizing: border-box;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 15px;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.user-details {
    flex: 1;
}

.user-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-status {
    color: #9ca3af;
    font-size: 14px;
}

/* Menu Items */
.menu-item {
    display: flex;
    padding: 15px 15px;
    margin: 5px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #e4e6ea;
    font-size: 14px;
    font-weight: 500;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.menu-item-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    flex-shrink: 0;
    opacity: 0.8;
}

.menu-item:hover .menu-item-icon:not(.disabled) {
    opacity: 1;
}

.menu-item-text {
    flex: 1;
    text-align: left;
}

.close-button {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.977); /* 평상시엔 은은하게 */
    background: rgba(30, 29, 29, 0.705);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-button svg {
    width: 18px;
    height: 18px;
}

.close-button:hover {
    background: rgba(239, 68, 68, 0.8); /* 호버 시 살짝 붉은 빛 */

    transform: rotate(90deg); /* 회전 애니메이션 추가 */
}








/**********
* Progress Area    *
***********/
.progressArea {
    position: fixed;
    z-index: 2147483647;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    pointer-events: auto;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 0 20px 0;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;

    background: rgba(0, 0, 0, 0.0);

}

.progressArea.show {
    visibility: visible;
    opacity: 1;
}

.progress-toast {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(8px);
    margin-bottom:30px;
    padding: 12px 20px;

    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    display: flex;
    align-items: center;
    gap: 12px;

    pointer-events: auto;
    max-width: 90%;

    transform: translateY(100px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progressArea.show .progress-toast {
    transform: translateY(0);
}

.progress-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffa516;
    animation: progress-spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes progress-spin {
    100% { transform: rotate(360deg); }
}

#progress-message {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin: 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 600px;

    opacity: 1;
    transition: opacity 0.3s ease;

    user-select: none;
    -webkit-user-select: none;
    -webkit-app-region: none;
}

#progress-message.updating {
    opacity: 0.6;
}















/**********
* Snackbar Area *
***********/
/* 토스트 스택 컨테이너 (모든 토스트가 쌓일 곳) */
.toast-stack-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 2147483647;
    pointer-events: none;

    /* --- 모바일 화면에서 최대 너비 조정 --- */
    /* 뷰포트 너비 (100vw)에서 좌우 각 10px(총 20px) 여백을 뺀 값으로 설정 */
    max-width: calc(100% - 20px); /* 화면 너비를 기준으로 계산 */
    width:100%;

    align-items: center;
}

/* 개별 토스트 박스 스타일 */
.toast-box {
    background-color: rgba(51, 51, 51, 0.9);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    max-width: auto;
    min-width: auto; /* 필요하다면 최소 너비를 고정 값으로 설정 (예: 200px) */

    text-align: center;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    pointer-events: auto;
    cursor: pointer;
}

/* 토스트 박스 등장/사라지는 애니메이션 및 중요도 색상 (변경 없음) */
.toast-box.show { opacity: 1; transform: translateY(0); }
.toast-box.hide { opacity: 0; transform: translateY(20px); }
.toast-box.info { background-color: rgba(33, 149, 243, 0.984); }
.toast-box.success { background-color: rgba(76, 175, 80, 0.9); }
.toast-box.warning { background-color: rgba(255, 152, 0, 0.9); }
.toast-box.error { background-color: rgba(244, 67, 54, 0.9); }


/**********
* modify content    *
***********/
.modifyContentAreaContainer {
    display: block;

    width: 100%;
    margin: 0px auto 30px auto;
    box-sizing: border-box;
    border: 0px solid rgb(247, 240, 240);

    line-height: 15px;
    text-align: center;
    font-size: 15px;

    /* border:1px solid blue; */
}
.modifyContentAreaFlexContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 0px auto 10px auto;
    /* border:1px solid blue; */
}


.modifyContentAreaTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 17px;
    font-weight: bold;
    margin-bottom:7px;
    width:100%;
    /* text-align: left; */
    color:#1E1E1E;

    /* border:1px solid red; */
}
.modifyContentAreaTitlePurple{
    color:#45289C;
}

.modifyContentAreaTitleIcon {
    width: 18px;
    height: 18px;

    vertical-align: bottom;
}

.modifyContentAreaTitleDescription{
    font-size: 15px;
    color:#767676;
    font-weight: normal;
}

.modifyContentInputCount{
    font-size: 0.8em;
    color: #666;
}
.modifyContentInputCountRed{
    font-weight: bold;
    color: #c71010;
}

.modifyContentInputArea{
    display:flex;
    justify-content: space-between;
    align-items: top;
    flex-wrap: wrap;
}

.modifyContentInputContainer {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 15px;

    /* border: 1px solid red; */
}

.modifyContentInput {
    display: inline-block;
    border-radius: 7px;
    border: 1px solid #D9D9D9;
    width: 100%;
    height: auto;   /* must be set auto for resizeElement */
    min-height: 30px;
    overflow-y: hidden;
    resize: none;
    box-sizing: border-box;
    padding: 7px 20px 7px 7px;

    line-height: 23px;
    font-size: 15px;
}
.modifyContentInput:focus {
    outline: none;
    box-shadow: none;
    border: 2px solid #4CAF50;
}

.modifyContentInputControl {
    display: block;
    position: absolute;
    right: 7px;
    top: 8px;

    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;

    cursor: pointer;

    border-radius: 50%;
    background-color: whitesmoke;
}





.modifyImageTypeButtonArea {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;


    width:100%;
    padding:10px;
    box-sizing: border-box;

    /* border: #000000 1px solid; */
}
@media (min-width: 600px) {    /* PC */
    .modifyImageTypeButtonArea {
        flex-direction: row;
    }
}
.modifyImageTypeButtonAreaSingleButton{
    width:auto;
    padding:0;
    margin:0px 10px 0 10px;

    /* border:1px solid red; */
}

.modifyImageTypeButton {
    display: inline-block;
    font-size: 15px;
    text-align: center;

    flex-grow: 1;

    border:1px solid #5A5A5A;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 11px 20px 9px 20px;
    margin: 0;
    width: 100%;

    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.modifyImageTypeButton:active, .modifyImageTypeButton:hover {
    opacity: .7;
}

.modifyImageTypeButtonSave {

    display: inline-block;
    width:100%;
    font-size: 14px;
    text-align: right;

    padding: 0px 20px 0px 20px;
    margin: 0;
    box-sizing: border-box;
}

.modifyImageGrid {
    /* display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px; */

    display: flex;
    justify-content: center;
    align-items: center;

    width: calc(100% + 30px);
    margin: 10px -15px 20px -15px;
    padding: 30px 20px 30px 20px;
    box-sizing: border-box;
    background-color: #F5F5F7;

    /* border:1px solid red; */
}
.modifyImageGridNoBack{
    width: 100%;
    margin: 0;
}

.modifyImageArea {
    width: 300px;
    height: auto;
    overflow: hidden;
    margin: 0;

    /* border: 1px solid rgba(54, 8, 161, 0.3); */
}

.modifyImage{
    max-width: calc(100% - 2px);
    max-height: calc(100% - 2px);
    /* object-fit: contain; */

    border-radius: 15px;
}
.modifyImage:active {
    opacity: .5;
}

.modifyImageType {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    line-height: 25px;

    width: 100%;

    margin: 7px 0px 7px 0px;
    padding: 0 10px 0 10px;

    box-sizing: border-box; /* width include padding */

    /* border:1px solid red; */
}

.modifyImageTypeTitle {
    display: inline-block;
    font-size: 17px;

    white-space: nowrap;
    overflow: visible;

    cursor: pointer;

    /* border:1px solid blue; */
}
.modifyImageTypeTitle.selected {
    font-weight: bold;
    color: rgb(7, 32, 100);
}

.modifyContentSelect {
    width: auto;

    text-align: left;


}

/**********
* List Search  *
***********/
.listSearchArea {
    display: flex;
    justify-content: space-between;

    position: relative;
    width: calc(100% - var(--mobile_screen_gap));

    margin: 10px auto 10px auto;
    padding: 0;

    line-height: 30px;

    /* border:1px solid red; */
}

.listSearchKeyword {
    display: inline-block;
    width: 100%;
    height: 40px;

    border-radius: 18px;
    background-color: #F2F2F2;

    font-size: 15px;

    padding:0px 40px 0px 40px;
    box-sizing: border-box;
    margin: 0px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.listSearchKeyword::placeholder{
    color:  #B3B3B3;
    font-style: italic;
}
.listSearchKeyword::-webkit-input-placeholder {
    color:  #B3B3B3;
    font-style: italic;
}
.listSearchKeyword:-ms-input-placeholder {
    color:  #B3B3B3;
    font-style: italic;
}

.listSearchPlaceholderIcon{
    position: absolute;
    left: 15px;
    top: 12px;
    width: 16px;
    height: 16px;
}

.listSearchCancelIcon{
    position: absolute;
    right: 35px;
    top: 12px;
    width: 16px;
    height: 16px;

    cursor: pointer;
}

.listSearchDoneIcon{
    position: absolute;
    right: 15px;
    top: 12px;
    width: 16px;
    height: 16px;

    cursor: pointer;
}

/**********
* List Search Count *
***********/
.listSearchTitleContainer{
    /* border:1px solid blue; */

    width: calc(100% - var(--mobile_screen_gap));

    display: flex;
    align-items: center;
    justify-content: space-between;

    line-height: 20px;
    text-align: center;

    margin: 20px auto 5px auto;
    padding:0;
    box-sizing: border-box;

    /* border:1px solid red; */
}

.listSearchTitle{
    /* border:1px solid red; */

    display:block;
    font-size: 17px;
    font-weight: bold;
    text-align: left;
    white-space: pre-line;
    color: #1E1E1E;
}

.listSearchCount {
    /* border:1px solid red; */

    display:block;
    font-size: 15px;
    text-align: right;
    white-space: pre-line;
    color: #1E1E1E;
    margin: 0px;
}

/**********
* Form Objects    *
***********/
.input-container {
    display: block;
    width: 100%;
    margin: 0px auto 8px auto;
    line-height: 5px;

    /* border:1px solid blue; */
}

.input-container-left{
    text-align: left;
}

.input-container-center{
    text-align: center;
}

.input-container-flex{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;

    width: 100%;
    margin: 10px 0 0 0;
    padding: 0 10px 0 10px;
    box-sizing: border-box;

    /* border:1px solid red; */
}
.input-container-flex-left{
    justify-content:start;
}
.input-container-flex-between{
    justify-content: space-between;
}



.passwordNotice{
    display: inline-block;
    width: 100%;
    white-space: pre-line;
    color: #767676;
    line-height: 1.6;
    font-size: 15px;
    text-align: left;
    padding: 5px 0 0 5px;
}


/* input file box */
.inputFile {
    display: none;
}

/* input box */
input {
    display: inline-block;
    border-radius: 3px;
    border: 1px solid darkgray;
    width: calc(100% - 35px);
    height: 35px;
    font-size: 16px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
input::placeholder{
    color:  rgb(123, 131, 167);
    font-style: italic;
}
input::-webkit-input-placeholder {
    color: rgb(123, 131, 167);
    font-style: italic;
}
input:-ms-input-placeholder {
    color: rgb(123, 131, 167);
    font-style: italic;
}

/* check box */
/* 체크박스 - 둥근 사각형 스타일 */
input[type=checkbox] {
    position: relative;
    cursor: pointer;
    vertical-align: middle;

    /* 기본 체크박스 숨기기 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* 둥근 사각형 스타일 */
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px; /* 부드러운 모서리 */
    background-color: #ffffff;

    /* 부드러운 전환 효과 */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 호버 상태 */
input[type=checkbox]:hover:not(:disabled) {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

/* 체크된 상태 */
input[type=checkbox]:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* 체크된 상태 호버 */
input[type=checkbox]:checked:hover:not(:disabled) {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* 포커스 상태 */
input[type=checkbox]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* 비활성화 상태 */
input[type=checkbox]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
}

/* 체크마크 - 중앙 정렬 */
input[type=checkbox]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;

    /* 체크마크 모양 */
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);

    /* 체크마크 애니메이션 */
    animation: checkmark 0.2s ease-in-out;
}

/* 체크마크 애니메이션 */
@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
    }
    50% {
        height: 10px;
        width: 0;
    }
    100% {
        height: 10px;
        width: 5px;
    }
}

/* radio */
input[type=radio] {
    position: relative;
    cursor: pointer;

    vertical-align: middle;

    border: 1px solid rgb(56, 68, 102);
    -moz-border-radius: 35%;
    -webkit-border-radius: 35%;
    border-radius: 35%;

    background-color:white;

    width: 17px;
    height: 17px;
}
input[type=radio]:checked {
    border: 1px solid rgb(56, 68, 102);
    background-color: #4CAF50; /* 배경색 */
    color: white; /* 글자색 */
}

/* textarea */
textarea {
    display: inline-block;
    border-radius: 3px;
    border: 1px solid darkgray;
    width: calc(100% - 35px);
    height: 80px;
    font-size: 16px;
    padding: 3px;
    margin: 0px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
textarea::placeholder{
    color:  rgb(123, 131, 167);
    font-style: italic;
}
textarea::-webkit-input-placeholder {
    color: rgb(123, 131, 167);
    font-style: italic;
}
textarea:-ms-input-placeholder {
    color: rgb(123, 131, 167);
    font-style: italic;
}

/* select box */
select {
    display: inline-block;
    border-radius: 7px;
    border: 1px solid #D9D9D9;
    background-color: white;
    width: 100%;
    height: auto;
    min-height: 30px;
    overflow-y: hidden;
    resize: none;
    padding: 7px 30px 7px 7px;
    box-sizing: border-box;

    /* line-height: 23px; */
    font-size: 16px;
    color:#333;

    /* 1. 기본 브라우저 화살표 숨기기 */
    -webkit-appearance: none; /* Chrome, Safari 등 */
    -moz-appearance: none; /* Firefox */
    appearance: none; /* 표준 */
    ::-ms-expand {  display: none;    } /* IE 10+ 기본 화살표 숨김 */

    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;

    cursor: pointer;
}
select::placeholder{
    color:  rgb(123, 131, 167);
    font-style: italic;
}
select::-webkit-input-placeholder {
    color: rgb(123, 131, 167);
    font-style: italic;
}
select:-ms-input-placeholder {
    color: rgb(123, 131, 167);
    font-style: italic;
}
select:focus {
    outline: none; /* 포커스 시 아웃라인 제거 */
    box-shadow: none; /* 포커스 시 박스 그림자 제거 */
}
select:disabled {
    color:#CECECE;
}

.selectAutoWidth{
    width: auto;
}

/* label */
label {
    vertical-align: middle;
    margin-left: 3px;
}

.labelCusorPointer{
    cursor: pointer;
}
.labelCusorDisabled{
    color: #CECECE;
}

/*******************
* Service Info List*
********************/
.serviceInfoListArea {
    list-style-type: none; /* Remove bullets */
    padding: 0;
    margin: 0;

    width:100%;
    line-height: 23px;
}

.eachServiceInfoArea {
    /* border: 1px solid blue; */

    width: 100%;
    text-align: left;

    padding: 12px 0 0 0;
    margin-top: -1px; /* Prevent double borders */
    margin-bottom: 0px;

    border-bottom: 0px solid rgb(223, 216, 216);
}
.eachServiceInfoArea:last-child{
    border-bottom: 0px;
}

.eachServiceInfoAreaTitle {
    font-size: 17px;
    font-weight: bold;
    margin-top: 15px;
}

.eachServiceInfoItemIcon {
    width: 15px;
    height: 15px;

    margin: auto 3px auto 0;
    vertical-align: auto;
}

/**********/
/* floating button    */
/***********/
.floatingMoveButtonArea{
    position: fixed;
    cursor: move;
    z-index: 2147483647; /* Sit on top */

    display: flex;
    align-items: center;
    gap: 12px;

    bottom: 83px !important;
    right: 100px !important;
    top: auto !important;
    left: auto !important;
    will-change: transform;

    padding: 12px;
    vertical-align: top;

    /* background-color: rgba(255, 255, 255, 0.95); */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: fit-content;
    height: fit-content;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(0, 0, 0, 0.05);

    border: 1px solid rgba(17, 16, 16, 0.586);
}
.floatingMoveButtonAreaNoTabbar{
    top:auto;
    bottom: 20px;
}

.floatingMoveButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.floatingMoveButton:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.floatingMoveButton:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.floatingMoveButton:focus {
    outline: 2px solid #5985E1;
    outline-offset: 2px;
}

.floatingMoveButtonIcon {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}
.floatingMoveButton:hover .floatingMoveButtonIcon {
    opacity: 1;
}

.icon-left, .icon-right, .icon-close {
    fill: #333;
    opacity: 0.7;
}

.floatingMoveButton:hover .icon-left,
.floatingMoveButton:hover .icon-right,
.floatingMoveButton:hover .icon-close {
    opacity: 1;
}


/******************
/* Terms of Service Area */
.termsServiceArea{
    /* border:1px solid red; */

    display: inline-block;
    width: 100%;
    text-align: left;
    margin-top: 5px;
    padding:0px;
    line-height: 25px;
    color: black;
}

.termsServiceTitle{
    font-weight: bold;
    font-size: 15px;
}

.termsServiceAgreeAll{
    /* border:1px solid blue;  */

    display: inline-flexbox;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 5px;
    padding: 0px;
    text-align: left;
    font-weight: bold;
    font-size: 17px;
}

.termsServiceAgreeDetail{
    border: 1px solid darkgray;

    display: inline-block;

    padding: 15px 18px 13px 18px;
}

.termsServiceAgreeDetailItem{
    /* border:1px solid red;  */

    display: inline-block;

    text-align: left;
    font-size: 15px;

    cursor: pointer;
}

.termsServiceAgreeDetailItemArrow{
    border:1px solid blue;

    display:inline-flex;
    width: 100%;
    text-align: right;
}

.termsIframe{
    border: 1px solid rgb(186, 181, 181);
    width:100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
}

.termsContent{
    white-space: pre-line;
    color: #666;
    line-height: 1.5;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 12px 16px 10px 16px;
    font-size: 15px;
    height: 100%;
    vertical-align: top;
}

/**********
* Image Viewer    *
***********/
.imagesContainer {
    display: inline-block;

    width: 100%;
    max-height: 450px;

    text-align: center;
    overflow-y: auto;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */

    line-height: 25px;

    /* border: 1px solid red; */
}
.imagesContainer::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.eachImageArea {
    display: inline-block;

    text-align: center;

    margin: 0 0 15px 1px;
    padding: 3px 0 0 0;

    /* border: 1px solid blue; */
}

.eachImage {
    max-width: 100%;
    max-height: 300px;
    margin: 0px 0px 0px 0px;
    padding: 0 0 0 0;
}

.eachImage:active {
    opacity: .7;
}

.eachImageTitle {
    /* border: 1px solid red; */

    white-space: pre-line;
    overflow: hidden;
    text-overflow:ellipsis;

    padding: 0 0 0 0;
    margin: 0px 0px 0px 0px;

    font-size: 18px;
    font-weight: normal;
    color: black;
}

.eachImageDescription {

    max-height: 200px;
    overflow-y: auto;
    white-space: pre-line;

    padding: 0 10px 0 10px;
    box-sizing: border-box;
    margin: 30px 0px 0px 0px;

    font-size: 16px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.813);
}


/**********
* Search Condition of app user List    *
***********/
.appUsersSearchConditionArea {
    display: flex;
    justify-content: space-between;

    width: 100%;
    height: 30px;

    margin: 10px auto 10px auto;
    padding: 0 10px 0 10px;
    box-sizing: border-box;

    line-height: 30px;

    display: flex;
    justify-content: space-between;

    /* border: 1px solid red; */
}

.appUsersEachSearchConditionGroup {
    /* border: 1px solid blue; */

    display: block;
    white-space:nowrap;
    text-align: left;

    flex-shrink: 0; /* 줄어들지 않도록 고정 */

    margin: 0 0 0 20px;
    padding: 0;

    cursor: pointer;
}

.appUsersEachSearchCondition {
    /* border: 1px solid orange; */

    display: inline;
    font-size: 17px;
    font-weight: normal;

    margin: auto 0 auto 0;
    padding: 0;
}

.appUsersEachSearchIcon {
    width: 5px;
    height: 5px;

    vertical-align: middle;
}

/**********
* icon wiggle   *
***********/
.wiggle{
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    25% {
      transform: rotate(0.6deg);
    }
    75% {
      transform: rotate(-0.6deg);
    }
}

.wiggleTabbar {
    animation: wiggleTabbar 1s ease-in-out infinite;
    transform-origin: center bottom; /* 흔들림 축을 아래로 */
}

@keyframes wiggleTabbar {
    25% {
      transform: rotate(1deg); /* (기존 3.5deg → 2deg → 1deg)로 재조정 */
    }
    75% {
      transform: rotate(-1deg);
    }
}







/**********
* editing element mark overlay    *
***********/
.editing-element-overlay{
    display: none;

    position: fixed;
    pointer-events: none;
    border: 2px solid #b3a1e4;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.08s ease;
    z-index: 999999999;
}

/**********
* installation button    *
***********/
.install-banner {
    position: fixed;
    max-width: 100vw;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%); /* X축은 중앙, Y축은 숨김 상태 */

    right: auto;
    z-index: 9999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.install-banner.show {
    transform: translateX(-50%) translateY(0);
}

.install-banner.hide {
    transform: translateX(-50%) translateY(-100%);
}

.install-banner-content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.install-banner-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.install-banner-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px;
}

.install-banner-message {
    flex: 1;
    text-align: left;
}

.install-banner-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.install-banner-subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.install-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.install-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.install-btn:active {
    transform: translateY(0);
}

.close-banner-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close-banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 펄스 효과 */
.install-banner.pulse .install-btn {
    animation: buttonPulse 2s ease-in-out;
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .install-banner {
        padding: 12px 16px;
    }

    .install-banner-content {
        flex-wrap: wrap;
    }

    .install-banner-actions {
        width: 100%;
        margin-top: 8px;
    }

    .install-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 13px;
    }
}






/**********
* content toolbar    *
***********/
.contentToolbar {
    position: absolute;
    z-index: 2147483647; /* Sit on top */

    width:fit-content;
    min-width: 300px;
    max-width: 600px;
    height: fit-content;

    margin: 0px 15px 0px 5px;
    padding: 0;
    box-sizing: border-box;
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    background: #F0F0FF;
    border: 1px solid #BAACE4;
    box-shadow: 0px 3px 12px rgba(69, 40, 156, 0.25);
    border-radius: 18px;
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (min-width: 600px) {    /* PC */
    .contentToolbar {
        width:380px;
    }
}

.contentToolbarSubArea {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
    min-height: 40px;

    padding: 13px;
    box-sizing: border-box;

    /* border:1px solid red; */
}

.contentToolbarSubAreaPopup {
    background-color: #E7E7FE;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
}

.contentToolbarSubTitleArea{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    gap: 10px;
    width:100%;
}

.contentToolbarSubTitle{
    display: flex;
    align-items: center; /* 세로 중앙정렬 */
    gap: 6px; /* 아이콘과 텍스트 간격 */

    color:#333333;
    font-weight: bold;
}

.contentToolbarCloseButton {
    cursor: pointer;
}

.contentToolbarButton {
    display: flex;
    justify-content: center;
    align-items: center; /* 세로 중앙정렬 */
    gap: 6px; /* 아이콘과 텍스트 간격 */

    position: relative;

    width:calc(50% - 10px);

    color: #6043B9;
    padding: 10px 14px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;

    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E0DAFF;
    box-shadow: 0px 2px 8px rgba(224, 218, 255, 0.45);
    border-radius: 20px;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.contentToolbarButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contentToolbarButton:hover::before {
    left: 100%;
}

.contentToolbarButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.contentToolbarButton:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.contentToolbarButtonDot {
    position:absolute;
    right:20px;
    top: 50%;           /* 부모 높이의 절반 위치 */
    transform: translateY(-50%); /* 정확히 세로 중앙 맞추기 */
}
.contentToolbarButtonDotSelected {
    right:10px;
}

.contentToolbarPopupButton {
    border: 1px solid #BAACE4;
    box-shadow: 0px 2px 8px #D2CCF9;
}

.contentToolbarSubAreaFooter {
    width:100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;

    margin-top: 10px;
}

.contentToolbarSubAreaFooterButton {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    font-weight: 600;
    color: #6043B9;

    cursor: pointer;
}

.contentToolbarSubAreaFooterButton:hover {
    transform: translateY(-2px);
}

.contentToolbarSubAreaFooterButton:active {
    transform: translateY(0);
}


.toolbar-divider {
    width:100%;
    height: 0px;
    flex-shrink: 0;
}

.contentToolbarInput {

    min-width: 250px;
    width:100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contentToolbarInput:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.contentToolbarInputSize {
    flex: 0 0 70px;
    min-width: 70px;
    text-align: center;
}

.size-separator {
    color: #667eea;
    font-weight: bold;
    font-size: 16px;
    margin: 0 8px;
    flex-shrink: 0;
}


/*******************/
/* modal popup classes */
.modal {
    position: fixed;
    z-index: 2147483647;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.337);

    display: flex;
    justify-content: center;
    align-items: center;

    padding:15px;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

/* Modal Content - AI Style */
.modal-content {
    position: relative;

    display: flex;
    flex-direction: column;

    background: rgb(255, 255, 255);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.6) inset;

    /* width: 100%; */
    max-width: var(--popup_max_width);
    min-width: 350px;
    max-height: 100%;

    overflow-y: auto; /* Enable scroll if needed */
    overflow-x: hidden;

    text-align: center;

    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center bottom;
}
.modal-content::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}
@media (min-width: 600px) {    /* PC */
    .modal-content {
        min-width: 400px;
    }
}

.modal-content-full {
    position: fixed;

    display: flex;
    flex-direction: column;  /* 위에서 아래로 배치 */
    width: 100%;
    max-width: var(--popup_max_width);
    height: 100%;

    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.modal-content-wide {
    width: 100%;
}

.modal-content-bottom {
    animation: slideUpFromBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUpFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content-right {
    position: fixed;
    height: 100%;
    width: max-content;
    right:0;
    margin-top: -1px;
    margin-right: -1px;

    border-radius: 24px 0 0 24px;
    -webkit-animation-name: animateright;
    animation-name: animateright;
}

@-webkit-keyframes animateright {
    from {right: -300px; opacity: 0}
    to {right: 0px; opacity: 1}
  }

@keyframes animateright {
    from {right: -300px; opacity: 0}
    to {right: 0px; opacity: 1}
}

/* AI Style Header */
.modal-header {
    padding: 32px 28px 0 28px;
    text-align: center;
    background: transparent;
    border: none;
    position: relative;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

.actionButtonIcon {
    width: 20px;
    height: 20px;
    padding: 3px;
    animation: pulse 2s infinite;
}

.followerRuleButtonIcon {
    width: 15px;
    height: 15px;
    padding: 0px;
    vertical-align: top;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* AI Style Body */
.modal-body {
    display: block;

    position: relative;

    padding: 24px 28px;
    box-sizing: border-box;
    text-align: center;
}
.modal-body::-webkit-scrollbar {
    display: none;
}

.modal-body-full {
    width: 100%;
    height: 100%;

    overflow-y: hidden;
    padding: 0;
    margin: 0;
}

/* AI Style Button Area */
.buttonVerticalSpace {
    display: block;
    position: relative;

    margin: 0px;
    padding: 0px;

    height: 20px;
    width: 100%;

    /* border:1px solid red; */
}

.actionButtonArea {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 28px 32px 28px;
    box-sizing: border-box;

    border: 1px solid white;
    background-color: white;

    position: sticky;
    bottom:0px;
}

.actionButton {
    width:100%;
    height: 45px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* No Button - Secondary Style */
.actionButton:first-child {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.actionButton:first-child:hover {
    background: rgba(107, 114, 128, 0.15);
    color: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.15);
}

/* Yes Button - Primary AI Style */
.actionButton:last-child {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.actionButton:last-child:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #5b52e8 0%, #8b44f0 100%);
}

.actionButton:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

/* Ripple Effect */
.actionButton::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.actionButton:active::before {
    width: 300px;
    height: 300px;
}

/* Confirm Text */
.confirmText {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}



/*****************/
/* 플로팅 메인 버튼 */
.floating-main-btn {
    position: fixed;
    bottom: 90px !important;
    right: 30px !important;
    top: auto !important;
    left: auto !important;
    will-change: transform;

    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2147483646;
    border: none;
}
.floating-main-btn-no-tab{
    bottom: 30px;
}

.floating-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.floating-main-btn.visible {
    transform: rotate(45deg);
}

.floating-main-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

/* 메뉴 컨테이너 */
.floating-menu {
    position: fixed;

    bottom: 160px !important;
    right: 30px !important;
    top: auto !important;
    left: auto !important;
    will-change: transform;

    height: fit-content;
    width: fit-content;

    display: flex;
    flex-direction: column;
    gap: 12px;

    cursor: pointer;
    z-index: 2147483646;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.floating-menu-no-tab{
    bottom: 100px;
}

.floating-menu.visible {
    opacity: 1;
    pointer-events: all;
}

/* 메뉴 아이템 */
.floating-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-menu.visible .floating-menu-item {
    transform: translateY(0);
    opacity: 1;
}

.floating-menu-label {
    display: none;

    background: rgba(0, 0, 0, 0.75);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-menu-item:hover .floating-menu-label {
    display: inline-block;

    opacity: 1;
    transform: translateX(0);
}

.floating-menu-btn {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.floating-menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.floating-menu-btn svg {
    width: 20px;
    height: 20px;
    stroke: #667eea;
    stroke-width: 2.5;
    fill: none;
}

.floating-menu-btn.guide svg        { stroke: #a855f7; } /* 보라색 (가이드, 팁) */
.floating-menu-btn.notification svg { stroke: #f59e0b; } /* 주황/앰버 (알림, 주의) */
.floating-menu-btn.share svg        { stroke: #60a5fa; } /* 하늘색 (연결, 공유) - 유지 */
.floating-menu-btn.add-content svg   { stroke: #34d399; } /* 에메랄드 (긍정, 생성) - 유지 */
.floating-menu-btn.palette svg      { stroke: #2F80ED; } /* 노란색 (창의, 시각) - 유지 */
.floating-menu-btn.refresh svg      { stroke: #10b981; }/* 민트 그린 */
.floating-menu-btn.viewmode svg     { stroke: #6366f1; }/* 인디고 */
.floating-menu-btn.file-manager svg { stroke: #3b82f6; }/* 파일 관리자 전용 색상 (로열 블루 계열) */
.floating-menu-btn.settings svg     { stroke: #9ca3af; } /* 회색 (중립, 도구) - 유지 */
.floating-menu-btn.close svg        { stroke: #f87171; } /* 부드러운 빨간색 (닫기) - 유지 */






/* toolbar context menu */
.context-menu-container {
    position: absolute; /* dont use fixed because it is not scrollable */
    left:0px;
    top:0px;
    z-index: 2147483647; /* Sit on top */

    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* width: 100%; */
    max-width: 448px;
    /* max-height: 70vh; */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #e5e7eb;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.context-menu-search-container {
    padding: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.context-menu-search-wrapper {
    position: relative;
}

.context-menu-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #9ca3af;
}

.context-menu-search-input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    background: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #111827;
    outline: none;
}

.context-menu-search-input:focus {
    background: #f9fafb;
}

.context-menu-search-input::placeholder {
    color: #9ca3af;
}

.context-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}

.context-menu-category {
    padding: 4px 0;
}

.context-menu-category-title {
    padding: 6px 9px;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    color:#003f8f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;

    display: flex;            /* Flexbox 활성화 */
    align-items: center;      /* 세로 중앙 정렬 */
    justify-content: space-between; /* 필요 시 텍스트와 아이콘을 양끝으로 배치 */
    gap: 4px;                 /* 텍스트와 화살표 간격 */
}

/* 기본 숨김 상태 */
.context-menu-item-hidden-group {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition:
        max-height 0.25s ease,
        opacity 0.2s ease,
        transform 0.25s ease;
}

/* 모바일·터치 환경에서 JS 토글 시 열림 */
.context-menu-item-show-group {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

/* 기본 화살표 스타일 */
.context-menu-title-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
    margin-left: 6px;
    cursor: pointer;
}

/* 열렸을 때 회전 */
.context-menu-title-arrow-open {
    transform: rotate(-90deg);
}





.context-menu-item {
    width: 100%;
    padding: 6px 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 100ms;
    text-align: left;
}

.context-menu-item:hover {
    background: #f3f4f6;
}

.context-menu-item-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.context-menu-item-icon {
    width: 16px;
    height: 16px;
    color: #6b7280;
    flex-shrink: 0;
}

.context-menu-item:hover .context-menu-item-icon {
    color: #374151;
}

.context-menu-item-label {
    font-size: 14px;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.context-menu-item:hover .context-menu-item-label {
    color: #111827;
}

.context-menu-item-shortcut {
    font-size: 12px;
    color: #9ca3af;
    font-family: 'Courier New', monospace;
    margin-left: 8px;
    flex-shrink: 0;
}

.context-menu-item-separator {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 12px;
}

/* URL 입력 모달 */
.url-input-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
}

.url-input-popup-content {
    background: white;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 12px;
    width: 400px;
    max-width: calc(100% - 40px);
}

.url-input-popup-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.url-input-popup-select {
    width: 100%;
    /* height:20px; */
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.url-input-popup-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.url-input-popup-input-note {
    font-size: 13px;
    color: #888;
    text-align: left;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.url-input-popup-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.url-input-popup-button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.url-input-popup-button.cancel {
    background: #6c757d;
    color: white;
}

.url-input-popup-button.cancel:hover {
    background: #5a6268;
}

.url-input-popup-button.confirm {
    background: linear-gradient(135deg, #4F46E5 0%, #818CF8 100%);
    color: white;
}

.url-input-popup-button.confirm:hover {
    background: linear-gradient(135deg, #3730A3 0%, #4F46E5 100%);
}