/**
 * 鉄緑会スタッフポータル - スタイルシート
 */

:root {
    --brand-color: #19006F;
    --brand-light: #3a0ca3;
    --sidebar-width: 280px;
    --sidebar-bg: #1a1a2e;
    --sidebar-text: #e0e0e0;
    --content-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--content-bg);
    overflow-x: hidden;
}

/* ==================== サイドバー ==================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sidebar-header {
    background: var(--brand-color);
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex: 0 0 auto;
}

.sidebar-header h4 {
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

.user-info {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
}

.user-icon {
    font-size: 32px;
    color: var(--brand-light);
    margin-right: 10px;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 500;
    font-size: 13px;
    color: white;
    margin-bottom: 2px;
}

.user-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar .sidebar-nav,
nav.sidebar-nav {
    flex: 1 1 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding: 10px 0;
    min-height: 0 !important;
    display: block;
    -webkit-overflow-scrolling: touch;
}

/* カスタムスクロールバー（Webkit） */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-section {
    margin-bottom: 20px;
}

.nav-section-title {
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-link.active {
    background: rgba(25, 0, 111, 0.3);
    border-left-color: var(--brand-color);
    color: white;
}

.nav-link i {
    font-size: 18px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.nav-link-parent {
    position: relative;
}

.chevron-icon {
    position: absolute;
    right: 15px;
    font-size: 14px;
    transition: transform 0.3s;
}

.nav-link-parent.expanded .chevron-icon {
    transform: rotate(90deg);
}

.nav-subcategory {
    background: rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-subcategory.show {
    max-height: 600px;
}

.nav-link-sub {
    padding-left: 45px;
    font-size: 14px;
}

.nav-link-sub i {
    font-size: 16px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex: 0 0 auto;
}

.btn-logout {
    width: 100%;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* ボタンスタイル（RADIUS風） */
.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* ==================== メインコンテンツ ==================== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-light) 100%);
    padding: 20px;
}

.mobile-menu-toggle {
    display: none !important;
}

.content-body {
    max-width: 100%;
}

/* セクションコンテナ（RADIUS風） */
.section-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.section-container h2 {
    margin-bottom: 1.5rem;
    color: var(--brand-color);
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 3px solid var(--brand-color);
    padding-bottom: 0.75rem;
}

/* リストコントロール（RADIUS風） */
.list-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* テーブル（RADIUS風） */
.table-container {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    table-layout: fixed;
}

.user-table th,
.user-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-table th {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    font-weight: 700;
    color: var(--brand-color);
    position: sticky;
    top: 0;
    border-bottom: 2px solid var(--brand-color);
}

.user-table tr:hover {
    background: linear-gradient(135deg, #f3f4ff 0%, #e8eaff 100%);
}

.user-table .actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.user-table .actions button {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--brand-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--brand-light);
    transform: translateY(-1px);
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* フォーム（RADIUS風） */
.user-form-section,
.section-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-color);
    box-shadow: 0 0 0 2px rgba(25, 0, 111, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* ==================== ウェルカムバナー ==================== */
.welcome-banner {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-light) 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(25, 0, 111, 0.2);
}

.welcome-banner h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.welcome-banner p {
    margin: 0;
    opacity: 0.9;
    font-size: 15px;
}

/* ==================== 連絡事項 ==================== */
.notices-container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notice-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.notice-card:hover {
    border-color: var(--brand-color);
    box-shadow: 0 4px 12px rgba(25, 0, 111, 0.1);
    transform: translateY(-2px);
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.notice-priority {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-urgent {
    background: #dc3545;
    color: white;
}

.priority-important {
    background: #ffc107;
    color: #333;
}

.priority-normal {
    background: #17a2b8;
    color: white;
}

.priority-minor {
    background: #6c757d;
    color: white;
}

.notice-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
}

.notice-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.notice-content {
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap;
}

.notice-date {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 10px;
}

/* ==================== レスポンシブ ==================== */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    #toggle-sidebar {
        display: block !important;
    }
}

@media (min-width: 769px) {
    #toggle-sidebar {
        display: none;
    }
}

/* ==================== マニュアル表示 ==================== */
#manual-content {
    background: white;
    padding: 0;
    min-height: 400px;
}

/* フルコンテンツ表示（枠なし） */
.manual-content-full {
    padding: 0;
    margin: 0;
    width: 100%;
}

.manual-content {
    background: white;
    padding: 40px 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.8;
    color: #333;
}

.manual-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #19006f;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #19006f;
    letter-spacing: 0;
}

.manual-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #19006f;
    margin-top: 40px;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: #f8f8f8;
    border-left: 5px solid #19006f;
    letter-spacing: 0;
}

.manual-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 28px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
    padding-left: 0;
}

.manual-content h3::before {
    display: none;
}

.manual-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.manual-content p {
    margin-bottom: 16px;
    color: #333;
    line-height: 1.8;
}

.manual-content ul, .manual-content ol {
    margin-bottom: 20px;
    margin-top: 10px;
    padding-left: 32px;
}

.manual-content li {
    margin-bottom: 8px;
    color: #333;
    line-height: 1.8;
}

.manual-content li > strong {
    color: #19006f;
    font-weight: 700;
}

.manual-content hr {
    border: none;
    border-top: 2px solid #e8ecf1;
    margin: 28px 0;
}

.manual-content a {
    color: var(--brand-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.manual-content a:hover {
    border-bottom-color: var(--brand-color);
}

.manual-content strong {
    font-weight: 700;
    color: #19006f;
}

/* テーブルスタイル */
.manual-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.manual-content table th {
    background: #19006f;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    border: 1px solid #19006f;
}

.manual-content table td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    color: #333;
}

.manual-content table tr:nth-child(even) {
    background: #f8f8f8;
}

.manual-content table tr:hover {
    background: #f0f0f0;
}

/* 画像スタイル */
.manual-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.manual-content figure {
    margin: 24px 0;
    text-align: center;
}

.manual-content figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* アクセントカラー（赤）の要素 */
.manual-content .accent,
.manual-content .red-text {
    color: #e30613;
    font-weight: 700;
}

.manual-content code {
    background: #f5f5f5;
    border: 1px solid #d0d0d0;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #c7254e;
}

.manual-content pre {
    background: #f8f8f8;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
}

.manual-content pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
}

/* TeXシンタックスハイライト */
.manual-content pre.tex-code,
.manual-content pre.tex-math {
    border-left: 4px solid #e74c3c;
}

.manual-content pre.tex-math {
    border-left-color: #2ecc71;
}

.manual-content .tex-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    margin: 20px 0;
}

.manual-content .tex-pane {
    position: relative;
    background: #fafbfc;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    padding: 18px;
    min-width: 0;
}

.manual-content .tex-pane pre {
    margin: 0;
    background: transparent;
    border: none;
    padding: 24px 0 0;
    box-shadow: none;
}

.manual-content .tex-pane-code {
    background: #ffffff;
}

.manual-content .tex-pane-preview {
    background: #f5f8ff;
}

.manual-content .tex-preview-title {
    font-size: 12px;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.manual-content .tex-preview-content {
    font-size: 18px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
}

.manual-content .tex-copy-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border: 1px solid #dce3ea;
    background: #ffffff;
    color: #34495e;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.manual-content .tex-copy-button:hover {
    border-color: #b7c2cc;
    color: #1a202c;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
    .manual-content .tex-split {
        grid-template-columns: 1fr;
    }
}

.manual-content code.tex-inline {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1e3a8a;
}

.manual-content .tex-highlight .tex-token-command,
.manual-content .tex-inline .tex-token-command {
    color: #e74c3c;
    font-weight: 600;
}

.manual-content .tex-highlight .tex-token-brace,
.manual-content .tex-inline .tex-token-brace {
    color: #8e44ad;
}

.manual-content .tex-highlight .tex-token-number,
.manual-content .tex-inline .tex-token-number {
    color: #2e7d32;
}

.manual-content .tex-highlight .tex-token-comment,
.manual-content .tex-inline .tex-token-comment {
    color: #7f8c8d;
    font-style: italic;
}

/* シンタックスハイライトのカスタムスタイル */
.manual-content pre code.hljs {
    display: block;
    padding: 0;
}

/* 言語ラベル表示 */
.manual-content pre[class*="language-"]::before {
    content: attr(data-language);
    position: absolute;
    top: 6px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manual-content blockquote {
    border-left: 4px solid #19006f;
    background: #f8f8f8;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
    color: #333;
}

/* Printoutマニュアルスタイル - 特殊ボックス */
.manual-content .box {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.manual-content .note-box {
    background: #e3f2fd;
    border: 2px solid #1976d2;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    position: relative;
}

.manual-content .note-box::before {
    content: "📌 NOTE";
    display: block;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 8px;
    font-size: 14px;
}

.manual-content .warning-box {
    background: #fff3e0;
    border: 2px solid #f57c00;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    position: relative;
}

.manual-content .warning-box::before {
    content: "⚠️ 注意";
    display: block;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 8px;
    font-size: 14px;
}

.manual-content .important-box {
    background: #ffebee;
    border: 2px solid #c62828;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    position: relative;
}

.manual-content .important-box::before {
    content: "❗ 重要";
    display: block;
    font-weight: 700;
    color: #c62828;
    margin-bottom: 8px;
    font-size: 14px;
}

.manual-content .tip-box {
    background: #e8f5e9;
    border: 2px solid #388e3c;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    position: relative;
}

.manual-content .tip-box::before {
    content: "💡 ヒント";
    display: block;
    font-weight: 700;
    color: #388e3c;
    margin-bottom: 8px;
    font-size: 14px;
}

/* キーボードキー表示 */
.manual-content .kbd,
.manual-content kbd {
    display: inline-block;
    padding: 4px 8px;
    font-family: "SF Mono", "Monaco", "Courier New", monospace;
    font-size: 13px;
    line-height: 1;
    color: #333;
    background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), 0 0 0 2px #fff inset;
    margin: 0 2px;
    white-space: nowrap;
}

/* ハイライト表示 */
.manual-content .highlight {
    background: #fff176;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* ステップ番号 */
.manual-content .step-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #19006f;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    margin-right: 8px;
}

/* ページ区切り線 */
.manual-content .page-break {
    border-top: 2px dashed #ccc;
    margin: 40px 0;
    padding-top: 40px;
    position: relative;
}

.manual-content .page-break::after {
    content: "・・・";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 16px;
    color: #999;
    font-size: 18px;
    letter-spacing: 4px;
}

/* マニュアルリスト */
.manual-list {
    display: grid;
    gap: 16px;
}

/* サブカテゴリーリスト */
.subcategory-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.subcategory-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.subcategory-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #007bff, var(--brand-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subcategory-item:hover::before {
    opacity: 1;
}

.subcategory-item:hover {
    border-color: var(--brand-color);
    box-shadow: 0 8px 24px rgba(25, 0, 111, 0.18);
    transform: translateY(-4px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.subcategory-item h5 {
    color: var(--brand-color);
    font-weight: 600;
    margin: 0;
}

.subcategory-item .text-muted {
    font-size: 14px;
}

/* マニュアルアイテム */
.manual-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.manual-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-color), #007bff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.manual-item:hover::before {
    opacity: 1;
}

.manual-item:hover {
    border-color: var(--brand-color);
    box-shadow: 0 8px 24px rgba(25, 0, 111, 0.18);
    transform: translateY(-4px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.manual-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.manual-item-title i {
    font-size: 24px;
    color: var(--brand-color);
}

.manual-item-meta {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.manual-item-meta i {
    color: #95a5a6;
}

/* マニュアル詳細ヘッダー */
.manual-header {
    background: linear-gradient(135deg, rgba(25, 0, 111, 0.05) 0%, rgba(58, 12, 163, 0.05) 100%);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid rgba(25, 0, 111, 0.1);
}

.manual-header h1 {
    margin: 0 0 8px 0;
    border: none;
    padding: 0;
}

.manual-header .meta {
    font-size: 14px;
    color: #7f8c8d;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==================== ユーティリティ ==================== */
.d-none {
    display: none !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ==================== マニュアル目次（サイドバー内） ==================== */
.manual-toc {
    padding-left: 0.5rem;
    margin: 0.5rem 0;
    padding-bottom: 0.5rem;
}

.toc-link {
    display: block;
    padding: 0.4rem 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    margin-bottom: 0.2rem;
}

.toc-link:hover {
    background: rgba(25, 0, 111, 0.3);
    border-left-color: var(--brand-color);
    color: white;
    padding-left: 1.2rem;
    box-shadow: inset 0 0 8px rgba(25, 0, 111, 0.2);
}

.toc-link:last-child {
    margin-bottom: 0;
}

.toc-h2 {
    font-weight: 600;
    padding-left: 1.5rem;
}

.toc-h3 {
    font-weight: 400;
    padding-left: 2.5rem;
    font-size: 0.8rem;
}

/* サイドバーのトグルボタン - 控えめなデザイン */
.toc-toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.1rem 0.3rem;
    margin-left: 0.3rem;
    transition: all 0.2s ease;
}

.toc-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.toc-toggle-btn i {
    font-size: 0.7rem;
}

/* コンテンツエリアのトグルボタン */
.content-toggle-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 0, 111, 0.08);
    border: 1px solid rgba(25, 0, 111, 0.2);
    border-radius: 6px;
    color: var(--brand-color);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.content-toggle-btn:hover {
    background: var(--brand-color);
    border-color: var(--brand-color);
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 2px 8px rgba(25, 0, 111, 0.3);
}

.content-toggle-btn i {
    display: block;
    line-height: 1;
}

/* セクションコンテンツのラッパー */
.section-content {
    margin-bottom: 1rem;
}

/* 見出しのトグルボタン用のスペース確保 */
.manual-article h2,
.manual-article h3 {
    padding-right: 3rem;
}

/* ==================== 担当クラス ==================== */

.my-classes-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.class-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.class-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #e0e0e0;
    background: white;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    color: #333;
}

.class-chip:hover {
    border-color: var(--brand-color, #19006F);
    background: rgba(25, 0, 111, 0.04);
}

.class-chip.active {
    border-color: var(--brand-color, #19006F);
    background: var(--brand-color, #19006F);
    color: white;
}

.class-chip .chip-day {
    font-size: 0.75rem;
    opacity: 0.7;
}

.schedule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-left: 3px solid #e0e0e0;
    margin-bottom: 4px;
    background: white;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s;
}

.schedule-item:hover {
    background: #f8f9fa;
}

.schedule-item.past {
    opacity: 0.5;
    border-left-color: #ccc;
}

.schedule-item.today {
    border-left-color: #dc3545;
    background: #fff5f5;
    font-weight: 600;
}

.schedule-item.future {
    border-left-color: var(--brand-color, #19006F);
}

.schedule-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.schedule-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: #666;
    min-width: 48px;
}

.schedule-date {
    font-size: 0.85rem;
    color: #555;
}

.schedule-date .day-name {
    margin-left: 4px;
    font-size: 0.75rem;
    color: #888;
}

.btn-late-request {
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
    border: 1px solid #dc3545;
    background: white;
    color: #dc3545;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-late-request:hover {
    background: #dc3545;
    color: white;
}

.btn-late-request:disabled,
.btn-substitute-request:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.schedule-item-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.btn-substitute-request {
    padding: 4px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
    border: 1px solid #0d6efd;
    background: white;
    color: #0d6efd;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-substitute-request:hover {
    background: #0d6efd;
    color: white;
}

.no-classes-message {
    text-align: center;
    padding: 2rem;
    color: #888;
}

/* ==================== ビュータブ ==================== */

.view-tabs-container {
    padding: 0 0 12px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 16px;
}

.view-tabs {
    display: flex;
    gap: 8px;
}

.view-tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    background: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.view-tab-btn:hover {
    color: var(--brand-color);
}

.view-tab-btn.active {
    color: var(--brand-color);
    border-bottom-color: var(--brand-color);
}

.view-tab-btn i {
    font-size: 1rem;
}

/* ==================== カレンダーグリッド ==================== */

.calendar-wrapper {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-month-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    text-align: center;
}

.calendar-nav-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--brand-color);
    font-size: 1rem;
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    background: #f5f5f5;
    border-color: var(--brand-color);
}

.calendar-grid {
    margin-top: 16px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 2px solid #e0e0e0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
    color: #333;
    cursor: default;
    position: relative;
    flex-direction: column;
    gap: 2px;
}

.calendar-day.empty {
    background: #fafafa;
    border-color: transparent;
}

.calendar-day.session-day {
    background: #f0f5ff;
    border-color: var(--brand-light);
    border-width: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day.session-day:hover {
    background: #e8f0ff;
    box-shadow: 0 2px 8px rgba(58, 12, 163, 0.15);
}

.calendar-day.session-day.today {
    background: #fff3cd;
    border-color: #ffc107;
}

.calendar-day.session-day.past {
    background: #f8f9fa;
    border-color: #adb5bd;
    opacity: 0.7;
}

.calendar-day .day-number {
    font-weight: 600;
    font-size: 0.85rem;
}

.calendar-day .session-badge {
    font-size: 0.65rem;
    background: var(--brand-light);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    white-space: nowrap;
}

/* Googleカレンダーエクスポートボタン */
.btn-export-calendar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-export-calendar:hover {
    background: rgba(255,255,255,0.3);
}

/* ==================== 講師出席管理 ==================== */

.attendance-container {
    max-width: 800px;
}

.attendance-date-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.attendance-date-display {
    flex: 0 0 auto;
}

.attendance-date-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.attendance-today-badge {
    display: inline-block;
    padding: 1px 8px;
    margin-left: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 10px;
    background: #4dabf7;
    color: white;
    vertical-align: middle;
}

.attendance-day-name {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.attendance-date-nav .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.attendance-date-nav .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.attendance-date-nav .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.attendance-date-nav .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.attendance-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.attendance-campus-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.campus-chip {
    padding: 6px 16px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.campus-chip:hover {
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
}

.campus-chip.active {
    background: white;
    border-color: white;
    color: var(--brand-color, #19006F);
    font-weight: 700;
}

.attendance-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.attendance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    background: white;
    transition: all 0.2s;
}

.attendance-card.attended {
    border-color: #28a745;
    background: #f0fff4;
}

.attendance-card-info {
    flex: 1;
    min-width: 0;
}

.attendance-card-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 2px;
}

.attendance-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.attendance-card-teacher-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-color, #19006F);
}

.attendance-card-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 0.8rem;
    color: #888;
}

.attendance-card-action {
    flex-shrink: 0;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.attendance-time {
    font-size: 0.72rem;
    color: #28a745;
    font-weight: 500;
}

.attendance-status-filter {
    margin-bottom: 12px;
}

.attendance-status-filter > div {
    display: flex;
    gap: 6px;
}

.status-filter-chip {
    padding: 4px 14px;
    border-radius: 16px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.status-filter-chip:hover {
    border-color: #333;
    color: #333;
}

.status-filter-chip.active {
    background: #333;
    border-color: #333;
    color: white;
}

.btn-attendance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid #ccc;
    background: white;
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-attendance:hover {
    border-color: #28a745;
    color: #28a745;
}

.btn-attendance.active {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.btn-attendance.active:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-attendance i {
    font-size: 1rem;
}

/* ==================== 講師一覧（4D） ==================== */

.t4d-container {
    max-width: 1200px;
}

.t4d-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.t4d-search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

.t4d-search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 0.85rem;
}

.t4d-search-box input {
    padding-left: 32px;
}

.t4d-filters .form-select {
    width: auto;
    min-width: 140px;
}

.t4d-count {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.t4d-table-wrap {
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

.t4d-table-wrap table {
    font-size: 0.85rem;
}

.t4d-table-wrap thead th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

.t4d-table-wrap tbody tr:hover {
    background: #f0f4ff;
}

.t4d-staff-id {
    font-family: monospace;
    font-size: 0.8rem;
    color: #888;
}

.t4d-name-cell {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
}

.t4d-name-cell .t4d-kana {
    font-size: 0.68rem;
    color: #aaa;
    letter-spacing: 0.02em;
}

.t4d-name-cell .t4d-fullname {
    font-size: 0.9rem;
    color: #333;
}

.t4d-rouge {
    font-family: monospace;
    font-size: 0.78rem;
    color: #666;
}

.t4d-classes {
    max-width: 200px;
    font-size: 0.78rem;
    color: #555;
}

.t4d-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 500;
}

.t4d-status-badge.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.t4d-status-badge.inactive {
    background: #fce4ec;
    color: #c62828;
}

.t4d-grade-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 500;
    margin-right: 2px;
}

.t4d-grade-badge.j {
    background: #e3f2fd;
    color: #1565c0;
}

.t4d-grade-badge.h {
    background: #fce4ec;
    color: #c62828;
}

/* ==================== RADIUS統合スタイル ==================== */
/* RADIUS機能のための追加スタイル */

/* RADIUSボタンスタイル */
.btn-success {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-search {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: #218838;
}

.btn-page {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.btn-page:hover {
    background: #e9ecef;
}

.btn-page:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* RADIUS検索・一括操作 */
.search-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-box input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 250px;
}

.bulk-actions {
    display: flex;
    gap: 0.5rem;
}

/* RADIUSページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

#pageInfo,
#radius-pageInfo {
    font-weight: 500;
    color: #666;
}

/* RADIUSモーダル */
/* RADIUS用カスタムモーダル（Bootstrap .modal.fade とは別） */
.modal:not(.fade) {
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--brand-color);
    background: linear-gradient(135deg, #f3f4ff 0%, #e8eaff 100%);
}

.modal-header h3 {
    margin: 0;
    color: var(--brand-color);
    font-weight: 700;
    font-size: 1.4rem;
}

.close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal form {
    padding: 2rem;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.modal .form-group input,
.modal .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* RADIUSローディング */
.loading {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--brand-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RADIUSメッセージ */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 1500;
    max-width: 400px;
    min-height: 50px;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message.success {
    background: #28a745;
}

.message.error {
    background: #dc3545;
    color: white;
}

.message.info {
    background: #17a2b8;
}

.message.warning {
    background: #ffc107;
    color: #333;
}

/* RADIUSエラー表示 */
.error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}

/* RADIUSカード表示（スマホ用） */
.user-cards {
    display: none;
}

.user-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--brand-color);
}

.user-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.user-card-title {
    font-weight: 700;
    color: var(--brand-color);
    font-size: 1.1rem;
}

.user-card-body {
    display: grid;
    gap: 0.5rem;
}

.user-card-field {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem;
}

.user-card-label {
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
}

.user-card-value {
    color: #333;
    font-size: 0.9rem;
}

.user-card-actions {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.user-card-actions button {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    padding: 0.5rem;
    font-size: 0.85rem;
}

/* RADIUS証明書管理 */
.cert-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#radius-certList {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    min-height: 200px;
}

/* RADIUSレスポンシブ対応 */
@media (max-width: 768px) {
    .search-box input {
        width: 100%;
        max-width: 250px;
    }

    .bulk-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* RADIUSテーブル→カード切替 */
    .user-cards {
        display: block;
    }
}
