@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css');

body { font-family: 'Pretendard', sans-serif; -webkit-tap-highlight-color: transparent; letter-spacing: -0.3px; background-color: #F2F4F6; overflow-x: hidden; }
.safe-area-bottom { padding-bottom: calc(env(safe-area-inset-bottom) + 16px); }
.active-scale:active { transform: scale(0.96); transition: transform 0.1s; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-spin-custom { animation: spin 0.6s linear; }
input { font-size: 16px !important; }
.tx-card { transition: background-color 0.2s; border-radius: 1.5rem; padding: 1rem; margin: -0.5rem; }
.tx-card:active { background-color: #F9FAFB; }
.page-transition { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }


/* 비밀키 모달 애니메이션 */
#key-modal { transition: opacity 0.3s ease; }
.modal-content { transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
#key-modal.show .modal-content { transform: translateY(0); }

/* 주소가 길어질 때 줄바꿈 처리 및 텍스트 스타일 */
.font-mono {
    word-break: break-all; /* 주소가 길면 다음 줄로 넘김 */
    line-height: 1.4;
}

/* 지갑 개설 화면 모바일 최적화 (화면 높이에 맞춤) */
#wallet-setup-section {
    padding-bottom: env(safe-area-inset-bottom); /* 아이폰 하단 바 대응 */
}

/* 복사 알림 토스트 (선택사항: alert 대신 잠깐 떴다 사라지는 효과) */
.copy-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 1000;
}
