/*****************************************
공통
*****************************************/
/* 타이틀 */
.member-tit-box { margin: 30px 0; } 
.member-tit-box h2 { margin: 0; font-size: 64px; line-height: 1.08; font-weight: 800; text-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); font-family: 'Paperozi', sans-serif; } 
.member-tit-box p { color: #fff; font-size: 30px; font-weight: 600; } 


/* 개인정보처리방침 */
.privacy-box { margin-top: 28px; padding: 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,0.03); backdrop-filter: blur(6px); } 
.privacy-box textarea { width: 100%; min-height: 180px; resize: none; padding: 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,0.15); color: rgba(255,255,255,.85); line-height: 1.6; font-size: 15px; outline: none; } 
.privacy-box textarea:focus { border-color: rgba(254,33,164,.7); box-shadow: 0 0 0 3px rgba(254,33,164,.14); } 
.agree-label { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px; } 
.agree-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #fe21a4; cursor: pointer; } 
.agree-label label { margin: 0; padding: 0; font-size: 16px; font-weight: 700; color: rgba(255,255,255,.92); cursor: pointer; } 
.agree-label label::after { content: " *"; color: #fe21a4; font-weight: 800; } 
.privacy-box textarea { scrollbar-width: thin; scrollbar-color: rgba(254,33,164,.75) rgba(255,255,255,.06); } 
.privacy-box textarea::-webkit-scrollbar { width: 10px; } 
.privacy-box textarea::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 999px; border: 1px solid rgba(255,255,255,.10); } 
.privacy-box textarea::-webkit-scrollbar-thumb { background: linear-gradient(180deg,rgba(254,33,164,.95),rgba(254,33,164,.45)); border-radius: 999px; border: 2px solid rgba(16,16,18,.85); } 
.privacy-box textarea::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg,rgba(254,33,164,1),rgba(254,33,164,.65)); } 
.privacy-box textarea::-webkit-scrollbar-corner { background: transparent; } 

/* 버튼*/
.btn-submit { display: block; width: fit-content; margin: 50px auto 0; padding: 18px 100px; border-radius: 12px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.05); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: all .2s ease; text-align: center; } 
.btn-submit:hover { border-color: #fe21a4; box-shadow: 0 0 0 3px rgba(254,33,164,.15); transform: translateY(-2px); } 
.btn-submit + .btn-submit {margin-top: 10px;}
.btn-submit.kakao {background-color: #f9e73c; color: #000;}
.btn-submit.kakao:hover {border-color: #000;}
.essential { color:#ff3d81; } 


/*****************************************
회원가입 
*****************************************/
.join-section { padding:120px 0; background:#0b0e13; color:#fff; } 
.join-form { max-width:1100px; margin:auto; } 
.join-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:32px; } 
.join-field label { display:block; margin-bottom:10px; color:#fff; font-weight: 600; } 
.join-field input, .join-field select { width:100%; height:52px; background:#0f1218; border:1px solid #333; color:#fff; padding:0 16px; border-radius: 10px; } 
.join-phone, .join-email, .join-birth, .join-address, .join-id { display:flex; align-items: center; gap:12px; } 
.join-id button { background:#111; border:1px solid #555; color:#fff; padding:0 18px; border-radius: 10px; height: 52px; } 
.join-address button { background:#111; border:1px solid #555; color:#fff; padding:0 18px; border-radius: 10px; height: 52px; } 
.join-section .btn-box { display: flex; justify-content: center; } 
.join-section .btn-submit { margin: 50px 10px; } 

/* 여백 조정 */
.join-field.full input { margin-top: 8px; } 


/* 회원탈퇴 */
.delete-box{width: 100%; display: flex; justify-content: flex-end; margin-top: 12px;}
.btn-delete { display: block; width: fit-content;  padding: 10px 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .8); background: #b11515; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; cursor: pointer;  } 
.btn-delete.kakao-link { margin-right: auto; background: #f9e73c; color: #000; border-color: rgba(0,0,0,.6); text-decoration: none; }
.btn-delete.kakao-link:hover { border-color: #000; }

@media screen and (max-width:768px){
 .join-grid { grid-template-columns:1fr; } 
 }


/*****************************************
로그인 / 아이디 찾기 / 비밀번호 찾기
*****************************************/
.auth-section { padding:120px 0; background:#0b0e13; color:#fff; } 
.auth-grid { background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.14); border-radius:18px; padding:28px; } 
.auth-field { margin-bottom:18px; } 
.auth-field label { display:block; margin-bottom:10px; font-size:18px; font-weight: 600; } 
.auth-field label span { color:#ff3d81; } 
.auth-field input { width:100%; height:52px; padding:0 16px; background:#0f1218; border:1px solid rgba(255,255,255,0.14); border-radius:12px; color:#fff; outline:none; } 
.auth-field input:focus { border-color:rgba(255,255,255,0.35); } 
.auth-row { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin:10px 0 22px; } 

.auth-links { display:flex; align-items:center; gap:10px; font-size:13px; } 
.auth-link { color:rgba(255,255,255,0.85); text-decoration:none; border-bottom:1px solid transparent; } 
.auth-link:hover { border-bottom-color:rgba(255,255,255,0.55); } 
.auth-dot { opacity:.55; } 

.auth-sub { margin-top:18px; display:flex; align-items:center; justify-content:center; gap:10px; font-size:13px; opacity:.85; } 
.auth-link-strong { color:#fff; text-decoration:none; border-bottom:1px solid rgba(255,255,255,0.7); } 

.auth-section .btn-submit { width: 100%; } 

@media (max-width: 900px){
 .auth-grid { grid-template-columns:1fr; } 
.auth-title { font-size:34px; } 
 }

@media (max-width: 480px){
 .auth-left, .auth-right { padding:20px; border-radius:16px; } 
.auth-row { flex-direction:column; align-items:flex-start; } 
.auth-submit { height:54px; } 
 }



/*****************************************
마이페이지
*****************************************/
.mypage-actions { margin-top:28px; display:flex; justify-content:flex-end; } 

.mypage-actions-right { width:min(420px, 100%); display:flex; flex-direction:column; align-items:flex-end; gap:14px; } 

.btn-withdraw { background:transparent; border:1px solid rgba(255,255,255,0.35); color:rgba(255,255,255,0.85); height:44px; padding:0 18px; border-radius:12px; cursor:pointer; } 

.mypage-btns { width:100%; display:flex; gap:12px; } 

.btn-cancel,
.btn-edit { flex:1; height:56px; border-radius:14px; cursor:pointer; } 

.btn-cancel { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.18); color:#fff; } 

.btn-edit { background:transparent; border:1px solid rgba(255,255,255,0.85); color:#fff; } 




/* 마이페이지  */

.mypage-section {
    padding: 160px 0 120px;
  }

  .mypage-section .inner960 {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .mypage-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .mypage-sidebar {
    position: sticky;
    top: 120px;
  }

  .mypage-nav {
    border: 1px solid #e6ebf1;
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 28px rgba(15, 35, 65, 0.06);
  }

  .mypage-nav-group + .mypage-nav-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mypage-nav-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
  }

  .mypage-nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #e6ebf1;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mypage-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .mypage-nav-link.is-active {
    background: #fe6b21;
    color: #fff;
    box-shadow: 0 8px 18px rgba(254, 107, 33, 0.25);
  }

  .member-tit-box {
    margin-bottom: 28px;
  }

  .member-tit-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
  }

  .member-tit-box p {
    color: #e6ebf1;
    font-size: 16px;
  }

  .mypage-card {
    border: 1px solid #e6ebf1;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(15, 35, 65, 0.06);
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
  }

  .mypage-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }

  .mypage-user {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 280px;
  }

  .mypage-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 62, 128, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    border:1px solid #e6ebf1;
  }

  .mypage-user-info strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
  }

  .mypage-user-info .email {
    color: #e6ebf1;
    font-size: 15px;
    margin-bottom: 10px;
  }

  .mypage-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mypage-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    border:1px solid #e6ebf1;
    font-size: 13px;
    font-weight: 600;
  }

  .mypage-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .mypage-btn {
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: #fff;
    background: #fe6b21;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  .mypage-btn:hover {
    filter: brightness(0.96);
  }

  .mypage-btn.outline {
    border-color: #fbfdff;
    color: #fff;
    background: transparent;
  }

  .mypage-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }

  .mypage-stat {
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    padding: 16px;
    color: #fbfdff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 96px;
  }

  .mypage-stat .label {
    color: #fbfdff;
    font-size: 13px;
    font-weight: 600;
  }

  .mypage-stat .value {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.2px;
  }

  .mypage-stat .sub {
    color: #fbfdff;
    font-size: 12px;
    font-weight: 600;
  }

  .mypage-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #e6ebf1;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 24px rgba(15, 35, 65, 0.05);
    margin-bottom: 18px;
  }

  .mypage-block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .mypage-block-head h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
  }

  .mypage-block-head p {
    color: #e6ebf1;
    font-size: 14px;
  }

  .mypage-highlight {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(0, 62, 128, 0.06);
    color: #fff;
    background: #fe6b21;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid rgba(0, 62, 128, 0.12);
  }

  .mypage-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
  }

  .mypage-table thead th {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
  }

  .mypage-table tbody td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #fff;
    font-size: 14px;
    vertical-align: middle;
  }

  .mypage-table tbody tr:last-child td {
    border-bottom: none;
  }


  .mypage-table .amount {
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
  }

  .mypage-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .mypage-link-btn.detail {
    background: #ff3d81;
    color: #dbeafe;
    border-color: #ff3d81;
  }

  .mypage-link-btn.detail:hover {
    background: #fe21a4;
  }

  .mypage-link-btn.estimate.is-unread {
    background: rgba(254, 107, 33, 0.2);
    color: #ffe3d6;
    border-color: rgba(254, 107, 33, 0.45);
  }

  .mypage-link-btn.estimate.is-read {
    background: #fe6b21;
    color: #fff;
    border-color: #fe6b21;
  }

  .mypage-link-btn.estimate:hover {
    filter: brightness(0.96);
  }

  .mypage-product {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mypage-product img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #fff;
  }

  .mypage-product .placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #e6ebf1;
  }

  .mypage-pagination {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .mypage-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .mypage-page-btn.is-active {
    background: #fe6b21;
    border-color: #fe6b21;
  }

  .mypage-page-btn.is-disabled {
    opacity: 0.4;
    cursor: default;
  }

  .mypage-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: #fe6b21;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid #e0e7ff;
    white-space: nowrap;
  }

  .mypage-badge.save {
    background: #fe6b21;
  }

  .mypage-badge.use {
    background: #3b82f6;
  }

  .mypage-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 36px 20px;
    text-align: center;
    color: #e0e7ff;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
  }

  .mypage-empty strong {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
  }

  .mypage-pay-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .mypage-pay-card {
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .mypage-pay-card:hover {
    transform: translateY(-3px);
    border-color: rgba(254, 107, 33, 0.6);
    box-shadow: 0 12px 24px rgba(254, 107, 33, 0.18);
  }

  .mypage-pay-card.is-disabled {
    opacity: 0.6;
  }

  .mypage-pay-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .mypage-pay-title {
    font-size: 18px;
    font-weight: 800;
  }

  .mypage-pay-amount {
    font-size: 22px;
    font-weight: 800;
    color: #fe6b21;
  }

  .mypage-pay-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #e6ebf1;
  }

  .mypage-pay-date {
    font-size: 12px;
    color: #e6ebf1;
  }

  .mypage-pay-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: #fe6b21;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
  }

  .mypage-pay-badge.complete {
    background: #22c55e;
  }

  .mypage-pay-badge.ready {
    background: #fe6b21;
  }

  .mypage-pay-badge.disabled {
    background: #64748b;
  }

  .mypage-pay-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
    align-items: start;
  }

  .mypage-pay-info {
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #e6ebf1;
    background: rgba(255, 255, 255, 0.02);
  }

  .mypage-pay-info dl {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px 16px;
    margin: 0;
  }

  .mypage-pay-info dt {
    font-size: 13px;
    color: #e6ebf1;
    font-weight: 700;
  }

  .mypage-pay-info dd {
    margin: 0;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
  }

  .mypage-pay-action {
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #e6ebf1;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mypage-pay-method {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #e6ebf1;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .mypage-pay-method label {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mypage-pay-method input[type="radio"] {
    accent-color: #fe6b21;
  }

  .mypage-pay-method .is-disabled {
    opacity: 0.6;
  }

  .mypage-pay-input {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #e6ebf1;
    font-weight: 600;
  }

  .mypage-pay-input input[type="text"] {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    padding: 0 12px;
  }

  .mypage-pay-input span {
    font-size: 12px;
    color: #e6ebf1;
  }

  .mypage-pay-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #e6ebf1;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .mypage-pay-split strong {
    font-size: 16px;
    color: #fff;
  }

  .mypage-pay-action .mypage-btn {
    width: 100%;
  }

  .mypage-pay-action .mypage-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
  }

  .mypage-pay-action .mypage-pay-amount,
  .mypage-pay-action .mypage-pay-point {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #e6ebf1;
    font-weight: 700;
  }

  .mypage-pay-action strong {
    font-size: 18px;
    color: #fff;
  }

  .mypage-pay-note {
    font-size: 12px;
    color: #e6ebf1;
  }

  .mypage-pay-alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }

  .mypage-pay-alert.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
  }

  .mypage-pay-alert.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
  }

  @media screen and (max-width: 1024px) {
    .mypage-section {
      padding: 140px 0 90px;
    }

    .mypage-layout {
      grid-template-columns: 1fr;
    }

    .mypage-sidebar {
      position: static;
    }

    .mypage-stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mypage-pay-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mypage-pay-detail {
      grid-template-columns: 1fr;
    }
  }

  @media screen and (max-width: 640px) {
    .mypage-section {
      padding: 120px 0 70px;
    }

    .mypage-section .inner960 {
      padding: 0 18px;
    }

    .mypage-nav {
      padding: 14px;
    }

    .mypage-nav-link {
      font-size: 13px;
      padding: 9px 10px;
    }

    .mypage-card,
    .mypage-block {
      padding: 22px;
      border-radius: 18px;
    }

    .mypage-stats {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .mypage-pay-grid {
      grid-template-columns: 1fr;
    }
  }

@media screen and (max-width:480px){
 .mypage-actions-right { align-items:stretch; } 
 .mypage-btns { flex-direction:column; } 
 .btn-withdraw { width:100%; } 
 }
