/* 모바일 공통 스타일 - 모든 페이지 본문 크기 조정 */

@media (max-width: 991px) {
    /* 기본 폰트 크기 */
    body {
        font-size: 14px;
    }

    /* 컨테이너 패딩 */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* 햄버거 아이콘 크기 유지 */
    .navbar-toggler {
        font-size: 1.5rem !important;
        padding: 0.5rem 0.75rem !important;
    }

    .navbar-toggler-icon {
        width: 2em !important;
        height: 2em !important;
        background-size: 100% 100% !important;
    }

    /* 제목 크기 조정 */
    h1 {
        font-size: 1.85rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.35rem !important;
    }

    h4 {
        font-size: 1.15rem !important;
    }

    h5 {
        font-size: 1rem !important;
    }

    h6 {
        font-size: 0.95rem !important;
    }

    /* 본문 텍스트 */
    p, li, span, div {
        font-size: 14px;
    }

    /* 버튼 크기 조정 */
    .btn {
        font-size: 14px;
        padding: 0.45rem 1.2rem;
    }

    .btn-lg {
        font-size: 15px;
        padding: 0.6rem 1.5rem;
    }

    .btn-sm {
        font-size: 13px;
        padding: 0.35rem 0.9rem;
    }

    /* 카드 패딩 조정 */
    .card {
        margin-bottom: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-text {
        font-size: 14px;
    }

    /* 섹션 패딩 조정 */
    section {
        padding: 2.5rem 0;
    }

    /* 리스트 스타일 */
    ul, ol {
        padding-left: 1.2rem;
    }

    /* 테이블 */
    table {
        font-size: 13px;
    }

    /* 입력 필드 */
    input, textarea, select {
        font-size: 14px;
    }

    /* 배지 */
    .badge {
        font-size: 12px;
    }

    /* 알림 */
    .alert {
        font-size: 14px;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    /* 더 작은 화면에서는 추가 축소 */
    body {
        font-size: 13px;
    }

    h1 {
        font-size: 1.7rem !important;
    }

    h2 {
        font-size: 1.45rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    section {
        padding: 2rem 0;
    }
}
