/* ExpenseTracker global styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ==================== レスポンシブ対応ユーティリティ ==================== */

/* テーブル横スクロールコンテナ */
.table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* レスポンシブテーブル列表示制御 */
/* .et-hide-sm: xs(<600px)で非表示、sm+(≥600px)で表示 */
.et-hide-sm {
    display: none !important;
}
@media (min-width: 600px) {
    .et-hide-sm {
        display: table-cell !important;
    }
}

/* .et-hide-md: xs+sm(<960px)で非表示、md+(≥960px)で表示 */
.et-hide-md {
    display: none !important;
}
@media (min-width: 960px) {
    .et-hide-md {
        display: table-cell !important;
    }
}

/* カレンダー: モバイル向けセル高さ縮小 */
@media (max-width: 599.98px) {
    .calendar-day-cell {
        min-height: 60px !important;
        padding: 4px !important;
        font-size: 0.75rem;
    }
}

/* モバイルでボタンテキストを非表示（アイコンのみ表示） */
@media (max-width: 599.98px) {
    .et-btn-text {
        display: none;
    }
}
