

/*우편번호팝업*/
.layerpost{background:url('../popup/images/bg_poppost.png') no-repeat; width:475px; height:473px;  position:absolute; top:0px; left:0;}
.post_tit{padding-top:18px; margin-left:23px;}
.post_tab{width:445px; height:27px; margin:0 auto; margin-top:35px; border-bottom:1px solid #0286ca; overflow:hidden;}
.post_tab li{float:left;display:inline;}
.post_tab li a img{display:none;}
.post_tab1{width:111px; height:27px;}
.post_tab1 a{display:block; background:url('../popup/images/post_tab1.png') no-repeat; height:27px;}
.post_tab1 a.on{display:block; background:url('../popup/images/post_tab1on.png') ;height:27px;}
.post_tab2{width:111px; height:27px;}
.post_tab2 a{display:block; background:url('../popup/images/post_tab2.png') no-repeat; height:27px;}
.post_tab2 a.on{display:block; background:url('../popup/images/post_tab2on.png') ;height:27px;}
.post_section1{width:445px; margin-left:19px;}
.post_section2{width:445px; margin-left:19px;}
.post_text{margin-top:17px;}
.post_search{ position:relative; width:435px; height:54px; background:#e8e8e8; position:relative;}
.post_input{width:181px; height:13px; padding:4px; line-height:18px; border:1px solid #e3e3e3; border-top:1px solid #c4c4c4; border-left:1px solid #c4c4c4;}

.post_area{height:30px; padding-top:15px; margin-left:42px;}
.post_area img{vertical-align:top;}
.post_area select{height:23px;vertical-align:top;}

.search_area{width:435px; height:163px; border-top:2px solid #37393d;}
.search_list{width:432px;height:125px; overflow-x:hidden; overflow-y:scroll; border:1px solid #c4c4c4; clear:both;}
.post_num{width:45px;line-height:18px; padding:8px 10px 4px 22px;}
.post_address{width:280px;line-height:18px; padding:8px 10px 4px 22px;}
.pop_close{width:115px; margin:0 auto; margin-top:28px}


/*반려 사유*/
.layer_return{background:url('../popup/images/bg_poppost.png') no-repeat; width:475px; height:348px;}
.post_tit{padding-top:18px; margin-left:23px;}
.return_text{margin-top:47px; margin-left:30px;}
.return_area{width:435px; height:432px; height:142px; background:#e8e8e8; margin:0 auto; margin-top:10px; overflow:auto;}
.return_textarea{padding:15px;}
.return_confirm{width:114px; margin:0 auto;margin-top:34px;}

/*회원탈퇴*/
.layer_dropout{background:url('../popup/images/bg_poppost.png') no-repeat; width:100%; height:auto;}
.dropout_text{margin-top:44px; /* margin-left:28px; */ text-align: center; clear:both;}
.dropout_area{margin-top:15px;/* padding-left:29px; */ height:25px; display: flex;
    justify-content: center;}
.dropout_input{width:179px; line-height:12px; height:15px; padding:4px 2px 2px 2px;float:left; display:inline-block; border:1px solid #e3e3e3; border-top:1px solid #c4c4c4; border-left:1px solid #c4c4c4; }
.dropout_area img{vertical-align:top;float:left;margin-left:5px;display:inline-block;}

/*기존필증내용 불러오기 */
.layer_existing{background:url('../popup/images/bg_poppost.png') repeat-x; width:545px; height:358px;}
.existing_text{margin-top:44px; margin-left:23px;}
.existing_area{width:505px; height:187px; margin:0 auto; border-top:2px solid #37393d; border-bottom:1px solid #c3c3c3;}
.existing_area table td{text-align:center; padding-top:9px; padding-bottom:10px; border-bottom:1px solid #e3e3e3; color:#777;}

/*Q&A pw  팝업 */
.layer_qapw{background:url('../popup/images/bg_poppost.png') repeat-x; width:322px; height:168px;}


#aducationPopup {
    position: absolute;
    z-index: 1000;
}

#aducationPopup .popup-content {
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

#aducationPopup .popup-image-area {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 실제 이미지 크기로 보여주기 (이미지 사이즈에 맞춰 조절됨) */
#aducationPopup .popup-bg {
    width: auto;
    height: auto;
    background-image: url('/images/popup/new_popup2.png'); /* 업로드한 원본 이미지 */
    background-size: 100% 100%; /* 원본 비율 유지 없이 꽉 채우기 */
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 600px;   /* 실제 업로드된 이미지의 width */
    height: 790px;  /* 실제 업로드된 이미지의 height */
}

/* 버튼이 이미지 위에 겹치도록 */
#aducationPopup .popup-button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin: 0;
}

#aducationPopup .btn-apply {
    display: inline-block;
    padding: 12px 32px;
    background-color: #0066cc;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* 닫기 영역 */
#aducationPopup .layerclose {
    text-align: right;
    font-size: 14px;
}

#aducationPopup .layerclose .btn_check {
    margin-right: 10px;
}

#aducationPopup .layerclose a {
    color: #333;
    text-decoration: underline;
    margin-left: 5px;
}

#seminarPopup {
    position: absolute;
    z-index: 1000;
}

#seminarPopup .popup-content {
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

#seminarPopup .popup-image-area {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 실제 이미지 크기로 보여주기 (이미지 사이즈에 맞춰 조절됨) */
#seminarPopup .popup-bg {
    width: auto;
    height: auto;
    background-image: url('/images/popup/ai_popup.png'); /* 업로드한 원본 이미지 */
    background-size: 100% 100%; /* 원본 비율 유지 없이 꽉 채우기 */
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 600px;   /* 실제 업로드된 이미지의 width */
    height: 790px;  /* 실제 업로드된 이미지의 height */
}

#cardPopup .popup-bg {
    width: auto;
    height: auto;
    background-image: url('/images/popup/new_cardPop.png'); /* 업로드한 원본 이미지 */
    background-size: 100% 100%; /* 원본 비율 유지 없이 꽉 채우기 */
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 600px;   /* 실제 업로드된 이미지의 width */
    height: 420px;  /* 실제 업로드된 이미지의 height */
}


/* 버튼이 이미지 위에 겹치도록 */
#seminarPopup .popup-button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin: 0;
}

#seminarPopup .btn-apply {
    display: inline-block;
    padding: 20px 70px;
    /* background-color: #0066cc; */
    color: #07071E;
    font-weight: 700;
    text-decoration: none;
    font-family: normal;
    border-radius: 5px;
    font-size: 24px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border-radius: 60px;
    background: linear-gradient(94deg, #00CFFF 15.21%, #2BEBBD 91.53%);
}

/* 닫기 영역 */
#seminarPopup .layerclose {
    text-align: right;
    font-size: 14px;
}

#seminarPopup .layerclose .btn_check {
    margin-right: 10px;
}

#seminarPopup .layerclose a {
    color: #eee;
    text-decoration: underline;
    margin-left: 5px;
}


.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-arrow {
    margin-left: 28%;
    font-size: 15px;
    transition: transform 0.3s ease;
    color: #eee;
    -webkit-text-stroke: 2px #000;  /* 웹킷 브라우저용 */
}

.dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    margin-top: 2px;
}

.dropdown-container.active .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    font-family: 'NotoSans';
    background: #999;
    border-color: #999;
    color: #eee;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    opacity: 1;
    background: #0291c5;
    border-color: #0291c5;
    color: #eee;
}

.ai_landing { position: relative; width: 100%; line-height: 0; padding-top: 5rem; }
.ai_landing_img { display: block; width: 100%; height: auto; }
.ai_landing_btn { position: absolute;
                    left: 50%;
                    bottom: 5%;
                    transform: translate(-50%, 0);
                    z-index: 100; 
                }
.ai_landing_btn .btn-apply {
    display: inline-block;
    padding: 40px 100px;
    background: linear-gradient(94deg, #00CFFF 15.21%, #2BEBBD 91.53%);
    color: #07071E;
    font-weight: 700;
    font-size: 28px;
    font-family: Pretendard;
    text-decoration: none;
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.ai_landing_btn .btn-apply {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .ai_landing_btn {bottom: 4%;}
    .ai_landing_btn .btn-apply { padding: 30px 70px; font-size: 24px; }
}

/* 모바일 팝업 대응 */
@media (max-width: 768px) {
    #aducationPopup,
    #seminarPopup,
    #cardPopup {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 90vw;
        max-width: 600px;
    }

    #aducationPopup .popup-content,
    #seminarPopup .popup-content,
    #cardPopup .popup-content {
        width: 100%;
    }

    #aducationPopup .popup-bg,
    #seminarPopup .popup-bg {
        width: 100%;
        height: auto;
        aspect-ratio: 600 / 790;
        background-size: cover;
    }

    #cardPopup .popup-bg {
        width: 100%;
        height: auto;
        aspect-ratio: 600 / 420;
        background-size: cover;
    }

    #aducationPopup .popup-button,
    #seminarPopup .popup-button {
        bottom: 5%;
    }

    #aducationPopup .btn-apply,
    #seminarPopup .btn-apply {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 2026 긴급 보안 업데이트 공지 팝업 */
#securityPopup2026 {
    position: absolute;
    z-index: 1000;
}

#securityPopup2026 .popup-content {
    position: relative;
    display: block;
    padding: 0;
}

#securityPopup2026 .popup-image-area img {
    display: block;
    width: 600px;   /* 실제 이미지 width */
    height: auto;   /* 600 x 989 */
}

#securityPopup2026 .layerclose {
    padding: 9px 15px 0;
    text-align: right;
    font-size: 14px;
    color: #fff;
}

#securityPopup2026 .layerclose .btn_check {
    margin-right: 10px;
    color: #fff;
}

#securityPopup2026 .layerclose a {
    color: #fff;
    text-decoration: underline;
    margin-left: 5px;
}

@media (max-width: 768px) {
    #securityPopup2026 {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 90vw;
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
    }

    #securityPopup2026 .popup-image-area img {
        width: 100%;
    }
}

/* 2026 하반기 광고심의교육 안내 팝업 */
#eduPopup2026 {
    position: absolute;
    z-index: 1000;
}

#eduPopup2026 .popup-content {
    position: relative;
    display: block;
    padding: 0;
}

#eduPopup2026 .edu-popup-box {
    box-sizing: border-box;
    width: 600px;
    max-width: 100%;
    padding: 24px 48px 40px;
    background: #fff;
    border: 16px solid #0186c9;
}

#eduPopup2026 .edu-popup-logo {
    text-align: center;
}

#eduPopup2026 .edu-popup-logo img {
    width: 240px;
    height: auto;
}

#eduPopup2026 .edu-popup-title {
    margin-top: 22px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    text-align: center;
}

#eduPopup2026 .edu-popup-info {
    margin-top: 24px;
    font-size: 12px;
    line-height: 20px;
    color: #000;
}

#eduPopup2026 .edu-popup-info strong {
    font-weight: 700;
}

#eduPopup2026 .edu-popup-table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    table-layout: fixed;
}

#eduPopup2026 .edu-popup-table th,
#eduPopup2026 .edu-popup-table td {
    border: 1px solid #e7e7e7;
    font-size: 12px;
    text-align: center;
}

#eduPopup2026 .edu-popup-table thead th {
    height: 28px;
    background: #ceefff;
    font-weight: 700;
    font-size: 11.5px;
}

#eduPopup2026 .edu-popup-table tbody th {
    height: 48px;
    font-weight: 400;
}

#eduPopup2026 .edu-popup-table tbody td {
    height: 48px;
    padding: 4px 8px;
    line-height: 19px;
}

#eduPopup2026 .edu-popup-table tbody td strong {
    font-weight: 700;
}

#eduPopup2026 .edu-popup-note {
    margin-top: 8px;
    font-size: 10px;
    line-height: 20px;
    color: #000;
}

#eduPopup2026 .edu-popup-list {
    margin-top: 16px;
}

#eduPopup2026 .edu-popup-list li {
    position: relative;
    padding-left: 16px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    color: #000;
}

#eduPopup2026 .edu-popup-list li + li {
    margin-top: 3px;
}

#eduPopup2026 .edu-popup-list li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 8.5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #000;
}

#eduPopup2026 .edu-popup-list li.edu-popup-list-mark::before {
    content: "※";
    width: auto;
    height: auto;
    top: 0;
    left: 0;
    border-radius: 0;
    background: none;
    font-size: 12px;
}

#eduPopup2026 .edu-popup-list-sub {
    font-weight: 500;
}

#eduPopup2026 .edu-popup-list a {
    color: #0286c9;
    text-decoration: underline;
}

#eduPopup2026 .edu-popup-button {
    margin-top: 24px;
    text-align: center;
}

#eduPopup2026 .btn-apply {
    display: inline-block;
    padding: 9px 78px;
    background: #0286c9;
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}

#eduPopup2026 .layerclose {
    padding: 9px 15px 0;
    text-align: right;
    font-size: 14px;
    color: #fff;
}

#eduPopup2026 .layerclose .btn_check {
    margin-right: 10px;
    color: #fff;
}

#eduPopup2026 .layerclose a {
    color: #fff;
    text-decoration: underline;
    margin-left: 5px;
}

@media (max-width: 768px) {
    #eduPopup2026 {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 90vw;
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
    }

    #eduPopup2026 .edu-popup-box {
        width: 100%;
        padding: 20px 20px 28px;
        border-width: 10px;
    }

    #eduPopup2026 .edu-popup-logo img {
        width: 180px;
    }

    #eduPopup2026 .edu-popup-title {
        font-size: 15px;
    }

    #eduPopup2026 .edu-popup-table th,
    #eduPopup2026 .edu-popup-table td {
        font-size: 11px;
    }

    #eduPopup2026 .btn-apply {
        padding: 10px 40px;
        font-size: 15px;
    }
}


