/**
 * 파일명: bugo-public.css
 * 파일경로: /home/freebugocokr/public_html/css/bugo-public.css
 * 기능: 부고장 미리보기, 공유, 완료, 관리, 감사장 등 공개 화면 전용 스타일 정의
 * 작성일: 2026-05-08
 * 수정일: 2026-05-08
 * 주의:
 * - 기존 BugoController.php 안의 inline CSS와 충돌을 줄이기 위해
 *   public-bugo-* prefix를 사용한다.
*/

/* [부고 미리보기] 전체 래퍼 */
.public-bugo-page {
    padding-bottom: 130px;
}

.public-bugo-wrap {
    max-width: 620px;
    margin: 0 auto;
}

/* [부고 미리보기] 상단 안내 */
.public-bugo-preview-head {
    margin-bottom: 22px;
}

.public-bugo-preview-head h1 {
    margin-bottom: 10px;
}

.public-bugo-preview-head p {
    margin-top: 0;
    color: #555;
}

/* [부고 미리보기] 대표 카드 */
.public-bugo-hero-card {
    background: #fff;
    border: 1px solid #d0d0c8;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    padding: 34px 22px;
    margin-bottom: 22px;
    text-align: center;
}

/* [부고 미리보기] 프로필 이미지 + 부고 텍스트 이미지 영역 */
.public-bugo-symbols {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-bottom: 28px;
}

.public-bugo-profile-symbol {
    display: block;
    max-width: 180px;
    max-height: 150px;
    object-fit: contain;
}

.public-bugo-text-symbol {
    display: block;
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
}

/* [부고 미리보기] 메인 부고 문구 */
.public-bugo-main-copy {
    margin: 0;
    color: #111;
    font-size: 18px;
    line-height: 1.9;
    word-break: keep-all;
}

/* [부고 미리보기] 섹션 공통 */
.public-bugo-section {
    background: #fff;
    border: 1px solid #d0d0c8;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
    padding: 22px;
    margin-bottom: 18px;
}

.public-bugo-section h2 {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.35;
}

/* [부고 미리보기] 목록 */
.public-bugo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.public-bugo-list li {
    padding: 11px 0;
    border-bottom: 1px solid #eeeeea;
    line-height: 1.6;
}

.public-bugo-list li:last-child {
    border-bottom: 0;
}

.public-bugo-list-box {
    margin: 0;
    background: #f7f7f3;
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
}

.public-bugo-list-box .public-bugo-list li {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 15px 16px;
    border-bottom: 1px solid #e5e5dd;
    align-items: start;
}

.public-bugo-list-label {
    color: #4a7c59;
    font-weight: 900;
    display: block;
    min-width: 92px;
}

.public-bugo-list-value {
    color: #111;
    line-height: 1.6;
    word-break: keep-all;
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-bugo-account-no {
    justify-content: space-between;
}

.public-bugo-copy-account {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 11px;
    border: 0;
    border-radius: 999px;
    background: #4a7c59;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.public-bugo-list-box .public-bugo-list li:last-child {
    border-bottom: 0;
}

/* [부고 미리보기] 일정/정보 테이블 */
.public-bugo-table {
    margin: 0;
    background: #f7f7f3;
    border-radius: 14px;
    overflow: hidden;
}

.public-bugo-table div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 15px 16px;
    border-bottom: 1px solid #e5e5dd;
    text-align: left;
}

.public-bugo-table div:last-child {
    border-bottom: 0;
}

.public-bugo-table dt {
    color: #4a7c59;
    font-weight: 900;
}

.public-bugo-table dd {
    margin: 0;
    color: #111;
    line-height: 1.6;
}

/* [부고 미리보기] 안내 박스 */
.public-bugo-message-box {
    margin: 0;
    background: #f7f7f3;
    border-radius: 14px;
    padding: 16px;
    color: #222;
    line-height: 1.75;
    text-align: left;
    word-break: keep-all;
}

.public-bugo-map-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.public-bugo-map-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #4a7c59;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.public-bugo-kakao-map {
    width: 100%;
    height: 260px;
    margin-top: 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e5dd;
    background: #f7f7f3;
}

.public-bugo-map-note {
    margin: 10px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.public-bugo-support-section {
    text-align: center;
}

.public-bugo-support-section h2 {
    margin-bottom: 12px;
}

.public-bugo-support-section p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.public-bugo-support-warning {
    margin-top: 8px !important;
    color: #c2413a !important;
    font-weight: 800;
}

.public-bugo-support-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.public-bugo-support-actions button {
    min-height: 50px;
    border: 1px solid #4a7c59;
    border-radius: 12px;
    background: #fff;
    color: #4a7c59;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

/* [부고 미리보기] 조문 메시지 UI */
.public-bugo-guestbook-form label {
    display: block;
    margin: 0 0 7px;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
}

.public-bugo-guestbook-form input,
.public-bugo-guestbook-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 12px;
    border: 1px solid #d0d0c8;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    font-size: 15px;
    font-family: inherit;
}

.public-bugo-guestbook-form textarea {
    min-height: 96px;
    resize: vertical;
}

.public-bugo-guestbook-form button {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: #22282b;
    color: #fff;
    font-weight: 900;
    font-size: 15px;
}

.public-bugo-preview-note {
    margin: 12px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.55;
}

.public-bugo-empty-message {
    background: #fff;
    border: 1px dashed #d0d0c8;
    border-radius: 18px;
    padding: 28px 18px;
    margin-bottom: 18px;
    text-align: center;
    color: #666;
}


.public-bugo-content-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 8px;
}

.public-bugo-content-head label {
    margin: 0;
}

.public-bugo-content-head button {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #4a7c59;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

/* [부고 미리보기] 최종 확정 버튼 */
.public-bugo-confirm-form {
    margin-top: 18px;
}

.public-bugo-preview-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.public-bugo-preview-actions button {
    height: 52px;
    border-radius: 14px;
    border: 0;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.public-bugo-preview-actions .secondary {
    background: #fff;
    color: #4a7c59;
    border: 1px solid #4a7c59;
}

.public-bugo-preview-actions button[type="submit"] {
    background: var(--bugo-btn-bg);
    color: var(--bugo-btn-color);
    border: 1.5px solid var(--bugo-btn-border);
    font-weight: 600;
}
.public-bugo-preview-actions button[type="submit"]:hover { background: var(--bugo-btn-bg-hover); }

/* [부고 공유] 하단 고정 메뉴 - 간결형 */
.public-bugo-fixed-menu {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 80;
    width: min(620px, 100%);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid #d0d0c8;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    backdrop-filter: blur(10px);
}

.public-bugo-fixed-menu.is-two {
    grid-template-columns: repeat(2, 1fr);
}

.public-bugo-fixed-menu .fixed-menu-btn {
    min-height: 68px;
    border: 0;
    border-right: 1px solid #eeeeea;
    border-radius: 0;
    background: #fff;
    color: #3d6b4a;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.03em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-bugo-fixed-menu .fixed-menu-btn:last-child {
    border-right: 0;
}

.public-bugo-fixed-menu .fixed-menu-btn:active {
    background: #f7f7f3;
}

/* [부고 공유] 조의금 팝업 */
.public-bugo-donation-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
}

.public-bugo-donation-modal.is-open {
    display: block;
}

.public-bugo-donation-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .42);
}

.public-bugo-donation-modal__dialog {
    position: absolute;
    left: 50%;
    bottom: 96px;
    width: min(520px, calc(100% - 28px));
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #d0d0c8;
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
    overflow: hidden;
}

.public-bugo-donation-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: #4a7c59;
    color: #fff;
}

.public-bugo-donation-modal__header h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.public-bugo-donation-modal__header button {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.public-bugo-donation-modal__body {
    padding: 18px 20px;
    background: #f7f7f3;
}

/* [부고 미리보기] 모바일 보정 */
@media (max-width: 640px) {
    .public-bugo-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .public-bugo-hero-card {
        padding: 30px 18px;
    }

    .public-bugo-symbols {
        min-height: 200px;
    }

    .public-bugo-section {
        padding: 20px 18px;
    }

    .public-bugo-table div {
        grid-template-columns: 78px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .public-bugo-main-copy {
        font-size: 17px;
    }
}

/*
|--------------------------------------------------------------------------
| [부고 공유] 공유 화면 하단 일반 버튼
|--------------------------------------------------------------------------
| /bugo/share/{id} 화면에서 링크 복사, 새 부고장 만들기 버튼에 사용한다.
|--------------------------------------------------------------------------
*/

.public-bugo-share-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.public-bugo-share-actions button,
.public-bugo-share-actions a {
    height: 52px;
    border-radius: 14px;
    border: 1.5px solid var(--bugo-btn-border);
    background: var(--bugo-btn-bg);
    color: var(--bugo-btn-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.public-bugo-share-actions a {
    background: #fff;
    color: #4a7c59;
    border: 1px solid #4a7c59;
}

/**
 * [조문 메시지] 공유 부고장 조문 메시지 목록
 */
.public-bugo-guestbook-item {
    padding: 16px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 14px;
    background: #f1eadf;
    text-align: left;
}

.public-bugo-guestbook-item:last-child {
    margin-bottom: 0;
}

.public-bugo-guestbook-item strong {
    display: block;
    margin-bottom: 6px;
    color: #222;
    font-size: 15px;
}

.public-bugo-guestbook-item p {
    margin: 0 0 8px;
    color: #333;
    line-height: 1.65;
    word-break: keep-all;
}

.public-bugo-guestbook-item time {
    display: block;
    color: #888;
    font-size: 12px;
}

.public-bugo-section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.public-bugo-section-title-row h2 {
    margin: 0;
}

.public-bugo-section-title-row h2 span {
    color: #4a7c59;
    font-size: 16px;
}

/**
 * [조문 메시지 예문] 조문 메시지 입력 편의를 위한 예문 선택 버튼
 */
.public-bugo-example-box {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid #e5e5dd;
    border-radius: 14px;
    background: #f7f7f3;
}

.public-bugo-example-box p {
    margin: 0 0 10px;
    color: #555;
    font-size: 14px;
    font-weight: 800;
}

.public-bugo-example-box button {
    display: block;
    width: 100%;
    min-height: 42px;
    height: auto;
    margin: 6px 0;
    padding: 10px 12px;
    border: 1px solid #d0d0c8;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    line-height: 1.45;
    cursor: pointer;
}

.public-bugo-example-box button:hover {
    border-color: #4a7c59;
    color: #4a7c59;
    background: #f7fbf8;
}


/**
 * [조문 메시지 삭제] 공유 부고장 조문 메시지 삭제 폼
 */
.public-bugo-guestbook-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.public-bugo-guestbook-delete {
    margin-top: 10px;
    text-align: left;
}

.public-bugo-guestbook-delete summary {
    display: inline-flex;
    color: #888;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.public-bugo-guestbook-delete form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: end;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #eeeeea;
    border-radius: 12px;
    background: #fafafa;
}

.public-bugo-guestbook-delete label {
    margin: 0;
}

.public-bugo-guestbook-delete label span {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.public-bugo-guestbook-delete input {
    margin-top: 0;
    height: 40px;
    font-size: 14px;
}

.public-bugo-guestbook-delete button {
    height: 40px;
    border: 1px solid #dc3545;
    border-radius: 10px;
    background: #fff;
    color: #dc3545;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

/**
 * [조문 메시지 예문] 팝업형 예문 선택
 */

.public-bugo-example-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
}

.public-bugo-example-modal.is-open {
    display: block;
}

.public-bugo-example-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.public-bugo-example-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100% - 32px));
    margin: 80px auto;
    background: #fff;
    border: 1px solid #d0d0c8;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
}

.public-bugo-example-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e5dd;
}

.public-bugo-example-modal__header h3 {
    margin: 0;
    font-size: 18px;
}

.public-bugo-example-modal__header button {
    border: 1px solid #d0d0c8;
    border-radius: 10px;
    background: #fff;
    padding: 7px 10px;
    font-weight: 800;
    cursor: pointer;
}

.public-bugo-example-modal__body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.public-bugo-example-modal__body button {
    display: block;
    width: 100%;
    border: 1px solid #e5e5dd;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    color: #333;
    font-size: 15px;
    font-weight: 800;
    text-align: left;
    line-height: 1.5;
    cursor: pointer;
}

.public-bugo-example-modal__body button:hover {
    border-color: #4a7c59;
    background: #f7fbf8;
    color: #4a7c59;
}

@media (max-width: 520px) {
    .public-bugo-guestbook-delete form {
        grid-template-columns: 1fr;
    }

    .public-bugo-guestbook-delete button {
        width: 100%;
    }
}

/**
 * [감사장] 조문 감사장 화면
 */
.public-bugo-thanks-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.public-bugo-thanks-card {
    background: #fff;
    border: 1px solid #d0d0c8;
    border-radius: 24px;
    padding: 44px 28px;
    box-shadow: 0 12px 34px rgba(0,0,0,.07);
    text-align: center;
}

.public-bugo-thanks-eyebrow {
    margin: 0 0 8px;
    color: #4a7c59;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.public-bugo-thanks-card h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.25;
}

.public-bugo-thanks-divider {
    width: 42px;
    height: 2px;
    margin: 24px auto;
    background: #4a7c59;
    opacity: .55;
}

.public-bugo-thanks-main {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.75;
    word-break: keep-all;
}

.public-bugo-thanks-body {
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.9;
    word-break: keep-all;
}

.public-bugo-thanks-info {
    max-width: 420px;
    margin: 30px auto 0;
    border-top: 1px solid #e5e5dd;
    text-align: left;
}

.public-bugo-thanks-info div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5dd;
}

.public-bugo-thanks-info dt {
    color: #4a7c59;
    font-weight: 900;
}

.public-bugo-thanks-info dd {
    margin: 0;
    line-height: 1.6;
}

.public-bugo-thanks-from {
    margin: 30px 0 0;
    font-size: 18px;
    font-weight: 900;
}

.public-bugo-thanks-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.public-bugo-thanks-actions a,
.public-bugo-thanks-actions button {
    min-height: 50px;
    border: 1px solid #4a7c59;
    border-radius: 14px;
    background: #fff;
    color: #4a7c59;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.public-bugo-thanks-actions .primary {
    background: var(--bugo-btn-bg);
    color: var(--bugo-btn-color);
    border-color: var(--bugo-btn-border);
}
.public-bugo-thanks-actions .primary:hover { background: var(--bugo-btn-bg-hover); }

@media (max-width: 560px) {
    .public-bugo-thanks-card {
        padding: 34px 20px;
        border-radius: 20px;
    }

    .public-bugo-thanks-card h1 {
        font-size: 30px;
    }

    .public-bugo-thanks-main {
        font-size: 19px;
    }

    .public-bugo-thanks-body {
        font-size: 15px;
    }

    .public-bugo-thanks-info div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .public-bugo-thanks-actions {
        grid-template-columns: 1fr;
    }
}


/* [부고 공유] 조문예문 버튼 뱃지형 최종 보정 */
.public-bugo-guestbook-form .public-bugo-content-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 8px;
}

.public-bugo-guestbook-form .public-bugo-content-head label {
    margin: 0;
    flex: 0 0 auto;
}

.public-bugo-guestbook-form .public-bugo-content-head button {
    width: auto;
    min-width: auto;
    max-width: none;
    height: 30px;
    min-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #4a7c59;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* [부고 공유] 모바일 계좌/상주 정보 박스 압축 보정 */
@media (max-width: 640px) {
    .public-bugo-list-box .public-bugo-list li {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 8px;
        padding: 12px 10px;
    }

    .public-bugo-list-label {
        min-width: 0;
        font-size: 14px;
    }

    .public-bugo-list-value {
        min-width: 0;
        gap: 6px;
        font-size: 14px;
        word-break: break-all;
    }

    .public-bugo-account-no {
        justify-content: space-between;
    }

    .public-bugo-copy-account {
        min-height: 28px;
        padding: 0 9px;
        font-size: 12px;
    }

    .public-bugo-donation-modal__body {
        padding: 12px;
    }
}

.public-bugo-phone-link {
    color: #111;
    text-decoration: none;
    font-weight: 800;
}


.public-bugo-account-number {
    min-width: 0;
    overflow-wrap: anywhere;
}


/* [부고 공유] 부고장 전달 모달 */
.public-bugo-share-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 140;
}

.public-bugo-share-modal.is-open {
    display: block;
}

.public-bugo-share-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.public-bugo-share-modal__dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(520px, calc(100% - 32px));
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
    overflow: hidden;
}

.public-bugo-share-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    border-bottom: 1px solid #eeeeea;
}

.public-bugo-share-modal__header h3 {
    margin: 0;
    color: #222;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.public-bugo-share-modal__header button {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.public-bugo-share-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 28px 22px;
}

.public-bugo-share-option {
    min-height: 118px;
    border: 0;
    border-radius: 10px;
    background: #f7f8fa;
    color: #222;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.04em;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.public-bugo-share-option--qr {
    min-height: 220px;
    grid-row: span 2;
}

.public-bugo-share-option--qr img {
    width: 138px;
    height: 138px;
    object-fit: contain;
    background: #fff;
}

.public-bugo-share-symbol {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 900;
}

.public-bugo-share-symbol--kakao {
    background: #fee500;
    color: #3c1e1e;
    font-size: 13px;
}

.public-bugo-share-symbol--kakao::before {
    content: "TALK";
}

.public-bugo-share-symbol--message {
    background: #4a7c59;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0;
    padding-right: 0;
}

.public-bugo-share-symbol--message::before {
    content: "SMS";
}

.public-bugo-share-symbol--link {
    background: #eef0f2;
    color: #555;
    font-size: 13px;
}

.public-bugo-share-symbol--link::before {
    content: "URL";
}

.public-bugo-share-modal__footer {
    display: flex;
    justify-content: flex-end;
    padding: 18px 22px 22px;
    border-top: 1px solid #eeeeea;
}

.public-bugo-share-modal__footer button {
    min-width: 78px;
    height: 48px;
    border: 0;
    border-radius: 9px;
    background: #6f7780;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 480px) {
    .public-bugo-share-modal__dialog {
        width: calc(100% - 28px);
    }

    .public-bugo-share-modal__header {
        padding: 18px 18px;
    }

    .public-bugo-share-modal__header h3 {
        font-size: 19px;
    }

    .public-bugo-share-modal__body {
        gap: 10px;
        padding: 22px 18px;
    }

    .public-bugo-share-option {
        min-height: 104px;
        font-size: 17px;
    }

    .public-bugo-share-option--qr {
        min-height: 206px;
    }

    .public-bugo-share-option--qr img {
        width: 122px;
        height: 122px;
    }
}