/* フォント設定 */
@font-face {
    font-family: 'FORMUDPGothic';
    src: url('../fonts/FORMUDPGothic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FORMUDPGothic';
    src: url('../fonts/FORMUDPGothic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* 全体のフォント設定 */
body, html {
    font-family: 'FORMUDPGothic', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

/* メインスタイル */
.pagination {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.pagination .page-item {
    margin: 0 0.25rem;
}

.pagination .page-link {
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

/* ページネーションの装飾 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.pagination-summary {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* テーブルスタイルの改善 */
.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table td, .table th {
    vertical-align: middle;
}

/* アクションボタングループ */
.btn-group-action {
    white-space: nowrap;
}

.btn-group-action .btn {
    padding: 0.375rem 0.5rem;
    margin: 0 0.1rem;
}

/* トースト通知とアラート */
.alert {
    transition: opacity 0.5s;
}

.alert.opacity-0 {
    opacity: 0;
}

.alert.position-fixed {
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* テーブル行のトランジション */
tr {
    transition: opacity 0.5s, background-color 0.3s;
}

/* 処理中アラート */
.processing-alert {
    max-width: 90%;
    width: 500px;
}

/* ボタンの間隔調整 */
.btn-group .btn {
    margin: 0 1px;
}

/* フォーム自動保存関連のスタイル */
.form-restore-banner {
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.form-autosave-notification {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#autoSaveStatus {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#autoSaveStatus .fas {
    color: #28a745;
}

#lastSavedTime {
    font-weight: 500;
}
