/* 로그인 페이지 스타일 */
body {
    background: #fff;
}

.login-container {
    padding: 20px;
}

/* 전화번호 입력 폼 */
.auth-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.auth-input-container input[type='text'],
.auth-input-container input[type='password'] {
    border: none !important;
}
.auth-input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 15px;
    outline: none;
    width: 100%;
}

.input-clear-btn {
    border: none;
    background: none;
    padding: 5px;
    color: #999;
    cursor: pointer;
    display: none;
}

.country-select {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 10px;
    border-left: 1px solid #ddd;
    cursor: pointer;
    width: 85px;
}

.country-select img {
    width: 24px;
    height: 16px;
    object-fit: cover;
}

.country-select span {
    font-size: 14px;
    color: #333;
}

.country-select i {
    font-size: 12px;
    color: #666;
}

/* 마케팅 동의 체크박스 */
.marketing-consent {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

label[for='login_auto_login'] {
    color: var(--text-2);
}
.chk input[type='checkbox'] {
    min-width: 20px;
	align-self: flex-start;
}
.consent-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-text {
    color: var(--text-2);
    line-height: 1.4;
}

/* 로그인 버튼 */
.login-btn {
    width: 100%;
    height: 48px;
    background: #00b7d8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.login-btn:disabled {
    background: #ddd;
    cursor: not-allowed;
}

/* 로그인 링크 */
.login-links {
    margin-top: 20px;
    text-align: center;
}

.login-links a {
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

/* 로그인 폼 */
.login-form {
    margin-bottom: 20px;
}

.login-input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: var(--primary);
    outline: none;
}

.login-options {
    display: flex;
    margin: 15px 0;
}

.save-id {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.save-id input[type='checkbox'] {
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* 로그인 링크 */
.login-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 30px;
    font-size: 14px;
}

.login-links span {
    color: #ddd;
}

/* SNS 로그인 */
.sns-login {
    margin-top: 30px;
}

.divider {
    text-align: center;
    color: var(--text-2);
    position: relative;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background-color: #e0e0e0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.sns-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sns-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background-color: transparent;
}

.sns-btn img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.sns-btn span {
    flex-grow: 1;
    text-align: left;
    font-size: 15px;
    color: #333;
    font-weight: 400;
}

/* SNS 버튼 개별 스타일 */
.sns-btn {
    /* border: none; 삭제 */
}

.sns-btn.kakao img {
    filter: none;
}

.sns-btn.naver img {
    filter: none;
}

.sns-btn.google img {
    filter: none;
}

.sns-btn.apple img {
    filter: none;
}

.sns-btn.facebook img {
    filter: none;
}

/* 공통 팝업 스타일 */
.country-popup,
.region-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    background: #fff;
    z-index: 1000;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: bottom 0.3s ease-in-out;
    display: none;
}

.country-popup.show,
.region-popup.show {
    bottom: 0;
}

.country-popup .popup-content,
.region-popup .popup-content {
    height: 100%;
    overflow-y: auto;
}

.country-popup .popup-header,
.region-popup .popup-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.country-popup .close-btn {
    display: none;
}

.country-popup .popup-header h2,
.country-popup .popup-header h3,
.region-popup .popup-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* 검색 영역 통일 */
.country-search,
.region-search {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.country-search .search-input,
.region-search .search-input {
    width: 100%;
    height: 40px;
    padding: 0 16px 0 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

.country-search i,
.region-search i {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 15px;
    z-index: 99;
}

.country-search .search-input::placeholder,
.search-input::placeholder {
    color: #999;
}

/* 리스트 영역 통일 */
.country-list,
.region-list {
    height: 450px;
    overflow-y: auto;
    padding: 10px 0;
}

.country-item,
.region-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.country-item:last-child,
.region-item:last-child {
    border-bottom: none;
}

.country-item:active,
.region-item:active {
    background: #f5f5f5;
}

/* 국가 아이템 특수 스타일 */
.country-item img,
.region-item img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    margin-right: 15px;
}

.country-item .country-name {
    flex: 1;
}

.country-item .country-code {
    color: #666;
}

/* 지역 선택 */
.region-selector {
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
}

.region-label {
    font-size: 15px;
    color: #666;
}

.region-select {
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.selected-region {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.region-select i {
    position: static;
    color: #666;
    font-size: 12px;
    margin-left: 4px;
}

/* 팝업 배경 오버레이 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show,
.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slider-indicator {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 12px;
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.slider-indicator span {
    color: rgba(255, 255, 255, 0.8);
}

.guest-login-form-section {
    margin-bottom: 16px;
}
.guest-login-form-section label {
    font-weight: 500;
    color: #222;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}
.guest-login-form-section .required {
    color: var(--primary);
}
.guest-login-form-section .guest-input,
.guest-login-form-section select {
    width: 100%;
    height: 35px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    margin-bottom: 0;
}
.guest-login-form-section .guest-input:focus,
.guest-login-form-section select:focus {
    border-color: var(--primary);
    outline: none;
}
.guest-login-form-section .input-row {
    display: flex;
    gap: 8px;
}
.guest-login-form-section .input-row > * {
    flex: 1;
}
.guest-login-form-section .info-box {
    background: #fafafa;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
}
.guest-login-form-section .checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
    gap: 8px;
}
.guest-login-form-section .checkbox-label b {
    margin-right: 2px;
}
.guest-login-form-section .section-title {
    margin: 18px 0 8px;
    font-weight: bold;
    color: #222;
}
.guest-login-btn {
    width: 100%;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}
.guest-login-btn:disabled {
    background: #ddd;
    cursor: not-allowed;
}
.guest-shipping-section {
    margin: 40px 0 0 0;
    border-top: 8px solid #f5f5f5;
    padding-top: 32px;
}
.guest-shipping-section .section-title {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 18px;
}
.guest-shipping-section .checkbox-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-bottom: 18px;
    gap: 8px;
}
.guest-shipping-section .input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.guest-shipping-section .input-row > * {
    flex: 1;
}
.guest-shipping-section .zipcode-btn {
    background: #666;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    height: 48px;
    cursor: pointer;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.login-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.login-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: bold;
}

.login-content {
    display: none;
}

.login-content.active {
    display: block;
}

.guest-login-form {
    margin-bottom: 20px;
}

.guest-input {
    width: 100%;
    height: 35px;
    padding: 0 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.guest-input:focus {
    border-color: var(--primary);
    outline: none;
}

.guest-login-btn {
    width: 100%;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.guest-login-btn:disabled {
    background: #ddd;
    cursor: not-allowed;
}
.popup.pop_contract {
    z-index: 1000;

}
.pop_contract .pop_container {

}
.pop_contract .content_container{
	max-height: none !important;
}
.pop_contract.active {
    opacity: 1;
    visibility: visible;
}


/*.pop_contract .content_container > div{
	display: flex;
	flex-direction: column;
}*/


.pop_contract table {
    margin-top: 10px;
}
/*이용약관*/

.panel {
    border: none;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}

.pop_contract  .scroll-y{
	overflow-y: auto;
    max-height: calc(var(--vh, 1vh) * 100 - 150px);

}

.panel:last-child {
    margin-bottom: 0;
}
.panel .panel-heading {
    padding: 0 0 10px;
}
.panel .panel-heading strong {
    font-size: 1rem;
}

.register-term {
    color: var(--text-2);
}

.terms-container {
    background: white;
    width: 400px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.terms-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.terms-description {
    color: #999;
    margin-bottom: 20px;
}

.terms-list {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.terms-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.terms-item input {
    margin-right: 10px;
}

.terms-item label {
    flex-grow: 1;
}

.terms-item .required {
    display: inline !important;
    color: var(--primary);
    font-size: 12px;
    background-image: none !important;
}

.terms-footer {
    margin-top: 20px;
    text-align: center;
}

.agree-btn {
    background-color: #ff6f61;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.agree-btn:hover {
    background-color: var(--primary);
}

.cancel-btn {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.cancel-btn:hover {
    background: var(--bg);
}

#fregister {
    display: block;
    margin: 0 auto;
}

.alert.alert-info {
    font-size: 1.2em;
    margin: 30px 0;
    color: var(--primary);
    text-align: center;
}

.panel-heading strong {
    font-size: 1.3em;
    font-weight: bold;
}

.page-content ol {
    padding: 0 10px;
}
.form-group + .form-group {
    margin-top: 10px;
}

.required_txt,
.option_txt {
    display: inline !important;
}

.required_txt {
    color: var(--primary);
}

.option_txt {
    color: #999;
}

.terms-btn-wrapper {
    display: flex;
    gap: 10px;
    background-color: #fff;
    padding-top: 20px;
	margin-top: auto;
}

.terms-btn-wrapper button {
    height: 40px;
    font-size: 14px;
    border-radius: 6px;
}

.terms-btn-wrapper #nextjoin {
    background: var(--primary);
    color: #fff;
    border: none;
    flex: 2;
}

.terms-btn-wrapper #backbtn {
    background: var(--bg);
    color: #333;
    flex: 1;
}
.panel-default {
    border: none !important;
}
.panel-default .table {
    border-spacing: 0px;
    border-collapse: collapse;
    border-top: none !important;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    font-size: 0.9em;
}
.table::after {
    content: '';
    display: block;
    border: 1px solid var(--border);
    position: absolute;
    top: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    border-radius: 10px;
    z-index: -1;
}
.panel-default .table th,
.panel-default .table td {
    text-align: center;
    padding-inline: 5px;
}

.panel-default .table th {
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--bg);
    border-top: none;
}

.terms-description {
    margin-bottom: 10px;
}
.panel-default > .panel-heading strong {
    font-size: 15px;
}
.checkbox-inline {
    font-size: 15px;
}
.register-term > .page-content {
    border: none;

    background: none;
}

.panel-body {
    padding: 0 0 15px;
}
.panel-footer {
    border: none;
    background: none;
    padding-bottom: 15px;
    padding-top: 0;
    padding-inline: 0;
}
table + .panel-footer {
    margin-top: 15px;
}
.panel-footer .pull-right {
    display: none;
}

.panel-default > .panel-heading {
    background: none;
    border-bottom: none !important;
}

.checkbox-inline {
    flex-wrap: wrap;
}

#hrequies_msg{
	padding-bottom: 10px;
}
.confirm-code-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

#div_hrequies {
    justify-content: center;
    gap: 5px;
}

.has-feedback .form-control {
    padding-inline: 10px !important;
}
#reg_mb_password{
	width: 100%;
}
#fregisterform {
    margin: 0 !important;
}
.resend {
    font-size: 14px;
    margin-right: 10px !important;
}

.resend + .btn {
    text-decoration: underline;
	font-size: 14px;
}
.register-form .btn.btn-color {
    width: 100%;
    height: 40px;
    display: block;
    background: var(--primary);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.confirm-code {
    padding-bottom: 10px;
}

.terms_item {
    border: 1px solid var(--border);
    border-radius: 10px;
}
.terms_item + .terms_item {
    margin-top: 10px;
}
.terms_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
}

.terms_item .page-content .article-title{
	margin-top: 20px;
}
/* check */
.terms_check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.terms_view {
    font-size: 12px;
    background: #f1f5f9;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}
.terms_body {
    display: none;
    padding: 14px;
    border-top: 1px solid #f1f5f9;
    background: var(--bg-blue);
    font-size: 14px;
    line-height: 1.6;
    max-height: 250px;
    overflow: auto !important;
}


.bullet {
    position: relative;
    padding-left: 10px;
	font-size: 15px;
	color:var(--text-2);
}
.bullet:before {
    content: '·';
    position: absolute;
    font-weight: 700;
    font-size: 18px;
    top: 0;
    left: 0;
}

.form-group + .form-group {
    margin-top: 10px;
}
.pw-wrap{
	padding-inline: 30px;
}
.pw-wrap .password-guide{
	text-align: left;
}
.pw-wrap .form_item{
	position: relative;
}
.pw-wrap .form_item + .form_item{
	margin-top: 10px;
}

.pw-wrap  .btn_eye {
	position: absolute;
	bottom: 10px;
	right: 15px;
	height: 16px;
}

.form_item .i_eye{
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cg stroke='%23999ba0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' clip-path='url(%23a)'%3E%3Cpath d='M.667 8S3.333 2.667 8 2.667 15.333 8 15.333 8 12.667 13.333 8 13.333.667 8 .667 8Z'/%3E%3Cpath d='M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h16v16H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}
.form_item .off .i_eye{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cg stroke='%23999ba0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' clip-path='url(%23a)'%3E%3Cpath d='M11.96 11.96A6.7 6.7 0 0 1 8 13.333C3.333 13.333.667 8 .667 8A12.3 12.3 0 0 1 4.04 4.04M6.6 2.827a6 6 0 0 1 1.4-.16C12.667 2.667 15.333 8 15.333 8c-.404.757-.887 1.47-1.44 2.127m-4.48-.714a2 2 0 1 1-2.826-2.826M.667.667l14.666 14.666'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h16v16H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}


.notice_text{
	margin-top: 15px;
	margin-bottom: 30px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:10px;
}
.notice_text p{
	position: relative;
	font-size: 16px;
	font-weight: normal;
	width: fit-content;

}
.notice_text p:after{
	content: "";
    position: absolute;
    left: -2%;
    bottom: -3px;
    width: 0;
    height: 6px;
    background:var(--primary); 
	opacity: 0.15;
    z-index: -1;
    border-radius: 4px;
    animation: 0.5s highlight 0.2s ease forwards;

}
@keyframes highlight {
  to {
    width: 104%;
  }
}

