* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
    min-width: min-content;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    color: inherit;
}

.logo-icon {
    width: 1.85rem;
    height: 1.85rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.98);
}

.logo-text {
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-menu > li {
    flex-shrink: 0;
}

/* 관리자 전용 메뉴 앞 구분선 (관리자일 때만 DOM에 포함됨) */
.nav-menu .nav-admin-separator {
    display: flex;
    align-items: center;
    align-self: center;
    list-style: none;
    margin: 0;
    padding: 0 0.15rem;
    pointer-events: none;
}

.nav-menu .nav-admin-separator::before {
    content: "";
    display: block;
    width: 1px;
    height: 1.15rem;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s, opacity 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.active {
    border-bottom-color: white;
    font-weight: 600;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.auth-user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 닉네임+유형 / 크레딧을 한 덩어리로 — 너비는 위 줄에 맞추고 크레딧은 그 블록 가로 중앙 */
.user-nav-identity {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    width: max-content;
    max-width: 100%;
}

.user-name-type-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.user-name-type-row .user-type-badge {
    font-size: 0.7rem;
    padding: 0.12rem 0.38rem;
    font-weight: 600;
}

.user-name {
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
}

.user-meta-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: center;
    width: 100%;
}

.user-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: #ffd76a;
    white-space: nowrap;
    flex-shrink: 0;
}

.user-credit-icon {
    width: 0.9rem;
    height: 0.9rem;
}

.user-type-badge {
    display: inline-block;
    padding: 0.25em 0.5em;
    border-radius: 0.4em;
    font-size: 0.75em;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    flex-shrink: 0;
}

.user-type-badge.writer {
    background-color: #2196f3;
}

.user-type-badge.client {
    background-color: #9c27b0;
}

.user-type-badge.admin {
    background-color: #ff9800;
}

.login-btn,
.logout-btn {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-btn:hover,
.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* 관리자 입금·출금 신청: 본문 폭을 테이블(콘텐츠)에 맞춤, 뷰포트보다 넓을 때만 가로 스크롤 */
.main-content.admin-main-wide {
    align-self: center;
    width: max-content;
    max-width: 100%;
}

.main-content.admin-main-wide .admin-wd-table-wrap {
    overflow-x: visible;
}

/* Projects Page */
.projects {
    padding: 2rem 0;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.projects-header h1 {
    font-size: 2rem;
    color: #333;
}

.new-project-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.new-project-btn:hover {
    opacity: 0.9;
}

.loading,
.error-message {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error-message {
    color: #e53e3e;
    background-color: #fed7d7;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card {
    background: white;
    border: 1px solid #d0d0d0;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-card.project-card--dimmed {
    opacity: 0.6;
}

/* 캠페인 카드: 테이블로 좌(제목)·우(상태+마감) 분리 */
.project-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}

.project-card-layout {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.project-card-layout td {
    padding: 0;
    vertical-align: top;
}

/* 왼쪽: 남는 너비 / 오른쪽: 내용만큼만(상태+마감 붙여 표시) */
.project-card-layout__main {
    padding-right: 0.75rem;
    width: 100%;
    min-width: 0;
}

.project-card-layout__side {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.project-card-meta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.125rem;
    line-height: 1.25;
}

.project-card-meta-stack .deadline-item,
.project-card-deadline-line.deadline-item {
    margin-left: 0;
}

.project-card-below {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
}

.campaign-status-chip {
    display: inline-block;
    padding: 0.28rem 0.55rem;
    border-radius: 2px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    pointer-events: none;
    user-select: none;
}

.campaign-status-chip--applied {
    background: #d6eaf8;
    color: #1a5276;
    border-color: #85c1e9;
}

.campaign-status-chip--rejected {
    background: #fadbd8;
    color: #922b21;
    border-color: #ec7063;
}

.campaign-status-chip--published {
    background: #d5f5e3;
    color: #145a32;
    border-color: #58d68d;
}

.campaign-status-chip--paused {
    background: #fdebd0;
    color: #9a6700;
    border-color: #f0b27a;
}

.campaign-status-chip--closed {
    background: #e5e7e9;
    color: #424949;
    border-color: #aeb6bf;
}

.campaign-reason-btn {
    border: none;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 0.35rem;
    padding: 0.1rem 0.45rem;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.campaign-reason-btn:hover {
    background: #e2e8f0;
    color: #2d3748;
}

.admin-project-controls {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f7fafc;
}

.admin-project-controls h3 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: #2d3748;
}

.admin-project-controls .form-group {
    margin-bottom: 0.75rem;
}

.admin-project-controls label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: #4a5568;
}

.admin-project-controls select,
.admin-project-controls textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.admin-project-controls textarea {
    min-height: 4.5rem;
    resize: vertical;
}

.admin-project-save-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

#admin-project-save-msg {
    font-size: 0.85rem;
    color: #718096;
}

.detail-btn {
    padding: 0.38rem 0.8rem;
    border: 1px solid #667eea;
    border-radius: 0.5rem;
    background-color: white;
    color: #667eea;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-btn:hover {
    background-color: #667eea;
    color: white;
}

.project-title {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.project-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    min-width: 0;
}

.project-author-nickname {
    font-size: 0.78rem;
    color: #718096;
    font-weight: 400;
    line-height: 1.3;
}

.project-title-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.project-detail-title-favorite {
    min-width: 0;
    flex: 1 1 auto;
}

.project-detail-title-block {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

/* 제목은 필요한 만큼만 너비를 쓰고, 하트는 제목 바로 오른쪽(1fr로 끝까지 늘리지 않음) */
.project-detail-title-heart-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.project-detail-title-heart-row h2 {
    margin: 0;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 찜 버튼이 있을 때 제목이 하트·스크롤바와 겹치지 않도록 상한 */
.project-detail-title-heart-row:has(.favorite-action-btn) h2 {
    max-width: calc(100% - 3rem);
}

#project-detail-favorite-area {
    flex: 0 0 auto;
    flex-shrink: 0;
    line-height: 0;
}

.project-detail-author {
    margin: 0;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 400;
    line-height: 1.35;
}

.favorite-btn {
    border: none;
    background: transparent;
    color: #c5cdd6;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.favorite-icon {
    width: 1.44rem;
    height: 1.44rem;
    display: block;
}

.favorite-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.2s, stroke 0.2s;
}

.favorite-btn:hover {
    color: #e53e3e;
}

.favorite-btn.active {
    color: #e53e3e;
}

.favorite-btn.active .favorite-icon path {
    fill: currentColor;
}

.info-item {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

.deadline-item {
    margin-left: auto;
}

.commission-item {
    flex-basis: 100%;
}

.completion-progress {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-basis: 100%;
    width: 100%;
}

.completion-progress-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.completion-progress-text {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

.completion-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.completion-progress-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.completion-progress-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.completion-progress-row .completion-progress-bar {
    flex: 1 1 auto;
}

.completion-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: inherit;
    transition: width 0.3s ease;
}

.guideline-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.guideline-header {
    margin-bottom: 0.75rem;
}

.guideline-header h4 {
    margin: 0;
    color: #555;
    font-size: 1rem;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.open {
    background-color: #c6f6d5;
    color: #22543d;
}

.status-badge.closed {
    background-color: #fed7d7;
    color: #742a2a;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 블로그 등록 모달 위에 인증번호 입력 */
#apply-blog-verify-modal.modal-overlay {
    z-index: 1100;
}

.modal-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.detail-modal-content {
    max-width: 700px;
}

.apply-parsing-modal-content {
    max-width: 1000px;
}

.apply-parsing-modal-content {
    padding: 1.25rem;
}

.apply-parsing-modal-content .parsing-section {
    padding: 0.5rem 1rem 1rem;
}

.apply-parsing-modal-content .url-input-section {
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.apply-parsing-modal-content .url-input-label {
    font-size: 0.88rem; /* 기본 1.1rem 대비 약 20% */
}

.apply-parsing-modal-content .url-input {
    padding: 0.375rem;
}

.apply-parsing-modal-content .fetch-button {
    padding: 0.6rem 2rem; /* 세로 0.75rem → 약 20% 축소 */
    font-size: 0.88rem; /* 0.8rem 대비 약 10% 증가 */
}

.apply-parsing-modal-content .apply-url-rewritten-hint {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #2f855a;
    line-height: 1.3;
}

.apply-parsing-modal-content .input-section {
    margin-bottom: 1rem;
}

.apply-parsing-modal-content .result-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.apply-parsing-modal-content .result-item {
    margin-bottom: 1.25rem;
}

/* 사진 | 지도 가로 배치 (사진:지도 ≈ 7:3) */
.apply-parsing-modal-content .apply-maps-images-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.apply-parsing-modal-content .apply-maps-images-row .result-item {
    margin-bottom: 0;
    min-width: 0;
}

.apply-parsing-modal-content .apply-miw-col-maps {
    flex: 3 1 0;
}

.apply-parsing-modal-content .apply-miw-col-images {
    flex: 7 1 0;
}

.apply-parsing-modal-content .apply-maps-images-row #apply-maps-result {
    max-height: 224px;
    overflow-y: auto;
}

.apply-parsing-modal-content .result-title-row {
    margin-bottom: 0.2rem;
    align-items: flex-end;
}

.apply-parsing-modal-content .result-title {
    font-size: 1.04rem;
    margin-bottom: 0.2rem;
    padding-bottom: 0.12rem;
}

.apply-parsing-modal-content .body-count-label {
    margin-top: 0;
    font-size: 0.72rem;
}

.apply-parsing-modal-content #apply-body-result .parsed-body,
.apply-parsing-modal-content #apply-body-result .parsed-body-text {
    line-height: 1.2 !important;
    font-size: 0.9em !important;
}

.apply-parsing-modal-content #apply-title-result {
    padding: 0.25rem !important;
}

.apply-parsing-modal-content #apply-body-result {
    padding: 0.5rem !important;
}

.apply-parsing-modal-content #apply-title-result .parsed-title {
    font-size: 1.026rem; /* 1.14rem 대비 약 10% 축소 */
}

.apply-parsing-modal-content .result-content {
    background: #e4e4e6 !important;
}

.apply-parsing-modal-content #apply-html-input {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
}

.apply-parsing-modal-content #apply-body-result {
    max-height: 224px;
}

.apply-parsing-modal-content #apply-images-result {
    height: 224px;
    max-height: 224px;
    overflow-y: auto;
}

.apply-parsing-modal-content .maps-grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 0.55rem;
}

.apply-parsing-modal-content #apply-maps-result {
    padding: 0.45rem 0.5rem !important;
}

.apply-parsing-modal-content .maps-content {
    padding: 0.2rem 0 !important;
}

.apply-parsing-modal-content .map-item-html {
    padding: 0.35rem !important;
}

.apply-parsing-modal-content .map-item {
    border-radius: 3px;
}

.apply-parsing-modal-content .modal-header {
    margin-bottom: 0.375rem;
    padding-bottom: 0.25rem;
}

.apply-parsing-modal-content .apply-blog-modal-header {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.apply-parsing-modal-content .apply-blog-modal-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    min-width: 0;
}

.apply-parsing-modal-content .apply-blog-modal-title-group h2 {
    margin: 0;
}

.apply-parsing-modal-content .apply-debug-header-label {
    margin: 0;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.project-detail-modal-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.project-detail-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
}

.project-detail-summary {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
    margin-top: 1.2rem;
}

.project-detail-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    width: 100%;
}

.project-detail-summary-commission {
    color: #555;
    font-size: 0.95rem;
    font-weight: 600;
}

.project-detail-summary-meta {
    margin-left: auto;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

/* 상세 모달: .modal-content h2 여백이 제목–닉네임 줄 사이를 과하게 벌림 → 제목만 예외 */
.detail-modal-content .project-detail-title-heart-row h2 {
    margin-bottom: 0;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-section h3 {
    margin: 0;
    color: #555;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.detail-section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.detail-section-title-row h3 {
    flex: 1 1 auto;
}

.detail-download-all-btn {
    border: 1px solid #667eea;
    background: #fff;
    color: #667eea;
    border-radius: 0.4rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.detail-download-all-btn:hover {
    background: #667eea;
    color: #fff;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem;
    background-color: #f7fafc;
    border-radius: 0.5rem;
}

.detail-label {
    color: #666;
    font-weight: 500;
    min-width: 100px;
}

.detail-value {
    color: #333;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.guideline-content {
    padding: 1rem;
    background-color: #f7fafc;
    border-radius: 0.5rem;
    min-height: 100px;
}

.guideline-text {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
}

.no-guideline {
    margin: 0;
    color: #999;
    font-style: italic;
}

.guideline-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

.my-blogs-list-box {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
}

.my-blogs-list {
    padding: 0.75rem 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.92rem;
}

.my-blog-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.my-blog-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.my-blog-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.my-blog-title,
.my-blog-url {
    color: #2b6cb0;
    text-decoration: none;
    word-break: break-all;
}

.my-blog-title {
    font-weight: 600;
    font-size: 90%;
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.my-blog-url {
    font-size: 0.85rem;
    color: #4a5568;
}

.my-blog-title:hover,
.my-blog-url:hover {
    text-decoration: underline;
}

.my-blog-label {
    flex-shrink: 0;
    color: #666;
    font-size: 0.86rem;
    white-space: nowrap;
    line-height: 1.2;
}

.my-blog-status {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.status-submitted {
    color: #718096;
}

.status-rejected {
    color: #e53e3e;
}

.status-passed {
    color: #38a169;
}

.my-blogs-empty {
    color: #999;
    font-size: 0.9rem;
}

.my-blogs-count {
    font-size: 0.9rem;
    color: #666;
    margin-left: 0.25rem;
}

.project-detail-action-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-url-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.url-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.blog-url-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.blog-url-input:focus {
    outline: none;
    border-color: #667eea;
}

.complete-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    white-space: nowrap;
}

.complete-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.complete-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #cbd5e0;
}

.blog-content-textarea {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    background-color: #f7fafc;
    resize: vertical;
    min-height: 200px;
    max-height: 500px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.apply-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.favorite-action-btn {
    padding: 0;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background-color: transparent;
    color: #c5cdd6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.43rem;
    height: 2.43rem;
    margin: 0;
    transition: color 0.2s, transform 0.2s;
}

.favorite-action-btn:hover {
    color: #e53e3e;
    transform: translateY(-1px);
}

.favorite-action-icon {
    width: 1.62rem;
    height: 1.62rem;
    display: block;
}

.favorite-action-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.favorite-action-btn.active {
    border-color: #e53e3e;
    color: #e53e3e;
}

.favorite-action-btn.active .favorite-action-icon path {
    fill: currentColor;
}

.apply-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.apply-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.applied-status-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #c6f6d5;
    color: #22543d;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input.form-input-readonly,
.form-group input[readonly] {
    background-color: #f4f4f5;
    color: #374151;
    cursor: default;
}

.form-group input.form-input-readonly:focus,
.form-group input[readonly]:focus {
    border-color: #ddd;
    box-shadow: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help-text {
    margin-top: 0.4rem;
    color: #666;
    font-size: 0.85rem;
}

.project-payment-credit-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #718096;
    font-weight: 500;
}

.sample-images-picker {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sample-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sample-image-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    overflow: hidden;
    background-color: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sample-image-remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: none;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sample-image-remove-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.sample-image-add-btn {
    cursor: pointer;
    color: #667eea;
    border-style: dashed;
    border-color: #c3dafe;
    background-color: #edf2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
}

.sample-image-add-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.cancel-btn,
.submit-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.cancel-btn {
    background-color: #e2e8f0;
    color: #4a5568;
}

.cancel-btn:hover {
    opacity: 0.8;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.submit-btn:hover:not(:disabled) {
    opacity: 0.9;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 파싱 페이지 스타일 */
.parsing-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 2rem;
    color: #333;
    font-weight: 600;
}

.parsing-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.url-input-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.url-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.url-input-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.url-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.fetch-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    white-space: nowrap;
}

.fetch-button:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.fetch-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.input-section {
    margin-bottom: 2rem;
}

.input-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.html-textarea {
    width: 100%;
    min-height: 400px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 1rem;
}

.html-textarea.first-page-textarea {
    min-height: 200px;
    background-color: #f5f5f5;
}

.html-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.html-textarea[readonly]:focus {
    border-color: #ddd;
    box-shadow: none;
}

.parse-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
}

.parse-button:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.parse-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.result-section {
    margin-top: 3rem;
    border-top: 2px solid #eee;
    padding-top: 2rem;
}

.result-item {
    margin-bottom: 2.5rem;
}

.result-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.result-content {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.parsed-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

.parsed-body {
    line-height: 1.8;
    color: #444;
}

.parsed-body img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
}

.parsed-body-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.body-count-label {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #666;
    text-align: right;
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    border-radius: 4px;
    display: none;
}

.body-count-label.body-count-label--short {
    color: #c53030;
    background: #fff5f5;
    font-weight: 600;
}

.parsed-empty {
    color: #999;
    font-style: italic;
    padding: 1rem;
    text-align: center;
}

.body-content {
    max-height: 600px;
    overflow-y: auto;
}

.images-content {
    padding: 1rem 0;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 4px;
}

.image-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-link {
    display: block;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.image-link:hover {
    opacity: 0.9;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 75px;
    object-fit: contain;
    background: #f5f5f5;
}

.maps-content {
    padding: 1rem 0;
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.map-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.map-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-item iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

.map-url {
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #666;
    word-break: break-all;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.map-item-html {
    padding: 1rem;
}

.map-html-content {
    background: white;
}

.map-html-content img.se-map-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.map-html-content .se-map-info {
    display: block;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: #f9f9f9;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
}

.map-html-content .se-map-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.map-html-content .se-map-address {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* 블로그 등록하기 팝업: 지도 미리보기 컴팩트 */
.apply-parsing-modal-content .map-item iframe {
    height: 64px !important;
}

.apply-parsing-modal-content .map-html-content img.se-map-image {
    max-height: 64px !important;
    object-fit: cover;
}

.apply-parsing-modal-content .map-html-content .se-map-info {
    padding: 0.28rem 0.32rem !important;
    margin-top: 0.05rem !important;
}

.apply-parsing-modal-content .map-url {
    padding: 0.28rem 0.35rem !important;
    margin-top: 0.05rem !important;
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
}

.apply-parsing-modal-content .map-html-content .se-map-title {
    font-size: 0.7rem !important;
    margin-bottom: 0.08rem !important;
    line-height: 1.15 !important;
}

.apply-parsing-modal-content .map-html-content .se-map-address {
    font-size: 0.6rem !important;
    line-height: 1.15 !important;
}

/* 마이 페이지 */
.mypage-main {
    padding-bottom: 3rem;
    /* 출금 테이블 등 넓은 내용에 맞춰 가로로 확장 (뷰포트 초과 시 페이지 단 스크롤) */
    max-width: none;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

.mypage-wrap {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.mypage-page-title {
    margin: 0 0 1.25rem;
    font-size: 1.75rem;
    color: #333;
}

.mypage-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
}

.mypage-card-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #444;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.mypage-blog-id-hint {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.88rem;
    color: #718096;
    line-height: 1.45;
}

.mypage-blog-id-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.mypage-blog-id-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #2d3748;
}

.mypage-blog-id-list li:last-child {
    border-bottom: none;
}

.mypage-blog-id-add-row {
    margin-top: 0.25rem;
}

.mypage-dl {
    margin: 0;
}

.mypage-dl-row {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.5rem 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.mypage-dl-row:last-child {
    border-bottom: none;
}

.mypage-dl-row dt {
    margin: 0;
    color: #718096;
    font-weight: 600;
}

.mypage-dl-row dd {
    margin: 0;
    color: #2d3748;
    word-break: break-all;
}

.mypage-dl-value-cell {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    justify-content: flex-start;
    min-width: 0;
}

.mypage-bank-cell {
    align-items: flex-start;
}

.mypage-bank-inner {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.mypage-bank-line {
    margin: 0.2rem 0 0;
    line-height: 1.45;
}

.mypage-bank-line:first-child {
    margin-top: 0;
}

.mypage-bank-k {
    color: #718096;
    font-weight: 600;
    margin-right: 0.35rem;
    font-size: 0.88rem;
}

.mypage-withdrawal-hint {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #718096;
}

.mypage-readonly-input {
    background: #f7fafc !important;
    color: #2d3748;
    cursor: default;
}

.mypage-withdrawal-table-wrap {
    margin-top: 0.5rem;
}

/* 마이페이지 입금·출금 테이블 스크롤 영역 (고정 높이) */
.mypage-history-scroll {
    max-height: 240px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    background: #fff;
}

.mypage-history-scroll .mypage-withdrawal-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 1px 0 #edf2f7;
}

.mypage-withdrawal-table {
    width: max-content;
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: auto;
}

.mypage-withdrawal-table th,
.mypage-withdrawal-table td {
    padding: 0.5rem 0.65rem;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    white-space: nowrap;
}

.mypage-withdrawal-table th {
    color: #718096;
    font-weight: 600;
    background: #f7fafc;
}

.mypage-withdrawal-table th.mypage-amount-cell,
.mypage-withdrawal-table td.mypage-amount-cell {
    text-align: right;
}

.mypage-withdrawal-table tbody tr:hover {
    background: #fafbff;
}

.mypage-empty-hint {
    margin: 0.75rem 0 0;
    color: #718096;
    font-size: 0.92rem;
}

.mypage-wd-status-cell {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mypage-wd-fail-info-btn {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    line-height: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: #5a67d8;
    background: #eef2ff;
    border: 1px solid #c3dafe;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.mypage-wd-fail-info-btn:hover {
    background: #e0e7ff;
    color: #434190;
}

.mypage-wd-fail-popover {
    position: fixed;
    z-index: 3000;
    max-width: min(22rem, calc(100vw - 1rem));
    padding: 0.65rem 0.85rem;
    background: #2d3748;
    color: #f7fafc;
    font-size: 0.88rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    border-radius: 0.45rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.mypage-dl-value-text {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.mypage-change-btn {
    flex-shrink: 0;
    padding: 0.32rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid #667eea;
    background: #fff;
    color: #5a67d8;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.mypage-change-btn:hover {
    background: #eef2ff;
    color: #4c51bf;
}

/* 크레딧 출금 — 변경 버튼(보라)과 구분 */
.mypage-withdraw-btn {
    flex-shrink: 0;
    padding: 0.32rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid #dd6b20;
    background: #fffaf0;
    color: #c05621;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
        opacity 0.15s ease;
}

.mypage-withdraw-btn:hover:not(:disabled) {
    background: #feebc8;
    color: #9c4221;
    border-color: #c05621;
}

.mypage-withdraw-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* 크레딧 입금 (의뢰인·관리자) */
.mypage-deposit-btn {
    flex-shrink: 0;
    padding: 0.32rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid #38a169;
    background: #f0fff4;
    color: #276749;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mypage-deposit-btn:hover {
    background: #c6f6d5;
    color: #22543d;
    border-color: #2f855a;
}

.mypage-ct-history-loading {
    padding: 1rem;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.mypage-field-modal-content {
    max-width: 420px;
}

.mypage-field-modal-body {
    padding-top: 0.25rem;
}

.mypage-field-modal .modal-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.mypage-reauth-hint {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.45;
}

.mypage-password-mask {
    font-family: ui-monospace, monospace;
    letter-spacing: 0.12em;
    user-select: none;
    color: #4a5568;
}

.mypage-password-modal-content {
    max-width: 440px;
}

.mypage-form .submit-btn {
    margin-top: 0.25rem;
}

.mypage-form-message {
    margin: 0.75rem 0 0;
    padding: 0.5rem 0.65rem;
    border-radius: 0.35rem;
    font-size: 0.9rem;
}

.mypage-form-message--ok {
    background: #c6f6d5;
    color: #22543d;
}

.mypage-form-message--error {
    background: #fed7d7;
    color: #742a2a;
}

.credit-topup-modal-content {
    max-width: 28rem;
}

.credit-topup-current-line {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #444;
}

.credit-topup-platform-box {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    padding: 1rem 1rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    color: #333;
}

.credit-topup-platform-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.credit-topup-platform-box p {
    margin: 0.35rem 0;
}

.credit-topup-label {
    display: inline-block;
    min-width: 4.5rem;
    color: #718096;
    font-size: 0.88rem;
}

.credit-topup-instruction {
    margin-bottom: 0.85rem;
    line-height: 1.45;
}

.credit-topup-amount-group {
    margin-top: 0.5rem;
}

