/* frontend/css/index.css */
.form-container { width: 100%; max-width: 750px; padding: 0; background-color: #ffffff; }
.form-container--narrow { max-width: 400px; }
.form-container--regular { max-width: 980px; }
.form-container--wide { max-width: 1140px; }
.form-container--narrow .auth-title { font-size: 24px; }
.form-container--narrow .auth-subtitle { margin-top: 16px; font-size: 14px; border: none; }
.captcha-char { display: inline-block; }
.auth-title { font-size: 24px; font-weight: var(--font-weight-medium); color: #000000; margin-bottom: 5px; text-align: center; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.auth-title--narrow { font-size: 24px; }
.auth-subtitle { font-size: 16px; color: #5B5B5B; margin-bottom: 30px; text-align: center; border-bottom: 2px solid #333; padding-bottom: 15px; margin-top: 0; }
.title-info { margin-bottom: 30px; }
.title-info h2 { font-weight: var(--font-weight-medium); font-size: 14px; }
.title-info p { font-size: 12px; color: #999999; }
.title-info span { display: block; }
.table-order-detail .app-table-section { border-top: 2px solid #000; }
.ttm { margin-top: 40px; }
.form-wrapper h2 { font-size: 18px; font-weight: var(--font-weight-medium); margin-bottom: 20px; }
.form-wrapper .app-input { font-size: 14px; }
.read-only { pointer-events: none; }
.form-title { padding: 30px 0 15px; font-weight: var(--font-weight-medium); border-bottom: 1px solid #e0e0e0; }
.form-title.nlb { border-bottom: none; }
.form-wrapper .input-group { height: 40px; }
.form-control-exception { overflow: auto; width: 100%; padding: 10px; border: 1px solid #d1d5db; font-size: 16px; color: #000; background-color: transparent; outline: none; box-sizing: border-box; transition: border-color 200ms ease-in-out; }
.form-control-exception:focus { border-color: #000000; }
.form-control-exception[readonly] { background-color: #f9fafb; color: #4b5563; }
.qna-info-box { background-color: #eff6ff; padding: 1rem; border-radius: 0.5rem; border: 1px solid #bfdbfe; margin-top: 1.5rem; margin-bottom: 1.5rem; }
.option-group { margin-bottom: 20px; margin-top: 20px; display: flex; gap: 20px; align-items: center;}
.option-group .input-label { width: 120px; margin: 0;}
.option-group .radio-set { display: flex; flex-direction: column; gap: 0;}
.h-set { display: flex; align-items: flex-start; flex-direction: column; }
.radio-set { display: flex; gap: 15px; }
.radio-set p { margin: 2px 0 0 5px; font-size: 12px; color: #999999; }
.radio-item { display: inline-flex; align-items: center; font-size: 15px; gap: 5px;}
.radio-item input { margin: 0; }
.radio-public {width: 70px;}
.option-group .radio-item {gap: 0;}
.find-section .option-group .radio-item {gap: 5px;}
.table-order-detail .radio-item { font-size: 14px; }
.section-mid .text-content h2 { color: #065F46; }
.section-mid .text-content p { font-size: 1.125rem; line-height: 1.6; }
.section-mid .text-content ul { list-style: disc; padding-left: 20px; margin-top: 16px; font-size: 1rem; color: #4B5563; }
.form-content-item { margin-top: 15px; margin-bottom: 15px;}
.form-content-item:first-child { margin-top: 0; }
.form-content-item.star-rating-item { display: flex; flex-direction: column; align-items: center; }
.form-content-item.star-rating-item label { font-size: 16px; }
.ast { color: red; }
.form-content-item select, .form-content-item textarea { font-size: 14px; }
.form-content-item select { background-image: url('/assets/icons/down_arrow.svg'); background-repeat: no-repeat; background-position: right 15px center; background-size: 1rem; padding-right: 2.75rem; background-color: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.form-content-item textarea { resize: none; }
.rating-star, .rating-star-fix { width: 30px; height: 30px; background-image: url('/assets/icons/star.svg'); background-size: cover; background-repeat: no-repeat; display: inline-block; cursor: pointer; transition: background-image 0.2s ease-in-out; }
.rating-star-fix { cursor: default; }
.rating-star.filled, .rating-star.hover-fill, .rating-star-fix.filled { background-image: url('/assets/icons/star_active.svg'); }
.rating-star:hover { transform: scale(1.1); }
.checkbox-group { margin: 10px 0 0px 0; }
.checkbox-group.label-bottom { margin-bottom: 50px; }
#qna-form .checkbox-group.label-bottom { margin-bottom: 0px; }
.input-group { position: relative; border: 1px solid #d1d5db; height: 50px; }
#find-content-wrapper .input-group, #login-form .input-group { margin-bottom: 10px; }
.table-order-detail .input-group { border: none; }
.order-info .input-group { border: 1px solid #d1d5db; }
.order-info .app-table-header {border-top: none;}
.app-input { width: 100%; height: 100%; padding: 0 10px; border: none; box-sizing: border-box; font-size: 16px; color: #000; background-color: transparent; outline: none; }
.app-input[readonly] { background-color: #f9fafb; color: #9ca3af; }
.input-group input:focus-within { border-color: #000000; border: 1px solid #000000; box-shadow: none; }
.input-group input[readonly]:focus { border: none; }
.link-area { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 25px; font-size: 14px; color: #333; gap: 8px; border-bottom: 1px solid #B5B5B5; padding: 5px 0 20px; }
.link-area span { font-size: 11px; }
.primary-button { display: block; width: 100%; padding: 15px 0; background-color: #5B5B5B; color: white; font-weight: 500; transition: background-color 200ms ease-in-out; border: 1px solid #5B5B5B; font-size: 16px; cursor: pointer; max-width: 200px; margin: 10px auto; box-sizing: border-box; }
.primary-button:hover { background-color: #4a4a4a; }
.button-row { display: flex; justify-content: center; margin: 20px 0; }
.button-row a { text-align: center; }
.secondary-button { display: block; width: 100%; padding: 15px 0; margin-top: 10px; background-color: #ffffff; color: #000000; font-weight: 500; border: 1px solid #000000; border-radius: 0; transition: background-color 200ms ease-in-out; font-size: 16px; text-align: center; max-width: 200px; margin: 10px auto; box-sizing: border-box; cursor: pointer;}
.tertiary-button { display: block; width: 100%; padding: 15px 0; margin-top: 10px; background-color: #ECECEC; color: #000000; font-weight: 500; border: 1px solid #d9d9d9; border-radius: 0; transition: background-color 200ms ease-in-out; font-size: 16px; text-align: center; max-width: 200px; margin: 10px auto; box-sizing: border-box; cursor: pointer;}
.secondary-button:hover { background-color: #f5f5f5; }
.primary-button--narrow, .secondary-button--narrow { max-width: 400px; }
.auth-message { margin-top: 1rem; text-align: center; font-size: 14px; color: red; display: none; }
.terms-section { margin-top: 30px; border: 1px solid #e0e0e0; padding: 20px; position: relative; }
.terms-header { font-size: 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.terms-header a { text-decoration: underline; font-size: 12px; color: #5B5B5B; }
.terms-content { max-height: 150px; overflow-y: auto; padding: 15px; background-color: #f9f9f9; border: 1px solid #e0e0e0; font-size: 13px; color: #555; line-height: 1.6;}
.required-tag { color: red; }
.checkbox-group { display: flex; align-items: center; gap: 5px; margin-top: 15px; font-size: 14px; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.all-agree-section { padding: 20px 0; }
.all-agree-section p { font-size: 13px; color: #777; margin-top: 5px; line-height: 1.4; padding: 0 30px; }
.all-agree-group { font-size: 16px; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; }
.all-agree-group input { width: 20px; height: 20px; }
.form-actions { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 20px; }
.form-actions button { max-width: 200px; margin: 0; }
.star-rating-container { display: flex; align-items: center; gap: 15px; margin-top: 5px; }
.star { cursor: pointer; color: #d1d5db; transition: color 0.2s; width: 30px; height: 30px; }
.star.filled { color: #facc15; }
.image-attachment-container { border: 1px solid #e5e7eb; border-radius: 6px; padding: 20px 20px 30px; margin-bottom: 20px; }
.image-attachment-container p { color: red; font-size: 12px; margin: 0; position: absolute; margin-top: 8px;}
.image-upload-grid { display: flex; gap: 10px; overflow-x: auto; padding: 10px; align-items: center;}
#reviewForm .image-upload-grid {background-color: #d1d5db42;}
.upload-box { background-color: #fff; width: 100px; height: 100px; border: 1px dashed #333; border-radius: 6px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #333; font-size: 12px; cursor: pointer; flex-shrink: 0; gap: 10px; }
.uploaded-image-wrapper { position: relative; flex-shrink: 0; width: 100px; height: 100px; box-shadow: 0px 1px 6px -1px rgba(0, 0, 0, 0.1); background-color: #FFF; border-radius: 6px;}
.uploaded-image { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; position: relative; cursor: pointer;}
.uploaded-image-wrapper:hover {box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); transform: translateY(-2px); transition: transform 0.2s ease-in-out}
/* 1. 리뷰 아이템 기본 레이아웃 (새로 추가) */
.delete-image-btn { position: absolute;
    top: -5px;
    right: -5px;
    color: #dc2626; 
    border-radius: 50%;
    width: 20px; /* 크기 확대 */
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    /* 경계선 및 그림자 추가 */
    border: 1px solid #dc2626; 
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out; }
/* 호버 시 색상 반전 효과 */
.delete-image-btn:hover {
    background-color: #dc2626; /* 배경을 경고색으로 채움 */
    color: #fff; /* 아이콘을 흰색으로 반전 */
    transform: scale(1.1); /* 약간 커지는 효과 추가 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.upload-icon {font-size: 16px;}
.wearer-info {font-weight: var(--font-weight-medium);}
.wearer-info-group { display: flex; gap: 15px; flex-wrap: wrap; }
.wearer-info-group>div { flex: 1 1 45%; min-width: 150px; }
.wearer-info-group .input-label { margin-top: 0; margin-bottom: 5px; }
.input-label.agree-label { font-weight: var(--font-weight-medium); }
.input-label { display: block; font-size: 14px; font-weight: 500; color: #333; margin-bottom: 8px; margin-top: 15px; }
.input-label:first-child { margin-top: 0; }
.input-group-with-button { display: flex; gap: 8px; margin-bottom: 0; }
.input-group-with-button .input-group { flex-grow: 1; margin-bottom: 0; overflow: hidden; }
.input-group-with-button .check-button { padding: 0 15px; height: 50px; background-color: #5B5B5B; color: white; border: none; cursor: pointer; font-size: 14px; font-weight: 500; flex-shrink: 0; border-radius: 4px; transition: background-color 200ms ease-in-out; }
.input-group-with-button .check-button:hover { background-color: #4a4a4a; }
#qna-form .form-actions { margin-top: 50px; }
.input-validation-hint { font-size: 12px; color: #717171; margin-bottom: 10px; padding-left: 5px; line-height: 1.4; }
.error-field { border-color: #EF4444 !important; }
.input-validation-hint { display: none; color: #5B5B5B; font-size: 12px; margin-top: 5px; }
.input-validation-hint { display: none; color: #5B5B5B; font-size: 12px; margin-top: 5px; }
.validation-hint-user-id, .validation-hint-password { display: block; color: #5B5B5B; }
.input-validation-hint.error { display: block; color: #EF4444; }
.input-validation-hint.valid { display: block; color: #10B981; }
.validation-hint-user-id.checking { display: block; color: #FFA500; }
.order-info .form-input-box { position: relative; display: flex; flex-direction: column; }
.order-info .validation-hint { position: absolute; left: 0; font-size: 11px; color: #EF4444; pointer-events: none; white-space: nowrap; margin: 0; opacity: 0; transition: opacity 0.2s ease; }
.order-info .app-table-section .validation-hint { bottom: -14px; }
.order-info .app-table-section .terms-section .validation-hint { bottom: 5px; left: 25px; }
.order-info .validation-hint.error { opacity: 1; }
.captcha-container { margin-top: 30px; margin-bottom: 30px; padding: 20px; background-color: #f0f0f0; border: 1px solid #e0e0e0; border-radius: 4px; }
.captcha-title { font-size: 16px; font-weight: var(--font-weight-medium); margin-bottom: 15px; color: #333; }
.captcha-box { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.captcha-image-area { width: 150px; max-width: 50%; height: 50px; background-color: #fff; border: 1px solid #ccc; border-radius: 4px; display: flex; justify-content: center; align-items: center; font-size: 20px; font-weight: bold; letter-spacing: 5px; color: #5B5B5B; user-select: none; text-decoration: line-through; opacity: 0.8; font-family: serif; }
.captcha-reload { height: 50px; width: 50px; border: none; background-color: #5B5B5B; color: white; cursor: pointer; font-size: 18px; line-height: 1; border-radius: 4px; display: flex; justify-content: center; align-items: center; transition: background-color 200ms ease-in-out; }
.captcha-reload:hover { background-color: #4a4a4a; }
.captcha-input-group { flex-grow: 1; }
.app-table-container { width: 100%; }
.app-table { display: flex; flex-direction: column; width: 100%; }
.app-table-header, .app-table-row { display: flex; padding: 15px 0; font-size: 14px; text-align: center; }
.table-cart .app-table-row { min-height: 200px; border-bottom: 1px solid #e0e0e0; }
.no-data { font-size: 14px; height: 100px; display: flex; align-items: center; justify-content: center;}
.no-data-row .app-table {text-align: center; padding: 20px;}
.app-table-col.no-data-col {grid-column: 1 / -1; text-align: center; padding: 3rem; color: #6b7280;}
.app-table-header { font-weight: var(--font-weight-medium); color: #333333; border-top: 1px solid #000000; }
.table-order-detail .app-table-header, .table-order-detail .app-table-row { justify-content: space-around; }
.app-table-col { padding: 0 5px; text-align: center; flex-grow: 1; flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-width: 40px; box-sizing: border-box; }
.app-table-img { width: 100px; height: 140px; min-width: 100px; }
.table-review .app-table-row  {border-bottom: 1px solid #e0e0e0;}
.table-review .app-table-img { width: 140px; min-width: 140px; height: auto; }
.table-order-detail .app-table-img, .table-cart .app-table-img { width: 150px; height: 190px; flex-shrink: 0;}
.app-table-img img { width: 100%; height: 100%; }
.app-col-group-row { display: flex; flex-direction: column; gap: 20px; margin-left: 20px; justify-content: flex-start; height: 100%; line-height: 1.6; }
.table-order .app-col-group-row, .table-order-detail .app-col-group-row, .table-cart .app-col-group-row { height: auto; }
.app-col-group-row span { word-break: break-word; overflow-wrap: break-word; }
.app-col-group-row .col-product-title { color: #333333; font-size: 14px; font-weight: var(--font-weight-medium); }
.app-col-group-row .col-product-option { color: #999999; }
.col-product-option p { margin: 0;}
.app-col-group-row .col-product-content { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.table-qna .app-col-group-col { display: flex; gap: 10px; }
.app-col-group-col a { text-decoration: underline; color: #40A3FF; }
.app-col-group-col button { font-size: 14px; padding: 5px 15px; }
.table-qna button, .table-review button { padding: 5px 20px; }
.col-checkbox { flex-basis: 5%; max-width: 5%; min-width: 40px; }
.col-checkbox input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; -moz-appearance: auto; width: 20px; height: 20px; margin: 0; border: 1px solid #999; cursor: pointer; }
.col-no { flex-basis: 7%; max-width: 7%; min-width: 40px; }
.col-no-date { flex-basis: 15%; max-width: 15%; min-width: 40px; }
.col-title { flex-basis: 50%; text-align: left; justify-content: flex-start; padding-left: 15px; min-width: 150px; }
.table-qna .col-title { flex-basis: 20%; text-align: left; justify-content: flex-start; padding-left: 15px; min-width: 150px; color: #000000; font-weight: var(--font-weight-medium); }
.table-qna .col-action { flex-basis: 18%; max-width: 18%; }
.table-qna .col-status { flex-basis: 10%; min-width: 80px; }
.col-product { flex-basis: 40%; max-width: 40%; text-align: left; justify-content: flex-start; padding-left: 15px; min-width: 150px; }
.table-order-detail .app-table-header .col-product { justify-content: center; }
.table-qna .col-product-title { flex-basis: 20%; max-width: 20%; text-align: left; justify-content: flex-start; }
.col-content { flex-basis: 40%; max-width: 40%; text-align: left; justify-content: flex-start; padding-left: 15px; min-width: 150px; }
.table-review .col-content { flex-basis: 75%; max-width: 75%; text-align: left; }
.col-writer { flex-basis: 15%; max-width: 15%; min-width: 70px; }
.col-price-qty { flex-basis: 15%; max-width: 15%; min-width: 70px; }
.col-price { flex-basis: 13%; max-width: 13%; min-width: 50px; }
.col-total { flex-basis: 13%; max-width: 13%; min-width: 70px; }
.col-delivery { flex-basis: 9%; max-width: 9%; min-width: 50px; }
.col-qty { flex-basis: 5%; max-width: 5%; min-width: 20px; }
.col-date { flex-basis: 10%; max-width: 10%; min-width: 80px; }
.col-productTitle {flex-basis: 50%; max-width: 50%; min-width: 180px; display: flex;
    flex-direction: column;}
.table-notice .col-date { flex-basis: 15%; max-width: 15%; }
.col-status { flex-basis: 15%; max-width: 15%; min-width: 80px; }
.col-action { flex-basis: 15%; max-width: 15%; min-width: 40px; }
.col-hit { flex-basis: 8%; max-width: 8%; min-width: 40px; }
.product-name {
  font-weight: var(--font-weight-medium);
  color: #000;
}
.col-group-product { display: flex; flex-direction: column; }
.col-group-content { display: flex; gap: 10px; flex-direction: column; margin-top: 10px;}
.table-cart .button-group { display: flex; gap: 10px; }
.completed { color: #40A3FF; }
.pending { color: #FFA000; }
.app-table-row { color: #555555; transition: background-color 0.15s ease-in-out; }
.app-table-row .col-productTitle {align-items: flex-start;
    padding: 0 20px;}
#reviewListWrapper .app-table-row:hover,
.table-notice .app-table-row:hover { background-color: #f8f8f8; }
.studio .col-product { flex-basis: 50%; max-width: 50%;}
.studio .col-package { flex-basis: 15%; max-width: 15%;}
.studio .col-option { flex-basis: 15%; max-width: 15%;}
.studio .col-total { flex-basis: 15%; max-width: 15%;}
.studio .app-table-col.col-option { display: flex; flex-direction: column;}
.app-table-row:last-child { border-bottom: 1px solid #000000; }
.table-order-detail .app-table-row:last-child { border-bottom: 1px solid #e0e0e0; }
.table-order-detail .app-table-header { border-bottom: none; }
.col-title a { color: inherit; text-decoration: none; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; width: 100%; }
.list-group { display: flex; align-items: center; justify-content: space-between; margin: 50px 0; }
.cart-btn-group { display: flex; align-items: center; justify-content: space-between; margin-top: 50px; }
.list-group button { padding: 10px 20px; }
.cart-btn-group .button-group button { padding: 15px 35px; }
.product-del-btn { color: #5B5B5B; font-size: 14px; border: 1px solid #5B5B5B; padding: 10px 15px; }
.list-group .title-total { font-weight: var(--font-weight-medium); font-size: 18px; }
.list-count-info { font-size: 16px; color: #000000; }
.list-count-info span { font-weight: var(--font-weight-medium); color: #000000; margin-left: 5px; font-size: 16px; }
.form-row-group { display: flex; align-items: center; border-top: 1px solid #e0e0e0; padding: 15px 0; }
.payment-group { border-bottom: 1px solid #e0e0e0; margin: 0px 0 40px 0;; padding: 20px 0; display: flex; flex-wrap: wrap; }
.payment-group .form-label-box { width: 70px; }
.payment-group input { font-weight: var(--font-weight-medium); text-decoration: underline; }
.deposit-bank-row .input-group.select-group { height: 50px; border: 1px solid #d1d5db; overflow: hidden; }
.deposit-bank-row select.app-input { width: 100%; height: 100%; padding: 0 10px; border: none; font-size: 16px; color: #000; background-color: transparent; outline: none; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px 16px; }
.deposit-bank-row .input-group.select-group:focus-within { border-color: #000000; }
.profile-edit-form>.form-row-group:not(:has(~ .form-row-group)) { border-bottom: 1px solid #e0e0e0; margin-bottom: 25px; }
.table-order-detail .form-row-group { border-top: none; border-bottom: 1px solid #e0e0e0; }
.payment-group .form-row-group { border-bottom: none; padding: 5px; }
.table-order-detail .frm { display: flex; justify-content: flex-end; padding: 40px 0; flex-direction: column; align-items: flex-end; gap: 15px; border: none; }
.table-order-detail.detail-log .form-row-group{padding: 5px;}
.fw6 { font-weight: var(--font-weight-medium); }
.fs22 { font-size: 22px; }
.pd20 { padding: 20px; }
.bd-n {border:none;}
.ps-a {position: absolute;}
.m0 {margin: 0;}
.mt-20{margin-top: 20px;}
.mt--2 {margin-top: -2px;}
.bd-n{border: none;}
.pt-5{padding-top: 5px;}
.pb-5{padding-bottom: 5px;}
.notice-header { border-top: 1px solid #000; border-bottom: 1px solid #000; display: flex; gap: 22px}
.notice-header .notice-meta-label { font-weight: var(--font-weight-semibold); color: #000; }
.notice-header .notice-title-value { font-weight: var(--font-weight-semibold); }
.notice-meta-row { border-top: none; border-bottom: 1px solid #000000; display: flex; justify-content: space-between;}
.notice-meta-row .notice-form-wrap {display: flex; gap: 10px;}
.notice-meta-row .notice-meta-value { flex-grow: 1; }
.notice-body { padding-bottom: 40px; min-height: 200px; padding-top: 30px; border-bottom: 1px solid #000; }
.notice-content-text { width: 100%; line-height: 1.8; white-space: pre-line; }
.notice-content-text img {width: 60%; margin: 0 auto; display: block;}
.map-container { width: 100%; }
.map-iframe { width: 100%; height: 450px; border: 0; }
#postcode-layer {display:none; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); z-index:1000; width:450px; height:550px; border:1px solid #ccc; background:#fff;}
.payment-group .input-group { border: none; }
.form-row-group .check-button { height: 40px; }
.form-label-box { flex-shrink: 0; width: 130px; padding-right: 20px; display: flex; align-items: center; font-size: 14px; font-weight: 500; color: #333; }
.form-password .form-label-box {width: 100px; padding-right: 5px;}
.form-input-box { flex-grow: 1; }
.form-input-box select { width: 100%; }
.form-label-box.label-address { align-items: flex-start; padding-top: 10px; }
.address-group .input-group { margin-bottom: 10px; }
.address-group .input-group:last-child { margin-bottom: 0; }
.address-group .form-input-box>.input-group:last-of-type { margin-bottom: 0; }
.consent-description { font-size: 12px; color: #999999; margin: 0; margin-top: 5px; }
.form-link { display: flex; margin-bottom: 50px; justify-content: flex-end; }
.withdrawal-link { display: block; text-align: right; font-size: 14px; color: #999999; text-decoration: none; margin-top: 20px; }
.withdrawal-link:hover { text-decoration: underline; }
.payment-radio-input { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); pointer-events: none; }
.payment-radio-input:checked+.check-button { background-color: #ffffff; color: #000000; border-color: #000000; font-weight: var(--font-weight-medium); }
.check-button.py-btn { background-color: #F5F5F5; color: #676767; border: 1px solid #f5f5f5; display: flex; align-items: center; }
.check-button.py-btn:hover { background-color: #FFFFFF; }
.active-label {text-align:center; background:#333; color:white; }
.container { width: calc(100% - 40px); }
.container.container-detail { width: 100%; }
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.no-products-message { width: 100%; display: flex; justify-content: center; position: absolute; }
.no-products-message h2 {font-weight: var(--font-weight-medium); font-size: 18px;}
@media (min-width: 1140px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-item { text-align: center; text-decoration: none; color: inherit; display: block; cursor: pointer; transition: opacity 0.3s ease; min-width: 0; }
.product-item:hover { opacity: 0.85; }
.product-item h3 { margin-bottom: 0; margin-top: 5px; font-size: 14px; font-weight: var(--font-weight-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.product-item p { color: #717171; margin-top: 5px; margin-bottom: 10px; font-size: 12px; font-weight: var(--font-weight-medium); }
.image-wrapper { width: 100%; aspect-ratio: 2 / 3; position: relative; overflow: hidden; background-color: #f3f4f6; }
.image-wrapper img { width: 100%; height: 100%; transition: transform 0.5s ease; }
.product-item:hover .image-wrapper img { transform: scale(1.05); }
.image-overlay-text { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; letter-spacing: 0.05em; text-align: center; text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }
.cont-title {     padding: 20px 0;
    border-bottom: 1px solid #d3d3d3;
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    color: #666;
    width: 100%;
    text-align: center; }
.section-about .cont-ind { text-align: center;}
.cont-ind { font-size: 14px; }
.seciont-title {font-weight: var(--font-weight-medium); font-size: 16px; color: #666;}
.seciont-cont {font-size: 14px; margin: 10px 0 15px 0; }
.seciont-cont a {text-decoration: none; display: inline-block; padding-bottom: 2px; border-bottom: 1px solid #3498DB; color: #3498DB;}
.cont-ind p { display: block; width: 100%; line-height: 1.5; word-break: keep-all; }
.result-box { margin-top: 1.5rem; }
.result-box.visible { display: block; }
.result-content { text-align: center; padding: 1.5rem; border: 1px solid #d1fae5; background-color: #f0fdf4; border-radius: 0.75rem; }
.result-content p { margin-bottom: 1rem; }
.result-content .title { font-size: 1.25rem; font-weight: var(--font-weight-medium); color: #047857; }
#result-id-display { font-size: 1.875rem; font-weight: 800; color: #1f2937; letter-spacing: 0.05em; word-break: break-all; }
#result-info-text { font-size: 0.875rem; color: #6b7280; margin-bottom: 1.5rem; }
.notice-detail-container { font-size: 14px; }
.review-detail-content .detail-title {font-weight: var(--font-weight-semibold); font-size: 18px;}
.review-detail-content .detail-content {border-top: none; border-bottom: 1px solid #000000;}
.review-detail-content .rating-star-fix { display: none; }
.review-detail-content .rating-star-fix.filled { width: 15px; height: 15px; display: inline-block; }
.review-detail-content .form-data-group { display: flex; }
.review-detail-content .form-row-group { font-size: 14px; gap: 10px; }
.review-detail-content .form-label-box { width: auto; }
.review-detail-content .app-table-row { border-bottom: none; }
.review-detail-content .app-table-col { justify-content: flex-start; }
.review-detail-content .col-group-product { align-items: flex-start; }
.review-detail-content .app-col-group-row { justify-content: space-between; gap: 0; }
.review-content-box { padding-bottom: 30px; border-bottom: 1px solid #000; font-size: 14px; margin-bottom: 20px; }
.review-detail-content .rating-box { display: flex; align-items: center; gap: 5px; }
.review-detail-content .form-actions { justify-content: space-between; }
.review-detail-content button { width: 100px; height: 40px; text-align: center; padding: 0; font-size: 14px; }
.review-detail-content .edit-group { display: flex; gap: 10px; }
.review-detail-content .image-upload-grid { padding-bottom: 20px; border-bottom: 1px solid #000; margin-bottom: 20px; }
.review-detail-content .image-label { font-weight: var(--font-weight-medium); padding-bottom: 10px; }
.qna-detail-content .edit-group { display: flex; gap: 10px; }
.qna-detail-content hr {margin: 20px 0;}
.qna-detail-content .form-control-exception {height: 200px;}
.qna-answer-wrap {margin-bottom: 20px;}
.col-wearer { display: flex; justify-content: space-between; }
.col-wearer span { padding-right: 20px; }
.btn-s { font-size: 12px; padding: 10px; font-weight: 400; max-width: 100px; }
.photo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); color: white; font-size: 18px; font-weight: bold; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0.3s ease; }
.lightbox-image { background-color: #FFF; max-width: 90%; max-height: 90%; object-fit: contain; border-radius: 8px; pointer-events: none; }
.lightbox-image-container { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; }
.lightbox-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.2); color: white; border: none; padding: 15px 10px; cursor: pointer; z-index: 10000; font-size: 24px; line-height: 1; transition: background-color 0.2s; border-radius: 4px; }
.lightbox-button:hover { background: rgba(255, 255, 255, 0.4); }
.lightbox-close-btn { position: absolute; top: 5px; right: 10px; color: white; background: none; border: none; font-size: 36px; cursor: pointer; z-index: 10000; }
.policy-container .terms-section { margin-top: 0;}
.policy-container .auth-subtitle {margin-bottom: 0px; }
.policy-container .terms-content { max-height: 500px; }
#prevBtn { left: 10px; }
#nextBtn { right: 10px; }
        /* 1. Modal Overlay (모달 오버레이) */
        .modal-overlay {
            position: fixed;
            display: flex;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-color: rgba(17, 24, 39, 0.75); /* bg-gray-900 bg-opacity-75 */
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        /* 2. Modal Container (실제 모달 내용) */
        .withdrawal-modal {
            background-color: white;
            border-radius: 10px; /* rounded-xl */
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
            width: 90%; /* w-11/12 */
            height: 85%;
            max-width: 512px;
            margin-left: auto;
            margin-right: auto;
            padding: 15px; /* p-6 */
            display: flex;
            flex-direction: column;
        }
        @media (min-width: 768px) { /* md:p-8 */
            .withdrawal-modal {
                padding: 20px; 
            }
        }

        .modal-wrap {overflow: auto;}
        
        /* 모달 내부 타이틀 및 텍스트 */
        .modal-title {
            font-size: 22px;
            font-weight: var(--font-weight-medium);
            color: #000;
            margin-bottom: 5px; /* mb-2 */
            border-bottom: 1px solid #e5e7eb; /* border-b */
            padding-bottom: 10px;
        }
        .modal-subtitle {
            color: #666;
            margin: 5px 0 10px;
            font-size: 14px;
        }

        /* 3. 핵심 유의사항 요약 (High-Impact Notice) */
        .notice-box {
            padding: 10px;
            background-color: #fef2f2;
            border-radius: 5px;
            border: 1px solid #fee2e2;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .notice-item {
            display: flex;
            align-items: flex-start;
        }
        .notice-icon {
          color: #ef4444;
          margin-right: 10px;
          font-size: 14px;
        }
        .notice-title {
            color: #dc2626;
            margin: 0;
            font-size: 14px;
            font-weight: var(--font-weight-medium);
        }
        .notice-list {
          font-size: 12px;
          color: #b91c1c;
          list-style-type: disc;
          padding-left: 0px;
          margin-top: 5px;
          margin-bottom: 5px;
        }
        .notice-list li {
          margin-bottom: 0;
          margin-top: 5px;
        }

        .withdrawal-modal .checkbox-group input[type="checkbox"] {width: 15px; height: 15px;}
        .withdrawal-modal .checkbox-group {margin-top: 5px;}

        /* 5. 최종 동의 및 보안 확인 */
        .consent-section {
            display: flex;
            flex-direction: column;
            gap: 1rem; /* space-y-4 */
        }
        .checkbox-group label {
            margin-left: 0px; /* ml-3 */
            font-size: 14px; /* text-base */
            font-weight: var(--font-weight-medium); /* font-medium */
            color: #374151; /* text-gray-700 */
            user-select: none; /* select-none */
        }
        
        .password-input-group label {
            display: block;
            font-size: 14px; /* text-sm */
            font-weight: var(--font-weight-medium);
            color: #374151; /* text-gray-700 */
            margin-bottom: 8px; /* mb-1 */
        }
        .password-input-group input {
          width: 100%;
          padding: 10px;
          border: 1px solid #d1d5db;
          box-sizing: border-box;
          outline: none;
          border-radius: 5px;
        }
        .password-error {
            font-size:12px; /* text-xs */
            color: #ef4444; /* text-red-500 */
            margin-top: 4px; /* mt-1 */
            display: none;
            color: #333;
        }

        .withdrawal-modal .modal-wrap h3 {font-size: 14px; margin-top: 15px; font-weight: var(--font-weight-medium);}
        .withdrawal-modal .terms-section {margin-top: 5px; padding: 10px;}
        .withdrawal-modal .terms-content {padding: 10px;}
        .withdrawal-modal .terms-content p { font-size: 12px; margin-top: 0px;}

        /* 6. 액션 버튼 */
        .action-buttons {
          display: flex;
          justify-content: flex-end;
          gap: 10px;
          margin-top: 20px;
          font-size: 14px;
        }
        .btn-cancel {
          padding: 10px 20px;
          background-color: #e5e7eb;
          color: #374151;
          border-radius: 5px;
          transition: background-color 0.15s ease-in-out;
          border: none;
          cursor: pointer;
        }
        .btn-cancel:hover {
            background-color: #d1d5db; /* hover:bg-gray-300 */
        }
        .btn-confirm {
            padding: 10px 20px;
            background-color: #dc2626;
            color: white;
            border-radius: 5px;
            border: none;
            cursor: pointer;
            transition: opacity 0.15s ease-in-out;
        }
        .btn-confirm:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
.no-answer-box { min-height: 80px; padding: 1rem; background-color: #f3f4f6; border: 1px dashed #9ca3af; border-radius: 0.5rem; text-align: center; color: #6b7280; font-style: italic; display: flex; align-items: center; justify-content: center; margin-bottom: 50px; }
.app-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #10b981; color: white; padding: 12px 24px; border-radius: 8px; z-index: 1004; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); animation: fadeInOut 3s forwards; }
@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    15%, 85% { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.loading-overlay { min-height: 300px; display: flex; justify-content: center; align-items: center; flex-direction: column; }
.loading-spinner { border: 4px solid rgba(0, 0, 0, .1); border-top: 4px solid #555; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; }
.loading-message { margin-top: 10px; color: #555; }
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.ajax-error-message { text-align: center; padding: 50px; color: #d32f2f; border: 1px solid #ffebee; background: #fef4f4; border-radius: 8px; }
@media (max-width: 768px) { #prevBtn { left: 10px; padding: 10px 5px; } #nextBtn { right: 10px; padding: 10px 5px; } }
@media (max-width: 670px) { .section-about {flex-direction: column;} }
@media (max-width: 400px) { .form-label-box { width: 100px;; padding-right: 0; } .form-input-box { padding-top: 5px; width: 100%; } .form-actions { gap: 10px; } .form-actions button { flex-grow: 1; max-width: 50%; }}