/* ==========================================================================
   apply.css — K-인똥구리 체험 신청 페이지
   about.html과 동일한 크림/베이지 · 손글씨 감성 · 명조 스타일
   ========================================================================== */
:root {
    --ap-cream:   #F7F3EA;
    --ap-cream2:  #EDE8DC;
    --ap-cream3:  #FBF8F2;
    --ap-green:   #4A7C59;
    --ap-green2:  #6B9B6B;
    --ap-brown:   #8B6F47;
    --ap-brown2:  #C4A882;
    --ap-orange:  #E8723A;
    --ap-red:     #C0392B;
    --ap-text:    #3D2B1F;
    --ap-text2:   #6B5744;
    --ap-text3:   #9B8878;
    --ap-border:  #D4C9B6;
}

html { scroll-behavior: smooth; }
.apply-page * { box-sizing: border-box; margin: 0; padding: 0; }
.apply-page { background: var(--ap-cream); color: var(--ap-text); overflow-x: hidden; }
.apply-page a { text-decoration: none; color: inherit; }
.apply-page ul { list-style: none; }
.apply-page img { max-width: 100%; display: block; }
.ap-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* 스크롤 애니메이션 */
.apply-page [data-anim] { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.25,.8,.25,1); }
.apply-page [data-anim="fade-up"]    { transform: translateY(40px); }
.apply-page [data-anim="fade-down"]  { transform: translateY(-30px); }
.apply-page [data-anim="fade-left"]  { transform: translateX(-40px); }
.apply-page [data-anim="fade-right"] { transform: translateX(40px); }
.apply-page [data-anim="zoom-in"]    { transform: scale(0.88); }
.apply-page [data-anim].anim-in { opacity: 1; transform: none; }
.apply-page [data-delay="100"] { transition-delay: .10s; }
.apply-page [data-delay="200"] { transition-delay: .20s; }
.apply-page [data-delay="300"] { transition-delay: .30s; }

/* ==========================================================================
   1. 히어로 섹션
   ========================================================================== */
.ap-hero {
    background: var(--ap-cream);
    padding: 80px 0 60px;
    position: relative; overflow: hidden;
    text-align: center;
    border-bottom: 1.5px solid var(--ap-border);
}
.ap-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(74,124,89,0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(232,114,58,0.05) 0%, transparent 40%);
    pointer-events: none;
}
.ap-hero-inner { position: relative; z-index: 1; }
.ap-hero-leaves {
    color: var(--ap-green2); font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 18px;
}
.ap-hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 0.78rem; color: var(--ap-green);
    letter-spacing: 0.08em; margin-bottom: 18px;
    border-bottom: 1.5px solid var(--ap-green2); padding-bottom: 4px;
}
.ap-hero-label i { font-size: 1rem; }
.ap-hero-title {
    font-family: 'Nanum Brush Script', cursive;
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 1.4; color: var(--ap-text); margin-bottom: 18px; word-break: keep-all;
}
.ap-hero-title em { color: var(--ap-green); font-style: normal; }
.ap-hero-title .ot { color: var(--ap-orange); font-style: normal; }
.ap-hero-desc {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: clamp(0.95rem, 1.6vw, 1.06rem);
    color: var(--ap-text2); line-height: 2.0; word-break: keep-all;
    max-width: 560px; margin: 0 auto 24px; letter-spacing: -0.01em;
}
.ap-leaf-row {
    display: flex; align-items: center; gap: 12px;
    margin: 0 auto 20px; color: var(--ap-green2); font-size: 1.1rem; max-width: 320px;
}
.ap-leaf-row-line { flex: 1; height: 1px; background: var(--ap-border); }
.ap-hero-sig {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 0.86rem; color: var(--ap-text3);
    display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.04em;
}
.ap-sig-seal {
    width: 24px; height: 24px; background: #B92B27;
    border: 1px solid rgba(255,255,255,0.65); outline: 1.5px solid #B92B27; outline-offset: 1px;
    border-radius: 3px; display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; color: #FFFDF9;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 0.44rem;
    line-height: 1; letter-spacing: -0.04em; transform: rotate(-3deg);
    box-shadow: 1px 2px 5px rgba(185,43,39,0.35); user-select: none; flex-shrink: 0;
}
.ap-sig-seal span { display: block; transform: scale(0.92); }
.ap-sig-flower { width: 16px; height: 16px; object-fit: contain; display: inline-block; }

/* ==========================================================================
   2. 신청 유형 선택 섹션
   ========================================================================== */
.ap-type-section { padding: 60px 0 0; }
.ap-section-label {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.76rem; color: var(--ap-green);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}
.ap-section-title {
    font-family: 'Nanum Brush Script', cursive;
    font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ap-text); line-height: 1.35; margin-bottom: 8px;
}
.ap-section-title em { color: var(--ap-green); font-style: normal; }
.ap-section-desc {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.92rem;
    color: var(--ap-text2); line-height: 1.8; margin-bottom: 32px; word-break: keep-all;
}
.ap-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.ap-type-card { cursor: pointer; position: relative; }
.ap-type-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ap-type-inner {
    background: var(--ap-cream3); border: 2px solid var(--ap-border); border-radius: 6px;
    padding: 30px 22px 26px; text-align: center;
    box-shadow: 4px 6px 18px rgba(61,43,31,0.07);
    transition: border-color .3s, box-shadow .3s, transform .3s; position: relative; overflow: hidden;
}
.ap-type-inner::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 56px; height: 14px; background: rgba(196,168,130,0.5); border-radius: 0 0 4px 4px;
}
/* ── 출강 신청 카드 (그린) ── */
#ap-type-school input:checked + .ap-type-inner {
    border-color: var(--ap-green);
    box-shadow: 0 0 0 3px rgba(74,124,89,0.18), 6px 12px 28px rgba(61,43,31,0.14);
    transform: translateY(-4px);
}
#ap-type-school input:checked + .ap-type-inner .ap-type-check {
    background: var(--ap-green); border-color: var(--ap-green); color: #fff;
}
#ap-type-school .ap-type-icon { color: var(--ap-green); }
#ap-type-school .ap-type-badge {
    color: var(--ap-green); background: rgba(74,124,89,0.1); border: 1px solid rgba(74,124,89,0.25);
}

/* ── 방문 체험 카드 (메인 주황 버튼 테마 #FF6B2C / #E8723A) ── */
#ap-type-visit input:checked + .ap-type-inner {
    border-color: var(--ap-orange);
    box-shadow: 0 0 0 3px rgba(232,114,58,0.22), 6px 12px 28px rgba(232,114,58,0.16);
    transform: translateY(-4px);
}
#ap-type-visit input:checked + .ap-type-inner .ap-type-check {
    background: linear-gradient(135deg, #FF6B2C 0%, #E8723A 100%);
    border-color: var(--ap-orange); color: #fff;
}
#ap-type-visit .ap-type-icon { color: var(--ap-orange); }
#ap-type-visit .ap-type-badge {
    color: var(--ap-orange); background: rgba(232,114,58,0.12); border: 1px solid rgba(232,114,58,0.3);
}

.ap-type-card:hover .ap-type-inner { transform: translateY(-3px); }
.ap-type-check {
    position: absolute; top: 18px; right: 18px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--ap-border); border: 2px solid var(--ap-border);
    display: flex; align-items: center; justify-content: center;
    color: transparent; font-size: 0.75rem;
    transition: background .25s, border-color .25s, color .25s;
}
.ap-type-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; transition: color .25s; }
.ap-type-name { font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--ap-text); margin-bottom: 8px; letter-spacing: -0.02em; }
.ap-type-badge {
    display: inline-block; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.7rem;
    border-radius: 2px; padding: 2px 8px; margin-bottom: 10px; letter-spacing: 0.04em;
    transition: all .25s;
}
.ap-type-desc { font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.82rem; color: var(--ap-text2); line-height: 1.7; word-break: keep-all; }

/* ==========================================================================
   3. 신청 폼 카드
   ========================================================================== */
.ap-form-section { padding: 40px 0 80px; }
.ap-form-card {
    background: var(--ap-cream3); border: 1px solid var(--ap-border); border-radius: 6px;
    padding: 44px 44px 36px; box-shadow: 6px 10px 32px rgba(61,43,31,0.09);
    position: relative; overflow: hidden;
}
.ap-form-card::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 72px; height: 16px; background: rgba(196,168,130,0.45); border-radius: 0 0 6px 6px;
}
.ap-form-leaves {
    color: var(--ap-green2); font-size: 0.9rem;
    display: flex; justify-content: center; gap: 6px; margin-bottom: 24px;
}
.ap-form-title {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    color: var(--ap-text); text-align: center; margin-bottom: 8px; letter-spacing: -0.02em;
}
.ap-form-subtitle {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.85rem; color: var(--ap-text3);
    text-align: center; margin-bottom: 32px; line-height: 1.7;
}
.ap-form-divider {
    height: 1px; background: var(--ap-border); margin: 28px 0; position: relative;
}
.ap-form-divider::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 32px; height: 4px; background: var(--ap-green2); border-radius: 2px; opacity: 0.5;
}
.ap-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.ap-field-row.single { grid-template-columns: 1fr; }
.ap-field-group { display: flex; flex-direction: column; }
.ap-label {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.8rem; color: var(--ap-text2);
    margin-bottom: 7px; display: flex; align-items: center; gap: 4px;
}
.ap-label-req { color: var(--ap-red); font-size: 0.9rem; line-height: 1; }
.ap-input,
.ap-select,
.ap-textarea {
    width: 100%; padding: 11px 14px; background: #fff; border: 1.5px solid var(--ap-border);
    border-radius: 4px; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.9rem;
    color: var(--ap-text); line-height: 1.5; transition: border-color .25s, box-shadow .25s;
    appearance: none; -webkit-appearance: none;
}
.ap-input::placeholder, .ap-textarea::placeholder { color: var(--ap-text3); font-size: 0.84rem; }
.ap-input:focus, .ap-select:focus, .ap-textarea:focus {
    border-color: var(--ap-green); box-shadow: 0 0 0 3px rgba(74,124,89,0.12); outline: none;
}
.ap-input.ap-error, .ap-select.ap-error, .ap-textarea.ap-error {
    border-color: var(--ap-red); box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.ap-textarea { min-height: 110px; resize: vertical; }
.ap-select-wrap { position: relative; }
.ap-select-wrap::after {
    content: ''; position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-top: 5px solid var(--ap-text3); pointer-events: none;
}
.ap-field-error { font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.76rem; color: var(--ap-red); margin-top: 5px; display: none; }
.ap-field-error.show { display: block; }

/* ==========================================================================
   4. 개인정보 동의
   ========================================================================== */
.ap-privacy-box {
    background: var(--ap-cream2); border: 1.5px solid var(--ap-border); border-radius: 6px;
    padding: 16px 20px; margin-bottom: 20px;
    transition: border-color .2s ease;
}
.ap-privacy-agree-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.ap-privacy-agree {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none;
}
.ap-privacy-agree input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--ap-green); cursor: pointer;
    flex-shrink: 0; border-radius: 3px;
}
.ap-privacy-agree-txt {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--ap-text);
}
.ap-privacy-btn-modal {
    display: inline-flex; align-items: center; gap: 4px;
    background: #FFFDF9; border: 1px solid var(--ap-border);
    color: var(--ap-text2); font-size: 0.78rem; font-weight: 600;
    padding: 5px 12px; border-radius: 4px; cursor: pointer;
    transition: all .2s ease; font-family: 'Noto Sans KR', sans-serif;
}
.ap-privacy-btn-modal:hover {
    background: var(--ap-green); color: #ffffff; border-color: var(--ap-green);
    transform: translateY(-1px);
}
.apply-page.ap-theme-visit .ap-privacy-btn-modal:hover {
    background: var(--ap-orange); border-color: var(--ap-orange);
}

/* ── 개인정보 수집·이용 동의 전문 모달 팝업 ── */
.ap-privacy-modal-overlay {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.ap-privacy-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(30, 24, 20, 0.65);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.ap-privacy-modal-container {
    position: relative; z-index: 10;
    width: 100%; max-width: 580px; max-height: 90vh;
    background: #FFFDF9; border: 2px solid #E2D9C8;
    border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    display: flex; flex-direction: column; overflow: hidden;
    animation: apModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes apModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.ap-privacy-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; background: #F7F3EA; border-bottom: 1.5px solid #E2D9C8;
}
.ap-privacy-modal-title {
    font-size: 1.05rem; font-weight: 800; color: #3D2B1F;
    display: flex; align-items: center; gap: 8px; margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
}
.ap-privacy-modal-title i { color: #4A7C59; font-size: 1.2rem; }
.apply-page.ap-theme-visit .ap-privacy-modal-title i { color: #E8723A; }

.ap-privacy-modal-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: transparent; border: 1px solid #D4C9B6;
    color: #6B5744; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s ease;
}
.ap-privacy-modal-close:hover {
    background: #4A7C59; color: #fff; border-color: #4A7C59;
}
.apply-page.ap-theme-visit .ap-privacy-modal-close:hover {
    background: #E8723A; border-color: #E8723A;
}

.ap-privacy-modal-body {
    padding: 22px; overflow-y: auto; max-height: calc(90vh - 140px);
    font-family: 'Noto Sans KR', sans-serif; color: #4A3E35;
    font-size: 0.84rem; line-height: 1.75;
}
.ap-pv-intro {
    font-size: 0.86rem; color: #3D2B1F; margin-bottom: 16px; word-break: keep-all; line-height: 1.6;
}
.ap-pv-table {
    width: 100%; border-collapse: collapse; margin-bottom: 16px;
    border: 1px solid #E2D9C8; border-radius: 6px; overflow: hidden;
}
.ap-pv-table th, .ap-pv-table td {
    padding: 10px 12px; border: 1px solid #E2D9C8; font-size: 0.8rem; text-align: left;
}
.ap-pv-table th {
    background: #F7F3EA; color: #3D2B1F; font-weight: 700; width: 30%; white-space: nowrap;
}
.ap-pv-table td { background: #FFFFFF; color: #5A4D41; }

.ap-pv-sec { margin-bottom: 14px; }
.ap-pv-sec-title {
    font-size: 0.88rem; font-weight: 700; color: #3D2B1F; margin-bottom: 4px;
    display: flex; align-items: center; gap: 6px;
}
.ap-pv-sec-title i { color: #4A7C59; font-size: 0.8rem; }
.apply-page.ap-theme-visit .ap-pv-sec-title i { color: #E8723A; }
.ap-pv-sec-desc { color: #6B5744; margin: 0; font-size: 0.82rem; }

.ap-privacy-modal-foot {
    display: flex; align-items: center; justify-content: flex-end; gap: 10px;
    padding: 14px 22px; background: #F7F3EA; border-top: 1.5px solid #E2D9C8;
}
.ap-pv-btn-close {
    padding: 9px 18px; border-radius: 4px; font-size: 0.84rem; font-weight: 700;
    background: #EDE8DC; border: 1px solid #D4C9B6; color: #5A4D41;
    cursor: pointer; transition: all .2s ease;
}
.ap-pv-btn-close:hover { background: #E2D9C8; color: #3D2B1F; }
.ap-pv-btn-agree {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 22px; border-radius: 4px; font-size: 0.84rem; font-weight: 700;
    background: #4A7C59; border: 1px solid #4A7C59; color: #FFFFFF;
    cursor: pointer; transition: all .2s ease; box-shadow: 0 4px 10px rgba(74,124,89,0.25);
}
.ap-pv-btn-agree:hover { background: #3C6548; }
.apply-page.ap-theme-visit .ap-pv-btn-agree {
    background: #E8723A; border-color: #E8723A; box-shadow: 0 4px 10px rgba(232,114,58,0.25);
}
.apply-page.ap-theme-visit .ap-pv-btn-agree:hover { background: #D45B25; }

/* ==========================================================================
   5. 제출 버튼
   ========================================================================== */
.ap-submit-wrap { text-align: center; margin-top: 28px; }
.ap-submit-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--ap-green); color: #ffffff;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 1.05rem; font-weight: 700;
    letter-spacing: 0.04em; padding: 15px 48px; border: none; border-radius: 2px;
    cursor: pointer; box-shadow: 0 6px 20px rgba(74,124,89,0.3);
    transition: background .25s, transform .25s, box-shadow .25s;
}
.ap-submit-btn:hover {
    background: var(--ap-green2); transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(74,124,89,0.4);
}
.ap-submit-btn:active { transform: translateY(0); }
.ap-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── 방문 체험(VISIT) 주황 테마 전환 스타일 ── */
.apply-page.ap-theme-visit .ap-section-label { color: var(--ap-orange); }
.apply-page.ap-theme-visit .ap-section-title em { color: var(--ap-orange); }
.apply-page.ap-theme-visit .ap-form-divider::after { background: var(--ap-orange); }
.apply-page.ap-theme-visit .ap-input:focus,
.apply-page.ap-theme-visit .ap-select:focus,
.apply-page.ap-theme-visit .ap-textarea:focus {
    border-color: var(--ap-orange);
    box-shadow: 0 0 0 3px rgba(232,114,58,0.15);
}
.apply-page.ap-theme-visit .ap-privacy-agree input[type="checkbox"] {
    accent-color: var(--ap-orange);
}
.apply-page.ap-theme-visit .ap-submit-btn {
    background: linear-gradient(135deg, #FF6B2C 0%, #E8723A 100%);
    box-shadow: 0 6px 20px rgba(232,114,58,0.35);
}
.apply-page.ap-theme-visit .ap-submit-btn:hover {
    background: linear-gradient(135deg, #E8723A 0%, #D45B25 100%);
    box-shadow: 0 10px 28px rgba(232,114,58,0.45);
}
.ap-submit-btn i { font-size: 1.1rem; }
.ap-submit-spinner {
    display: none; width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
    border-radius: 50%; animation: apSpin .7s linear infinite;
}
.ap-submitting .ap-submit-spinner { display: inline-block; }
.ap-submitting .ap-submit-icon { display: none; }
@keyframes apSpin { to { transform: rotate(360deg); } }

/* ==========================================================================
   6. 접수 완료 메시지 박스
   ========================================================================== */
.ap-success-box {
    display: none; text-align: center; padding: 60px 32px;
    background: var(--ap-cream3); border: 1px solid var(--ap-border); border-radius: 6px;
    box-shadow: 4px 8px 24px rgba(61,43,31,0.09); position: relative;
}
.ap-success-box::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 64px; height: 16px; background: rgba(196,168,130,0.45); border-radius: 0 0 6px 6px;
}
.ap-success-box.show { display: block; }
.ap-success-leaves { color: var(--ap-green2); font-size: 1.3rem; display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.ap-success-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(74,124,89,0.1); border: 2px solid rgba(74,124,89,0.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; font-size: 2rem; color: var(--ap-green);
    animation: apSuccessPop .55s cubic-bezier(.34,1.56,.64,1);
}
@keyframes apSuccessPop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.ap-success-title { font-family: 'Nanum Brush Script', cursive; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ap-text); margin-bottom: 12px; }
.ap-success-msg { font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.96rem; color: var(--ap-text2); line-height: 1.9; max-width: 480px; margin: 0 auto 28px; word-break: keep-all; }
.ap-success-sig { font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.84rem; color: var(--ap-text3); display: inline-flex; align-items: center; gap: 8px; }
.ap-success-seal {
    width: 24px; height: 24px; background: #B92B27;
    border: 1px solid rgba(255,255,255,0.65); outline: 1.5px solid #B92B27; outline-offset: 1px;
    border-radius: 3px; display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; color: #FFFDF9;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-weight: 900; font-size: 0.44rem;
    line-height: 1; letter-spacing: -0.04em; transform: rotate(-3deg);
    box-shadow: 1px 2px 5px rgba(185,43,39,0.35); user-select: none; flex-shrink: 0;
}
.ap-success-seal span { display: block; transform: scale(0.92); }
.ap-back-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
    padding: 11px 30px; background: transparent; border: 1.5px solid var(--ap-green);
    border-radius: 2px; color: var(--ap-green);
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; transition: background .25s, color .25s; text-decoration: none;
}
.ap-back-btn:hover { background: var(--ap-green); color: #fff; }

/* ==========================================================================
   7. 토스트 오류 메시지 — 화면 가로/세로 정가운데(Center)
   ========================================================================== */
.ap-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    background: rgba(45, 25, 18, 0.95);
    backdrop-filter: blur(8px);
    color: #FFFDF9;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    padding: 20px 36px;
    border-radius: 8px;
    border: 1.5px solid rgba(232, 114, 58, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    text-align: center;
    max-width: 90vw;
}
.ap-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* ==========================================================================
   8. 반응형 모바일
   ========================================================================== */
@media (max-width: 768px) {
    .ap-hero { padding: 60px 0 44px; }
    .ap-hero-title { font-size: 2.4rem; }
    .ap-type-grid { grid-template-columns: 1fr; gap: 14px; }
    .ap-form-card { padding: 32px 20px 28px; }
    .ap-field-row { grid-template-columns: 1fr; gap: 14px; }
    .ap-submit-btn { width: 100%; justify-content: center; padding: 14px 24px; }
    .ap-toast { width: calc(100% - 32px); white-space: normal; text-align: center; }
}
