/* ===========================================
   FAQ & 가이드 스타일 v2.0
   Toss-inspired Minimal Design
   =========================================== */

/* ===================
   1. 공통 레이아웃
   =================== */

.fw-faq,
.fw-guide {
    min-height: 60vh;
    background-color: #fff;
}

.fw-faq__container,
.fw-guide__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================
   2. FAQ Hero 섹션
   =================== */

.fw-faq__hero {
    padding: 80px 24px 48px;
    text-align: center;
    background: #fff;
}

.fw-faq__hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #191f28;
    margin: 0 0 32px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* 검색바 - Toss 스타일 밑줄형 */
.fw-faq__search-wrap {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.fw-faq__search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 12, 30, 0.4);
    pointer-events: none;
}

.fw-faq__search-input {
    width: 100%;
    padding: 14px 16px 14px 32px;
    border: none;
    border-bottom: 2px solid rgba(0, 12, 30, 0.15);
    font-size: 18px;
    color: #191f28;
    background: transparent;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.fw-faq__search-input:focus {
    border-bottom-color: var(--primary-color);
}

.fw-faq__search-input::placeholder {
    color: rgba(0, 12, 30, 0.35);
}

/* 빠른 링크 */
.fw-faq__quick-links {
    max-width: 100%;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.fw-faq__quick-label {
    display: none;
    font-size: 13px;
    color: rgba(0, 12, 30, 0.4);
    margin-right: 4px;
    flex-shrink: 0;
}

.fw-faq__quick-btn {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #e5e8eb;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    color: #4e5968;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fw-faq__quick-btn:hover {
    background: #f2f4f6;
    border-color: #d1d6db;
    color: #333d4b;
}

/* ===================
   2-1. 가이드 Hero 섹션
   =================== */

.fw-guide__hero {
    padding: 80px 24px 48px;
    text-align: center;
    background: #fff;
}

.fw-guide__hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #191f28;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.fw-guide__hero-desc {
    font-size: 16px;
    color: #4e5968;
    margin: 0;
    line-height: 1.6;
}

/* ===================
   3. 카테고리 탭 (공통)
   =================== */

.fw-faq__nav,
.fw-guide__nav {
    background: #fff;
    border-bottom: 1px solid #f2f4f6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.fw-faq__nav-inner,
.fw-guide__nav-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fw-faq__nav-inner::-webkit-scrollbar,
.fw-guide__nav-inner::-webkit-scrollbar {
    display: none;
}

.fw-faq__cat-btn,
.fw-guide__cat-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1px solid #e5e8eb;
    border-radius: 20px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #4e5968;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fw-faq__cat-btn:hover,
.fw-guide__cat-btn:hover {
    background: #f2f4f6;
    border-color: #d1d6db;
}

.fw-faq__cat-btn.active,
.fw-guide__cat-btn.active {
    background: #191f28;
    color: #fff;
    border-color: #191f28;
    font-weight: 600;
}

/* ===================
   4. FAQ 아코디언
   =================== */

.fw-faq__body {
    padding: 40px 0 80px;
}

.fw-faq__group {
    margin-bottom: 10px;
}

.fw-faq__group[data-hidden="true"] {
    display: none;
}

.fw-faq__group-title {
    font-size: 15px;
    font-weight: 600;
    color: #4e5968;
    margin: 0 0 8px;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.fw-faq__list {
    display: flex;
    flex-direction: column;
}

.fw-faq__item {
    border-bottom: 1px solid #f2f4f6;
    transition: background 0.2s ease;
}

.fw-faq__item:first-child {
    border-top: 1px solid #f2f4f6;
}

.fw-faq__item:hover {
    background: #fafbfc;
}

.fw-faq__item.highlight .fw-faq__q-text::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.fw-faq__item[data-hidden="true"] {
    display: none;
}

.fw-faq__question {
    width: 100%;
    padding: 20px 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fw-faq__q-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #191f28;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.fw-faq__q-arrow {
    flex-shrink: 0;
    color: #8b95a1;
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
}

.fw-faq__item.open .fw-faq__q-arrow {
    transform: rotate(180deg);
}

.fw-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fw-faq__answer-inner {
    padding: 0 0 24px;
    font-size: 15px;
    color: #4e5968;
    line-height: 1.8;
}

.fw-faq__answer-inner p:first-child {
    margin-top: 0;
}

.fw-faq__answer-inner p:last-child {
    margin-bottom: 0;
}

.fw-faq__answer-inner a {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* 검색 결과 없음 */
.fw-faq__empty {
    text-align: center;
    padding: 80px 20px;
    color: #8b95a1;
}

.fw-faq__empty svg {
    margin-bottom: 16px;
    color: #d1d6db;
}

.fw-faq__empty p {
    font-size: 16px;
    font-weight: 500;
    color: #4e5968;
    margin: 0 0 4px;
}

.fw-faq__empty-sub {
    font-size: 14px;
    color: #8b95a1;
}

/* ===================
   4-1. FAQ 하단 CTA
   =================== */

.fw-faq__cta {
    background: #f9fafb;
    padding: 48px 24px;
    border-top: 1px solid #f2f4f6;
}

.fw-faq__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fw-faq__cta-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #191f28;
    margin: 0 0 4px;
}

.fw-faq__cta-text p {
    font-size: 14px;
    color: #4e5968;
    margin: 0;
}

.fw-faq__cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    text-decoration: none !important;
    border: 0;
}

.fw-faq__cta-btn:hover {
    opacity: 0.9;
}

/* ===================
   5. 가이드 Split-Panel 레이아웃
   =================== */

.fw-guide {
    background: #fff;
}

.fw-guide__layout {
    display: flex;
    min-height: calc(100vh - 80px);
    position: relative;
}

/* 좌측 사이드바 */
.fw-guide__sidebar {
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid #f2f4f6;
    background: #fafbfc;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: 100vh;
}

.fw-guide__sidebar-overlay {
    display: none;
}

.fw-guide__sidebar-header {
    padding: 32px 24px 20px;
    border-bottom: 1px solid #f2f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fw-guide__sidebar-close {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: #f2f4f6;
    border-radius: 50%;
    cursor: pointer;
    color: #4e5968;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.fw-guide__sidebar-close:hover {
    background: #e5e8eb;
}

.fw-guide__sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #191f28;
    margin: 0;
    letter-spacing: -0.02em;
}

.fw-guide__sidebar-nav {
    padding: 12px 0;
}

.fw-guide__nav-group {
    padding: 0 0 8px;
}

.fw-guide__nav-group-title {
    font-size: 12px;
    font-weight: 600;
    color: #8b95a1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 16px 24px 6px;
    margin: 0;
}

.fw-guide__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fw-guide__nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #4e5968;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.fw-guide__nav-item:hover {
    background: #f2f4f6;
    color: #191f28;
}

.fw-guide__nav-item.active {
    background: #eef3ff;
    color: var(--primary-color);
    font-weight: 600;
    border-right: 3px solid var(--primary-color);
}

.fw-guide__nav-item-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fw-guide__nav-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
}

.fw-guide__nav-badge--beginner {
    background: #e8f8f0;
    color: #34a45d;
}

.fw-guide__nav-badge--intermediate {
    background: #fff3e0;
    color: #fb8500;
}

.fw-guide__nav-badge--advanced {
    background: #fde8e8;
    color: #ef4444;
}

/* 모바일 토글 */
.fw-guide__mobile-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    padding: 12px 20px;
    background: #191f28;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
}

.fw-guide__mobile-toggle:hover {
    background: #333d4b;
}

/* 우측 콘텐츠 영역 */
.fw-guide__content {
    flex: 1;
    min-width: 0;
    padding: 48px 56px 80px;
    max-width: 800px;
}

/* 가이드 기사 */
.fw-guide__article {
    display: none;
}

.fw-guide__article.active {
    display: block;
}

.fw-guide__article-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f2f4f6;
}

.fw-guide__article-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.fw-guide__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #e5e8eb;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #4e5968;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.fw-guide__share-btn:hover {
    background: #f2f4f6;
    border-color: #d1d6db;
    color: #191f28;
}

.fw-guide__article-cat {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.fw-guide__article-title {
    font-size: 28px;
    font-weight: 700;
    color: #191f28;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.fw-guide__article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fw-guide__tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f2f4f6;
    color: #8b95a1;
}

.fw-guide__tag--beginner {
    background: #e8f8f0;
    color: #34a45d;
}

.fw-guide__tag--intermediate {
    background: #fff3e0;
    color: #fb8500;
}

.fw-guide__tag--advanced {
    background: #fde8e8;
    color: #ef4444;
}

.fw-guide__tag--time {
    background: #f2f4f6;
    color: #8b95a1;
}

/* 가이드 본문 */
.fw-guide__article-body {
    font-size: 16px;
    color: #333d4b;
    line-height: 1.8;
}

.fw-guide__article-body h1,
.fw-guide__article-body h2,
.fw-guide__article-body h3 {
    color: #191f28;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.fw-guide__article-body h2 {
    font-size: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f2f4f6;
}

.fw-guide__article-body h3 {
    font-size: 17px;
}

.fw-guide__article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

.fw-guide__article-body ul,
.fw-guide__article-body ol {
    padding-left: 20px;
    margin: 12px 0;
}

.fw-guide__article-body li {
    margin-bottom: 6px;
    list-style: disc;
}

.fw-guide__article-body ol li {
    list-style: decimal;
}

.fw-guide__article-body a {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.fw-guide__article-body blockquote {
    border-left: 3px solid var(--primary-color);
    background: #f9fafb;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    color: #4e5968;
}

.fw-guide__article-body code {
    background: #f2f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: #e83e8c;
}

/* 이전/다음 네비게이션 */
.fw-guide__article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #f2f4f6;
}

.fw-guide__article-nav-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border: 1px solid #e5e8eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.fw-guide__article-nav-btn:hover {
    border-color: var(--primary-color);
    background: #f9fafb;
}

.fw-guide__article-nav-btn--next {
    text-align: right;
}

.fw-guide__article-nav-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #8b95a1;
}

.fw-guide__article-nav-btn--next .fw-guide__article-nav-label {
    justify-content: flex-end;
}

.fw-guide__article-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #191f28;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 빈 상태 */
.fw-guide__empty-page {
    text-align: center;
    padding: 120px 20px;
    color: #8b95a1;
}

.fw-guide__empty-page svg {
    margin-bottom: 16px;
    color: #d1d6db;
}

.fw-guide__empty-page p {
    font-size: 16px;
    font-weight: 500;
    color: #4e5968;
    margin: 0;
}

/* ===================
   6. 가이드 공유 팝업
   =================== */

.fw-guide__share-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fw-guide__share-popup.open {
    display: flex;
}

.fw-guide__share-popup-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    animation: fw-modal-in 0.25s ease;
}

.fw-guide__share-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.fw-guide__share-popup-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #191f28;
    margin: 0;
}

.fw-guide__share-popup-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f2f4f6;
    border-radius: 50%;
    cursor: pointer;
    color: #4e5968;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.fw-guide__share-popup-close:hover {
    background: #e5e8eb;
}

.fw-guide__share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.fw-guide__share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid #f2f4f6;
    border-radius: 12px;
    text-decoration: none !important;
    color: #333d4b !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fw-guide__share-option:hover {
    background: #f9fafb;
    border-color: #e5e8eb;
}

.fw-guide__share-option img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.fw-guide__share-option span {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.fw-guide__share-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-guide__share-icon--kakao {
    background: #fee500;
    color: #3c1e1e;
}

.fw-guide__share-icon--copy {
    background: #f2f4f6;
    color: #4e5968;
}

/* 사이드바 nav-item 링크 스타일 리셋 */
a.fw-guide__nav-item {
    text-decoration: none !important;
    color: #4e5968 !important;
}

a.fw-guide__nav-item:hover {
    color: #191f28 !important;
}

a.fw-guide__nav-item.active {
    color: var(--primary-color) !important;
}

/* ===================
   7. 반응형
   =================== */

@media (max-width: 768px) {
    .fw-faq__hero,
    .fw-guide__hero {
        padding: 56px 20px 36px;
    }

    .fw-faq__hero-title,
    .fw-guide__hero-title {
        font-size: 24px;
    }

    .fw-guide__hero-desc {
        font-size: 15px;
    }

    .fw-faq__search-input {
        font-size: 16px;
    }

    .fw-faq__container,
    .fw-guide__container {
        padding: 0 20px;
    }

    .fw-faq__nav-inner,
    .fw-guide__nav-inner {
        padding: 10px 20px;
    }

    .fw-faq__body,
    .fw-guide__body {
        padding: 24px 0 60px;
    }

    .fw-faq__group {
        margin-bottom: 32px;
    }

    .fw-faq__question {
        padding: 16px 0;
    }

    .fw-faq__q-text {
        font-size: 15px;
    }

    .fw-faq__answer-inner {
        font-size: 14px;
        padding-bottom: 20px;
    }

    /* 가이드 split-panel 모바일 */
    .fw-guide__sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 299;
        background: rgba(0, 0, 0, 0.5);
    }

    .fw-guide__sidebar-overlay.open {
        display: block;
    }

    .fw-guide__sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 300;
        width: 300px;
        height: 100%;
        border-right: none;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: none;
    }

    .fw-guide__sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .fw-guide__sidebar-close {
        display: flex;
    }

    .fw-guide__mobile-toggle {
        display: flex;
    }

    .fw-guide__content {
        padding: 32px 20px 100px;
    }

    .fw-guide__article-title {
        font-size: 22px;
    }

    .fw-guide__article-nav {
        grid-template-columns: 1fr;
    }

    .fw-guide__share-btn span {
        display: none;
    }

    .fw-guide__share-btn {
        padding: 8px;
    }

    /* CTA */
    .fw-faq__cta {
        padding: 36px 20px;
    }

    .fw-faq__cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .fw-faq__cta-btn {
        width: 100%;
        justify-content: center;
    }

    /* 빠른 링크 */
    .fw-faq__quick-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .fw-faq__hero,
    .fw-guide__hero {
        padding: 44px 16px 28px;
    }

    .fw-faq__hero-title,
    .fw-guide__hero-title {
        font-size: 22px;
    }

    .fw-faq__cat-btn,
    .fw-guide__cat-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    .fw-guide__article-title {
        font-size: 20px;
    }

    .fw-guide__article-body {
        font-size: 15px;
    }
}

/* ===================
   8. 1:1 문의 모달
   =================== */

.fw-contact-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.fw-contact-overlay.open {
    display: flex;
}

.fw-contact-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fw-modal-in 0.25s ease;
}

@keyframes fw-modal-in {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.fw-contact-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 0;
}

.fw-contact-modal__header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #191f28;
    margin: 0;
}

.fw-contact-modal__close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f2f4f6;
    border-radius: 50%;
    cursor: pointer;
    color: #4e5968;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.fw-contact-modal__close:hover {
    background: #e5e8eb;
}

.fw-contact-modal__body {
    padding: 24px 28px 28px;
}

.fw-contact-field {
    margin-bottom: 16px;
}

.fw-contact-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333d4b;
    margin-bottom: 6px;
}

.fw-contact-field label .required {
    color: #ef4444;
}

.fw-contact-field input,
.fw-contact-field select,
.fw-contact-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e8eb;
    border-radius: 10px;
    font-size: 15px;
    color: #191f28;
    background: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.fw-contact-field input:focus,
.fw-contact-field select:focus,
.fw-contact-field textarea:focus {
    border-color: var(--primary-color);
}

.fw-contact-field input::placeholder,
.fw-contact-field textarea::placeholder {
    color: #b0b8c1;
}

.fw-contact-field textarea {
    resize: vertical;
    min-height: 100px;
}

.fw-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fw-contact-notice {
    font-size: 13px;
    color: #8b95a1;
    margin: 0 0 16px;
}

.fw-contact-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.fw-contact-submit:hover {
    opacity: 0.9;
}

.fw-contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 모달 반응형 */
@media (max-width: 480px) {
    .fw-contact-modal__header {
        padding: 20px 20px 0;
    }

    .fw-contact-modal__body {
        padding: 20px;
    }

    .fw-contact-row {
        grid-template-columns: 1fr;
    }

    .fw-contact-modal {
        border-radius: 12px;
    }
}
