/* 카카오페이 송금 섹션 스타일 */

.kakaopay-section {
    text-align: center;
}

/* 카카오페이 송금 섹션 스타일 */

.kakaopay-section {
    text-align: center;
}

.kakaopay-section h3 {
    margin-bottom: 10px;
}

/* 두 계좌 박스 컨테이너 */
.kakaopay-buttons {
    display: flex;
    flex-wrap: nowrap;
    /* 줄바꿈 금지 */
    justify-content: center;
    gap: 10px;
    /* 간격 축소 */
    margin-top: 20px;
}

.kakaopay-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 179, 217, 0.3);
    border-radius: 8px;
    padding: 15px;
    /* 패딩 축소 */
    transition: all 0.3s ease;
    flex: 1 1 0;
    /* 균등 분할 및 축소 허용 */
    min-width: 0;
    /* 오버플로우 방지 */
    max-width: 220px;
}

.kakaopay-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 179, 217, 0.6);
    transform: translateY(-2px);
}

.kakaopay-label {
    font-family: 'DungGeunMo', 'Press Start 2P', monospace;
    font-size: 0.95rem;
    color: #ff9ecd;
    margin-bottom: 15px;
    font-weight: bold;
    white-space: nowrap;
    word-break: keep-all;
}

.kakaopay-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s;
}

.kakaopay-btn:hover {
    transform: scale(1.05);
}

.kakaopay-btn:active {
    transform: scale(0.98);
}

.kakaopay-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.account-info {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Galmuri', monospace;
}

/* 신랑측 - 하늘색 */
.kakaopay-item.groom-side {
    border-color: rgba(137, 207, 240, 0.3);
}

.kakaopay-item.groom-side:hover {
    background: rgba(137, 207, 240, 0.1);
    border-color: rgba(137, 207, 240, 0.6);
    transform: translateY(-2px);
}

.kakaopay-item.groom-side .kakaopay-label {
    color: #89CFF0;
    /* 하늘색! */
}

/* 신부측 - 분홍색 */
.kakaopay-item.bride-side {
    border-color: rgba(255, 179, 217, 0.3);
}

.kakaopay-item.bride-side:hover {
    background: rgba(255, 179, 217, 0.1);
    border-color: rgba(255, 179, 217, 0.6);
    transform: translateY(-2px);
}

.kakaopay-item.bride-side .kakaopay-label {
    color: #ff9ecd;
    /* 분홍색! */
}


@media (max-width: 360px) {
    .kakaopay-item {
        padding: 10px;
        /* 더 작은 화면에서 패딩 더 축소 */
    }

    .kakaopay-img {
        max-width: 100%;
        /* 이미지 크기 유동적 */
    }

    .kakaopay-label {
        font-size: 0.8rem;
        /* 폰트 사이즈 조절 */
    }
}