/* 全SVGのサイズ制限（フォールバック） */
/* 親コンテナでwidth/heightが指定されていない場合のフォールバック */
svg:not([width]):not([height]) {
    width: 24px;
    height: 24px;
}
/* width/height属性があるSVGは属性値を優先 */
svg[width][height] {
    max-width: none;
    max-height: none;
}

/* ベースのスタイル */
body {
    font-family: Arial, sans-serif;
    background-color: var(--background, #f0f8ff);
    color: var(--text-primary, #333333);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh; /* 画面の高さを100%に固定 */
    overflow: hidden; /* 全体のスクロールを無効化 */
}

/* ヘッダースタイル */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px; /* 高さを低くするために上下のpaddingを5pxに設定 */
    background-color: var(--card-bg, #f4f4f4); /* グレーの背景色 */
    border-bottom: 1px solid var(--border-color, #ddd); /* ヘッダーの下部に境界線 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ロゴ */
.header .logo img {
    max-height: 45px; /* ロゴの高さを調整 */
}

/* ヘッダー内タイトル */
.header .title {
    flex: 1;
    text-align: center;
    font-size: 20px; /* フォントサイズを調整 */
    font-weight: bold;
    color: var(--text-primary); /* テキストカラー */
}

/* ヘッダー右端のユーザー情報 */
.header .user-info {
    font-size: 16px; /* フォントサイズ */
    color: var(--text-primary);
}

.header .user-info a {
    color: #007bff;
    text-decoration: none;
    margin-left: 10px;
}

.header .user-info a:hover {
    text-decoration: underline;
}

/* ページタイトル */
.page-title {
    text-align: center;
    color: var(--text-primary);
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
}

/* フッタースタイル */
footer {
    background-color: #495057; /* 非常に濃いグレー */
    color: white;
    text-align: center;
    padding: 3px 0;
    font-size: 12px;
}

/* トップに戻るフローティングボタン */
.scroll-to-top-btn {
    position: fixed;
    bottom: 16px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4CAF50, #22C55E);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #22C55E, #4CAF50);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
    transform: translateY(-2px);
}

.scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}


.container {
    flex: 1; /* コンテンツ部分をフレックスで伸ばす */
}


/* ==========================================
   新デザイン統合 - グローバル設定
========================================== */
:root {
    /* メインカラーパレット */
    --accent-green: #22C55E;
    --accent-green-hover: #16A34A;
    --accent-green-light: #DCFCE7;
    --background: #F4F6F8;
    --sidebar-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-color: #E5E7EB;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* レイアウト */
    --global-nav-width: 60px;
    --sidebar-width: 280px;
    --header-height: 60px;
    --footer-height: 21px; /* padding 3px + font-size 12px + padding 3px ≈ 21px */
    --border-radius: 10px;
    --border-radius-sm: 6px;
}

/* ダークモード用カラー設定 */
[data-theme="dark"] {
    --accent-green: #22C55E;
    --accent-green-hover: #16A34A;
    --accent-green-light: #064E3B;
    --background: #111827;
    --sidebar-bg: #1F2937;
    --card-bg: #1F2937;
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;
    --border-color: #374151;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
}

/* ==========================================
   グローバル緑色ボタンの文字改善
========================================== */
/* 緑色ボタン（#00B900）の文字を見やすくする */
.btn-add,
.btn-create,
.btn-primary,
.btn-save,
.btn-submit,
.btn-search,
.btn-filter,
.btn-calendar,
.btn-reset,
[class*="btn"][style*="background-color: #00B900"],
[class*="btn"][style*="background:#00B900"],
button[style*="background-color: #00B900"],
button[style*="background:#00B900"],
a[style*="background-color: #00B900"],
a[style*="background:#00B900"] {
    font-weight: 600 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
    letter-spacing: 0.3px;
}

/* 緑ボタンのホバー時も同様に適用 */
.btn-add:hover,
.btn-create:hover,
.btn-primary:hover,
.btn-save:hover,
.btn-submit:hover,
.btn-search:hover,
.btn-filter:hover,
.btn-calendar:hover,
.btn-reset:hover {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

/* ダークモード時のボタン文字色を白に強制 */
[data-theme="dark"] .btn-add,
[data-theme="dark"] .btn-create,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-save,
[data-theme="dark"] .btn-submit,
[data-theme="dark"] .btn-search,
[data-theme="dark"] .btn-filter,
[data-theme="dark"] .btn-calendar,
[data-theme="dark"] .btn-new,
[data-theme="dark"] .btn-reserve,
[data-theme="dark"] button[style*="#00B900"],
[data-theme="dark"] a[style*="#00B900"],
[data-theme="dark"] button[style*="#22C55E"],
[data-theme="dark"] a[style*="#22C55E"] {
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* ダークモード時のリセット・グレー系ボタンの文字色 */
[data-theme="dark"] .btn-reset,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-outline,
[data-theme="dark"] button[style*="#6b7280"],
[data-theme="dark"] button[style*="#e5e7eb"],
[data-theme="dark"] a[style*="#6b7280"],
[data-theme="dark"] a[style*="#e5e7eb"] {
    color: #F9FAFB !important;
}

/* ==========================================
   グローバルナビゲーション（左端60px）- 廃止、global-nav-railに移行
========================================== */
.global-nav {
    display: none; /* 非表示 - base.htmlから削除済み */
}

.global-nav-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--accent-green);
    font-size: 16px;
}

.global-nav-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.global-nav-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.global-nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.global-nav-item.active {
    background: rgba(255, 255, 255, 0.25);
}

.global-nav-item svg {
    width: 24px;
    height: 24px;
    color: white;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-nav-spacer {
    flex: 1;
}

.global-nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==========================================
   メインコンテナ
========================================== */
.main-container {
    /* margin-left removed - using inline nav-rail now */
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ==========================================
   新ヘッダー
========================================== */
.new-header {
    height: var(--header-height);
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.new-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.new-header-logo {
    height: 36px;
}

.new-header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ロゴリンクのスタイル */
.header-logo-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 4px 8px;
}

.header-logo-link:hover {
    background-color: rgba(76, 175, 80, 0.1);
    transform: translateY(-1px);
}

.header-logo-link:hover .new-header-logo {
    filter: brightness(1.1);
}

.header-logo-link:hover .new-header-title {
    color: var(--primary-green);
}

.new-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.2s;
    overflow: hidden;
}

.header-icon-btn:hover {
    background: var(--background);
}

.header-icon-btn svg {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.header-icon-btn .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    border: 2px solid white;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.user-menu:hover {
    background: var(--background);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--accent-green);
    font-size: 14px;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================
   コンテンツエリア
========================================== */
.content-wrapper {
    display: flex;
    flex-direction: row;
    flex: 1;
    height: calc(100vh - var(--header-height) - var(--footer-height));
    overflow: hidden;
}

/* サイドバー */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    flex-shrink: 0;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 16px 12px;
    overflow-y: auto;
    height: 100%;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 12px;
    margin-bottom: 8px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu-item {
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
}

.sidebar-menu-item:hover {
    background: var(--background);
    color: var(--text-primary);
}

.sidebar-menu-item.active {
    background: var(--accent-green);
    color: white;
}

.sidebar-menu-item.active svg {
    color: white;
}

.sidebar-menu-item svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.sidebar-menu-item .badge-count {
    margin-left: auto;
    background: var(--accent-green);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-menu-item.active .badge-count {
    background: white;
    color: var(--accent-green);
}

/* サブメニュー用スタイル */
.sidebar-menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-submenu {
    list-style: none;
    padding-left: 0;
    margin: 4px 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-submenu li {
    list-style: none;
    margin: 2px 0;
}

.sidebar-submenu-item {
    display: block;
    padding: 8px 12px 8px 46px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: all 0.2s;
    font-weight: 400;
}

.sidebar-submenu-item:hover {
    background: var(--background);
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.sidebar-submenu-item:visited {
    color: var(--text-secondary);
}

.submenu-arrow {
    transition: transform 0.2s;
}

.submenu-arrow.open {
    transform: rotate(180deg);
}

/* ==========================================
   ダッシュボード（Bento Grid）
========================================== */
.new-dashboard {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px;
    padding-bottom: 20px; /* フッター側により余白を確保 */
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    min-height: 56px;
    padding: 0 24px;
    margin-bottom: 8px;
    flex-shrink: 0;
    background-color: #FFFFFF;
    border-radius: 8px;
}

[data-theme="dark"] .dashboard-header {
    background-color: var(--bg-secondary);
}

.dashboard-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

/* ウィジェット追加ボタン（コンパクト版） */
.widget-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.widget-add-btn:hover {
    background: #009a00;
}

.widget-add-btn svg {
    width: 14px;
    height: 14px;
}

.dashboard-actions {
    display: flex;
    gap: 8px;
}

.btn-new {
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    text-decoration: none;
}

.btn-primary-new {
    background: var(--accent-green);
    color: white;
}

.btn-primary-new:hover {
    background: var(--accent-green-hover);
}

.btn-secondary-new {
    background: var(--background);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary-new:hover {
    background: var(--border-color);
}

/* ダッシュボードレイアウト（Bento Grid 最適化） */
.dashboard-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 画面の高さに応じて2行分（4ウィジェット）がちょうど収まる高さを計算 */
    /* CSS変数を使用: ヘッダー + フッター + パディング + gap + 余白 */
    grid-auto-rows: calc((100vh - var(--header-height) - var(--footer-height) - 50px) / 2 - 4px);
    gap: 8px;
    min-height: 0;
    margin-bottom: 8px;
    flex-shrink: 0; /* 親のflexで縮小しない＝スクロール可能に */
}


/* ダッシュボードウィジェット共通スタイル */
.dashboard-widget {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 150px; /* 潰れ防止 */
}

.widget-header {
    padding: 0 8px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.widget-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget-title svg {
    width: 14px;
    height: 14px;
    color: var(--accent-green);
}

.widget-controls {
    display: flex;
    gap: 4px;
}

.widget-control-btn {
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}

.widget-control-btn svg {
    width: 14px;
    height: 14px;
}

.widget-control-btn:hover {
    background: var(--background);
    color: var(--text-primary);
}

.widget-body {
    padding: 8px 12px;
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* ダッシュボードリストアイテムのコンパクト化 */
.widget-body .workflow-card,
.widget-body li[class*="card"] {
    margin-bottom: 6px !important;
    padding: 6px 8px !important;
}

.widget-body .workflow-card:last-child,
.widget-body li[class*="card"]:last-child {
    margin-bottom: 0 !important;
}

.widget-body .sort-buttons {
    margin-bottom: 6px !important;
}

.widget-body .workflow-actions {
    margin-top: 6px !important;
    gap: 4px !important;
}


/* ==========================================
   共通ダークモードスタイル（全ページ対応）
========================================== */

/* ページ背景・カード */
[data-theme="dark"] .page-container,
[data-theme="dark"] .content-area,
[data-theme="dark"] .main-content {
    background-color: var(--background);
}

[data-theme="dark"] .card,
[data-theme="dark"] .panel,
[data-theme="dark"] .box {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* テーブル共通 */
[data-theme="dark"] table {
    border-color: var(--border-color);
}

[data-theme="dark"] th {
    background-color: #374151;
    color: #F9FAFB;
    border-color: #4B5563;
}

[data-theme="dark"] td {
    background-color: var(--card-bg);
    color: #F9FAFB;
    border-color: var(--border-color);
}

[data-theme="dark"] tr:hover td {
    background-color: #374151;
}

[data-theme="dark"] tr:nth-child(even) td {
    background-color: #1F2937;
}

[data-theme="dark"] tr:nth-child(even):hover td {
    background-color: #374151;
}

/* フォーム共通 */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] input[type="time"],
[data-theme="dark"] input[type="datetime-local"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: #374151;
    border-color: #4B5563;
    color: #F9FAFB;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #9CA3AF;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--accent-green);
    outline-color: var(--accent-green);
}

[data-theme="dark"] label {
    color: #D1D5DB;
}

[data-theme="dark"] fieldset {
    border-color: var(--border-color);
}

[data-theme="dark"] legend {
    color: #F9FAFB;
}

/* タイトル・見出し */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #F9FAFB;
}

/* リンク */
[data-theme="dark"] a {
    color: #60A5FA;
}

[data-theme="dark"] a:hover {
    color: #93C5FD;
}

/* タブ共通 */
[data-theme="dark"] .tab,
[data-theme="dark"] .tab-link,
[data-theme="dark"] .nav-tab {
    color: #9CA3AF;
}

[data-theme="dark"] .tab:hover,
[data-theme="dark"] .tab-link:hover,
[data-theme="dark"] .nav-tab:hover {
    color: #D1D5DB;
}

[data-theme="dark"] .tab.active,
[data-theme="dark"] .tab-link.active,
[data-theme="dark"] .nav-tab.active {
    color: var(--accent-green);
    border-color: var(--accent-green);
}

/* ボーダー・区切り線 */
[data-theme="dark"] hr {
    border-color: var(--border-color);
}

[data-theme="dark"] .divider {
    background-color: var(--border-color);
}

/* アラート・通知 */
[data-theme="dark"] .alert,
[data-theme="dark"] .message {
    background-color: #374151;
    border-color: #4B5563;
    color: #D1D5DB;
}

[data-theme="dark"] .alert-success {
    background-color: #064E3B;
    border-color: #065F46;
    color: #6EE7B7;
}

[data-theme="dark"] .alert-error,
[data-theme="dark"] .alert-danger {
    background-color: #7F1D1D;
    border-color: #991B1B;
    color: #FCA5A5;
}

[data-theme="dark"] .alert-warning {
    background-color: #78350F;
    border-color: #92400E;
    color: #FCD34D;
}

[data-theme="dark"] .alert-info {
    background-color: #1E3A5F;
    border-color: #1E40AF;
    color: #93C5FD;
}

/* モーダル・ダイアログ */
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dialog {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}

/* ページネーション */
[data-theme="dark"] .pagination a,
[data-theme="dark"] .pagination span {
    background-color: #374151;
    border-color: #4B5563;
    color: #D1D5DB;
}

[data-theme="dark"] .pagination a:hover {
    background-color: #4B5563;
}

[data-theme="dark"] .pagination .active {
    background-color: var(--accent-green);
    color: white;
}

/* ツールチップ */
[data-theme="dark"] .tooltip {
    background-color: #1F2937;
    color: #F9FAFB;
    border-color: #374151;
}

/* 空状態 */
[data-theme="dark"] .empty-state,
[data-theme="dark"] .no-data {
    color: #6B7280;
}

/* カレンダー共通 */
[data-theme="dark"] .fc-theme-standard td,
[data-theme="dark"] .fc-theme-standard th {
    border-color: #374151;
}

[data-theme="dark"] .fc-theme-standard .fc-scrollgrid {
    border-color: #374151;
}

[data-theme="dark"] .fc-col-header-cell {
    background-color: #374151;
}

[data-theme="dark"] .fc-daygrid-day {
    background-color: var(--card-bg);
}

[data-theme="dark"] .fc-daygrid-day:hover {
    background-color: #374151;
}

[data-theme="dark"] .fc-daygrid-day-number {
    color: #D1D5DB;
}

[data-theme="dark"] .fc-day-today {
    background-color: rgba(34, 197, 94, 0.1) !important;
}

[data-theme="dark"] .fc-button {
    background-color: #374151;
    border-color: #4B5563;
    color: #D1D5DB;
}

[data-theme="dark"] .fc-button:hover {
    background-color: #4B5563;
}

[data-theme="dark"] .fc-button-active {
    background-color: var(--accent-green) !important;
    color: white !important;
}

[data-theme="dark"] .fc-toolbar-title {
    color: #F9FAFB;
}