/* ========================================
   📱 모바일 버튼 정렬 수정
   ======================================== */

/* 모바일에서 헤더 버튼 레이아웃 */
@media (max-width: 768px) {
    /* 헤더 전체 레이아웃 */
    .header {
        flex-direction: column !important;
        gap: var(--space-3) !important;
        padding: var(--space-3) !important;
        align-items: center !important;
    }
    
    /* 헤더 왼쪽 (로고) */
    .header-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: var(--space-2) !important;
        width: 100% !important;
    }
    
    /* 로고 */
    .logo {
        max-width: 120px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* 헤더 버튼 컨테이너 */
    .header-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: var(--space-2) !important;
    }
    
    /* 버튼 그룹 (상단 버튼들) */
    .header-buttons-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: var(--space-2) !important;
    }
    
    /* 모든 헤더 버튼 공통 스타일 */
    .user-management-btn,
    .columns-management-btn,
    .change-password-btn,
    .fullscreen-btn,
    .logout-btn,
    .theme-btn {
        width: 100% !important;
        padding: var(--space-3) var(--space-4) !important;
        font-size: 0.875rem !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: var(--space-2) !important;
        border-radius: var(--radius-lg) !important;
        font-weight: 600 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* Welcome 컨테이너 */
    .welcome-container {
        width: 100% !important;
        flex-direction: column !important;
        gap: var(--space-2) !important;
        align-items: stretch !important;
    }
    
    /* Welcome 메시지 */
    .welcome {
        width: 100% !important;
        text-align: center !important;
        font-size: 0.875rem !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    /* Vendor 코드 */
    .vendor-code {
        display: inline-block !important;
        margin-left: var(--space-1) !important;
        font-size: 0.75rem !important;
        opacity: 0.8 !important;
    }
    
    /* 날씨 정보 */
    .weather-info {
        width: 100% !important;
        padding: var(--space-3) !important;
    }
}

/* 작은 모바일 (320px - 480px) */
@media (max-width: 480px) {
    .header {
        padding: var(--space-2) !important;
        gap: var(--space-2) !important;
    }
    
    .header-buttons-top {
        padding: 0 !important;
    }
    
    .user-management-btn,
    .columns-management-btn,
    .change-password-btn,
    .fullscreen-btn,
    .logout-btn,
    .theme-btn {
        padding: var(--space-3) !important;
        font-size: 0.8125rem !important;
        height: 48px !important;
    }
    
    .welcome {
        font-size: 0.8125rem !important;
    }
    
    .logo {
        max-width: 100px !important;
    }
    
    .weather-info {
        padding: var(--space-2) !important;
        font-size: 0.75rem !important;
    }
}
