/* ===============================================
   NAVIGATION BUTTONS - 공용 컴포넌트
   홈버튼, 뒤로가기 버튼 통일 스타일
   모든 페이지에서 일관된 크기 유지
=============================================== */

@import url('../../variables.css');

/* 컨테이너 - 모든 클래스 체계 지원 */
.nav-buttons-container,
.back-button-container {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    justify-content: space-between;
}

/* 버튼 - 모든 클래스 체계 지원 (고정 크기) */
.nav-btn,
.back-button,
.home-button {
    background: none;
    border: none;
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
}

.nav-btn:hover,
.back-button:hover,
.home-button:hover {
    background-color: var(--color-bg-secondary);
    color: var(--color-text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-btn:active,
.back-button:active,
.home-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* 반응형 */
@media (max-width: 480px) {
    .nav-btn,
    .back-button,
    .home-button {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        font-size: var(--text-lg);
    }
}
