/* ==================== 
   管理画面専用スタイル
   ==================== */

.admin-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ==================== 
   ログイン画面
   ==================== */

.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.login-container {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.login-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.login-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.login-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.login-error {
    background: #FFEBEE;
    color: #C62828;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    text-align: center;
}

.btn-block {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* ==================== 
   管理画面ヘッダー
   ==================== */

.admin-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--bg-white);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header .logo h1 {
    color: var(--bg-white);
    font-size: 1.8rem;
}

.admin-header .logo .tagline {
    color: rgba(255, 255, 255, 0.9);
}

.admin-nav {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-logout i {
    margin-right: 0.5rem;
}

.btn-back {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-back i {
    margin-right: 0.5rem;
}

/* ==================== 
   メインコンテンツ
   ==================== */

.admin-main {
    padding: var(--spacing-lg) 0;
}

/* ==================== 
   タブナビゲーション
   ==================== */

.tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    background: var(--bg-white);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.tab-button {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
}

.tab-button:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--bg-white);
}

.tab-button i {
    margin-right: 0.5rem;
}

/* ==================== 
   タブコンテンツ
   ==================== */

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 
   管理セクション
   ==================== */

.admin-section {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.section-header h2 i {
    margin-right: var(--spacing-xs);
}

.filter-controls {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    align-items: center;
}

.filter-controls select,
.filter-controls input {
    padding: 0.6rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    flex: 1;
    min-width: 150px;
}

.filter-controls input[type="month"],
.filter-controls input[type="date"] {
    min-width: 140px;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* ==================== 
   情報ボックス
   ==================== */

.info-box {
    background: #E3F2FD;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #1565C0;
}

.info-box i {
    font-size: 1.5rem;
}

.collapse-controls {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    justify-content: flex-end;
}

.collapse-controls button {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ==================== 
   ローディング
   ==================== */

.loading {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.loading i {
    margin-right: var(--spacing-xs);
    font-size: 1.5rem;
}

/* ==================== 
   予約リスト
   ==================== */

.reservations-list {
    display: grid;
    gap: var(--spacing-md);
}

.reservation-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.reservation-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.reservation-card.cancelled {
    border-left-color: var(--error-color);
    opacity: 0.7;
}

.reservation-card.completed {
    border-left-color: #9E9E9E;
    opacity: 0.8;
    background: #FAFAFA;
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.reservation-id {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
}

.reservation-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.status-confirmed {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-completed {
    background: #F5F5F5;
    color: #616161;
}

.status-cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.status-new {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    font-weight: 700;
    animation: newBadgePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

@keyframes newBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
    }
}

.reservation-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-row i {
    color: var(--primary-color);
    width: 20px;
}

.info-row strong {
    color: var(--text-dark);
    margin-right: 0.3rem;
}

.reservation-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.btn-detail {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 600;
}

.btn-detail:hover {
    background: var(--primary-dark);
}

.btn-cancel {
    background: var(--error-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 600;
}

.btn-cancel:hover {
    background: #D32F2F;
}

.btn-cancel:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.btn-delete {
    background: #B71C1C;
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 600;
}

.btn-delete:hover {
    background: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(183, 28, 28, 0.3);
}

.btn-delete:active {
    transform: translateY(0);
}

.btn-delete i {
    margin-right: 0.25rem;
}

/* ==================== 
   営業日リスト
   ==================== */

.business-days-list {
    display: grid;
    gap: var(--spacing-sm);
}

.business-day-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    overflow: hidden;
    transition: var(--transition);
}

.business-day-card:hover {
    box-shadow: var(--shadow-lg);
}

.business-day-card.collapsible {
    cursor: default;
}

.date-header-collapsible {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bg-white);
}

.date-header-collapsible .date-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
}

.date-header-collapsible .date-info:hover {
    opacity: 0.8;
}

.date-header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-select-delete {
    background: #2196F3;
    color: var(--bg-white);
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-select-delete:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.btn-select-delete:active {
    transform: translateY(0);
}

.btn-delete-day {
    background: #FF5722;
    color: var(--bg-white);
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-delete-day:hover {
    background: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.3);
}

.btn-delete-day:active {
    transform: translateY(0);
}

.date-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.date-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.slot-count {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-icon:hover {
    opacity: 0.7;
}

.business-day-card .date-header {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
    font-size: 1.3rem;
}

.slots-container {
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.time-slot-item-card {
    background: var(--bg-light);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.slot-checkbox {
    display: flex;
    align-items: center;
    margin-right: var(--spacing-sm);
}

.slot-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.slot-checkbox label {
    cursor: pointer;
}

.slot-info {
    flex: 1;
}

.slot-header {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.slot-time {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.slot-staff {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.slot-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.slot-info .note-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.slot-info .note-text i {
    margin-right: 0.3rem;
}

.business-day-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.business-day-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.business-day-info .note-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.business-day-info .note-text i {
    margin-right: 0.3rem;
}

.btn-delete {
    background: var(--error-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.btn-delete:hover {
    background: #D32F2F;
}

/* ==================== 
   統計情報
   ==================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.stat-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bg-white);
}

.stat-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.stat-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stats-section {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.stats-section h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-stats {
    display: grid;
    gap: var(--spacing-sm);
}

.service-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--bg-white);
    border-radius: var(--border-radius);
}

.service-stat-item strong {
    color: var(--text-dark);
}

.service-stat-item .count {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.upcoming-list {
    display: grid;
    gap: var(--spacing-sm);
}

.upcoming-item {
    padding: var(--spacing-sm);
    background: var(--bg-white);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid var(--primary-color);
}

.upcoming-date {
    font-weight: 600;
    color: var(--primary-color);
}

.upcoming-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==================== 
   モーダル拡張
   ==================== */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
}

.close-btn:hover {
    color: var(--error-color);
    transform: rotate(90deg);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.btn-secondary {
    background: var(--text-muted);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background: var(--text-light);
}

.modal-large {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-large .modal-header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 10;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-md);
}

.modal-large form {
    overflow-y: auto;
    padding-right: var(--spacing-xs);
}

.modal-large .modal-actions {
    position: sticky;
    bottom: 0;
    background: var(--bg-white);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
    margin-top: var(--spacing-md);
}

.detail-grid {
    display: grid;
    gap: var(--spacing-sm);
    overflow-y: auto;
    max-height: 60vh;
    padding-right: var(--spacing-xs);
}

/* カスタムスクロールバー for detail-grid */
.detail-grid::-webkit-scrollbar {
    width: 8px;
}

.detail-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.detail-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.detail-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.detail-item-large {
    background: var(--bg-light);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
}

.detail-item-large strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.detail-item-large p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==================== 
   空の状態
   ==================== */

.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.empty-state p {
    font-size: 1rem;
}

/* ==================== 
   時間枠チェックボックス
   ==================== */

.time-slots-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-height: 50px;
}

.checkbox-item:hover {
    background: #E3F2FD;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-sm);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
    word-break: break-word;
}

.checkbox-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* ==================== 
   時間枠と施術メニュー選択
   ==================== */

.time-slots-menu-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.time-slot-block {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.time-slot-block:has(input[type="checkbox"]:checked) {
    border-color: var(--primary-color);
    background: #F0F8FF;
}

.time-slot-header {
    background: var(--bg-light);
    padding: var(--spacing-sm);
}

.time-slot-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.time-slot-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-sm);
    cursor: pointer;
}

.time-slot-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.service-menu-section {
    padding: var(--spacing-sm);
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.menu-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.service-checkboxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
}

.service-checkbox-item {
    display: flex;
    align-items: center;
    padding: 0.4rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-checkbox-item:hover {
    background: var(--bg-light);
}

.service-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
}

.service-checkbox-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.help-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

/* ==================== 
   フォームグループのオーバーライド
   ==================== */

.modal-large .form-group {
    margin-bottom: var(--spacing-md);
}

.modal-large .form-group:last-of-type {
    margin-bottom: 0;
}

/* ==================== 
   レスポンシブ
   ==================== */

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }
    
    .time-slots-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .modal-large {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .checkbox-actions {
        flex-direction: column;
    }
    
    .checkbox-actions button {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .filter-controls {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .filter-controls select,
    .filter-controls input,
    .filter-controls button {
        flex: 1;
        min-width: 150px;
    }
    
    .reservation-info {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .time-slots-checkboxes {
        grid-template-columns: 1fr;
    }
}
