
.title-heading{
    font-size:22px; font-weight:800; color:#2c3e50; margin:0 0 16px; letter-spacing:.5px;
}
/* ===== 버튼 ===== */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 20px ;
    border-radius: 28px ;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
    outline: none !important;
    user-select: none !important;
}

.btn:hover,
.btn:focus-visible {
    /* 색상은 color.css에서 관리 */
    background-color: var(--btn-hover-bg);
}

.btn:active {
    /* 색상은 color.css에서 관리 */
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 버튼 사이즈 */
.btn-sm {
    min-height: 32px;
    font-size: 0.95rem;
    border-radius: 0px !important;
}

.btn-lg {
    min-height: 48px;
    font-size: 1.1rem;
    padding: 0 28px;
}

/* 버튼 모양 */
.btn-round {
    border-radius: 9999px;
}

.btn-outline {
    background: transparent;
    border:  var(--border-color) 1.5px solid;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background-color: #f1f3f4;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus {
  box-shadow: none !important;
  outline: none !important;
}





/* ===== 모달 ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.modal {
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    max-width: 480px;
    width: 90vw;
    padding: 32px 28px;
    position: relative;
    z-index: 1010;
    animation: modal-fade-in 0.25s cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 768px) {
    .modal {
        padding: 18px 8px;
        max-width: 98vw;
    }
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1020;
    transition: color 0.15s;
}

.modal-close:hover {
    /* 색상은 color.css에서 관리 */
}

/* ===== 폼 ===== */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 6px 12px;
    border-bottom: 1px solid #1D1D1D;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    resize: none;
}

.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px; /* 화살표 공간 확보 */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%22292.4%22 height%3D%22292.4%22%3E%3Cpath fill%3D%22%231D1D1D%22 d%3D%22M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.form-input:disabled,
.form-textarea:disabled,
.form-select:disabled {
    cursor: not-allowed;
}

/* 인풋 에러/성공 상태 */
.form-input.error,
.form-textarea.error,
.form-select.error {
    /* border-color, background은 color.css에서 관리 */
}

.form-input.success,
.form-textarea.success,
.form-select.success {
    /* border-color, background은 color.css에서 관리 */
}

/* 인풋 아이콘 */
.input-icon {
    position: relative;
}

.input-icon>.icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    pointer-events: none;
}

.input-icon>input,
.input-icon>textarea {
    padding-left: 36px;
}

/* ===== 테이블 ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    font-size: 1rem;
}

.table th,
.table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.table th {
    font-weight: 600;
    font-size: 1.02rem;
}

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

@media (max-width: 1024px) {

    .table th,
    .table td {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {

    .table,
    .table thead,
    .table tbody,
    .table tr,
    .table th,
    .table td {
        display: block;
        width: 100%;
    }

    .table th,
    .table td {
        box-sizing: border-box;
        padding: 8px 4px;
        border-bottom: 1px solid #e5e7eb;
    }

    .table tr {
        margin-bottom: 12px;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    }

    .table thead {
        display: none;
    }

    .table td:before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        margin-bottom: 2px;
        font-size: 0.95em;
    }
}

/* ===== 애니메이션/상태 ===== */
.fade-in {
    animation: fadeIn 0.3s cubic-bezier(.4, 0, .2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.3s cubic-bezier(.4, 0, .2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 유틸리티 ===== */
.rounded {
    border-radius: 8px !important;
}

.shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14) !important;
}

.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}









:root{
  --pf-text:#2c3e50;
  --pf-sub:#6c757d;
  --pf-border:#dee2e6;
  --pf-brand:#24316C;
  --pf-soft:#f1f3f5;
}

/* 카드 (라운드 없음, 우리 톤) */
.card {
  border:1px solid var(--pf-border) !important;
  background:#fff !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0;
}
.card-header, .card-body, .card-footer { padding: 16px 18px; }
.card-header { border-bottom: 1px solid #e9ecef; }
.card-footer { border-top: 1px solid #e9ecef; }

/* 레이아웃 */
.mypage-grid{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:16px;
}
@media (max-width: 960px){
  .mypage-grid{ grid-template-columns: 1fr; }
}

/* 프로필 */
.mypage-profile{ align-self: start; }
.mypage-avatar-wrap{ display:flex; flex-direction:column; align-items:center; gap:12px; padding:16px; }
.mypage-avatar{
  width: 160px; height:160px; object-fit:cover; display:block;
  border:1px solid var(--pf-border);
  background:#f4f6f8;
}
.mypage-profile-meta{ padding:0 16px 16px; border-top:1px dashed #ecf0f2; margin-top:8px; }
.mypage-profile-meta .meta-name{ font-weight:700; color:var(--pf-text); margin-bottom:4px; }
.mypage-profile-meta .meta-id,
.mypage-profile-meta .meta-phone{ color:var(--pf-sub); font-size:13px; }

/* 정보 */
.mypage-info-header{ display:flex; justify-content:space-between; align-items:center; }
.form-row{ display:flex; flex-direction:column; gap:6px; padding:10px 0; }
.form-row + .form-row{ border-top:1px dashed #ecf0f2; }
.basic-form input, .basic-form select, .basic-form textarea{
  border: 1.5px solid #e5e7eb; font-size:1rem; transition: border .2s, box-shadow .2s;
  outline: none; padding: 8px 12px; border-radius:0 !important; background:#fff; color:var(--pf-text);
}
.basic-form input:focus, .basic-form select:focus, .basic-form textarea:focus{
  border-color:#b8c0c7; box-shadow:0 0 0 3px rgba(36,49,108,.08);
}
.row-inline{ display:flex; gap:8px; align-items:center; }

/* 읽기 전용 모드 */
.basic-form.is-readonly input,
.basic-form.is-readonly select,
.basic-form.is-readonly textarea{
  background: transparent !important;
  border-color: transparent !important;
  padding-left: 0 !important;
  color: var(--pf-text) !important;
  box-shadow: none !important;
}
.basic-form.is-readonly input[disabled]::placeholder{ color:transparent; }
.basic-form.is-readonly .address-search-btn{ display:none !important; }
.basic-form.is-readonly label{ color:#7b8a97; }





.test-image{
    background-position: center;
    background-size: cover;
    width: 100%;
    height: auto;
}
