/* css/style.css */

/* ============================================
   Tailwind CSS Component Layer - 共通クラス定義
   ============================================ */
@layer components {
    /* === Input Fields === */

    /* 標準テキスト入力 */
    .input-field {
        @apply w-full h-10 px-3 py-2 border border-gray-300 rounded-lg text-sm;
        @apply focus:ring-2 focus:ring-indigo-500 focus:outline-none;
        @apply bg-white dark:bg-gray-700 dark:border-gray-600 dark:text-white;
        @apply shadow-sm transition;
    }

    /* 大きめテキスト入力（イベント名など） */
    .input-field-lg {
        @apply w-full h-12 px-4 py-3 border border-gray-300 rounded-lg text-base;
        @apply focus:ring-2 focus:ring-indigo-500 focus:outline-none;
        @apply bg-white dark:bg-gray-700 dark:border-gray-600 dark:text-white;
        @apply shadow-sm transition;
    }

    /* Date/DateTime入力 */
    .input-date {
        @apply h-10 px-3 py-2 border border-gray-300 rounded-lg text-sm;
        @apply focus:ring-2 focus:ring-indigo-500 focus:outline-none;
        @apply bg-gray-50 dark:bg-gray-700 dark:border-gray-600 dark:text-white;
        @apply shadow-sm transition;
    }

    /* Select要素 */
    .input-select {
        @apply h-10 px-3 py-2 border border-gray-300 rounded-lg text-sm;
        @apply focus:ring-2 focus:ring-indigo-500 focus:outline-none;
        @apply bg-white dark:bg-gray-700 dark:border-gray-600 dark:text-white;
        @apply shadow-sm transition;
    }

    /* === Buttons === */

    /* 小型セカンダリボタン */
    .btn-secondary-sm {
        @apply h-8 px-3 text-xs font-bold rounded;
        @apply bg-white border border-gray-300 text-gray-700;
        @apply hover:bg-gray-50 shadow-sm transition;
        @apply dark:bg-gray-700 dark:border-gray-600 dark:text-gray-300 dark:hover:bg-gray-600;
        @apply flex items-center justify-center gap-1;
    }

    /* 中型セカンダリボタン */
    .btn-secondary-md {
        @apply h-10 px-4 text-sm font-bold rounded;
        @apply bg-white border border-gray-300 text-gray-700;
        @apply hover:bg-gray-50 shadow-sm transition;
        @apply dark:bg-gray-700 dark:border-gray-600 dark:text-gray-300 dark:hover:bg-gray-600;
        @apply flex items-center justify-center gap-2;
    }

    /* 小型プライマリボタン */
    .btn-primary-sm {
        @apply h-8 px-3 text-xs font-bold rounded;
        @apply bg-indigo-600 text-white;
        @apply hover:bg-indigo-700 shadow-sm transition;
        @apply dark:bg-indigo-500 dark:hover:bg-indigo-600;
        @apply flex items-center justify-center gap-1;
    }

    /* 中型プライマリボタン */
    .btn-primary-md {
        @apply h-10 px-4 text-sm font-bold rounded;
        @apply bg-indigo-600 text-white;
        @apply hover:bg-indigo-700 shadow-md transition;
        @apply dark:bg-indigo-500 dark:hover:bg-indigo-600;
        @apply flex items-center justify-center gap-2;
    }
}

/* ============================================
   Custom Styles
   ============================================ */

html {
    scrollbar-gutter: stable;
}

.fc-toolbar-title {
    font-size: 1.2rem !important;
}

/* ボタンの色を紫に */
.fc-button {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
}

/* 今日の背景色を薄い紫に */
.fc-daygrid-day.fc-day-today {
    background-color: #eef2ff !important;
}

.fc-day-responded {
    background-color: #dcfce7 !important;
    position: relative;
}

/* ✅ の代わりに緑のチェックマークSVG (Heroicons) */
.fc-day-responded::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2315803d'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.fc-day-draft {
    background-color: #fef9c3 !important;
    position: relative;
}

/* 🖊 の代わりにオレンジの鉛筆SVG */
.fc-day-draft::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23b45309'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.sticky-left {
    position: sticky;
    left: 0;
    z-index: 10;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.sticky-corner {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 30;
}

/* Ensure the custom header element sticks */
uni-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}

/* スピナーの色を紫に */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sort-asc::after {
    content: " ▲";
    font-size: 0.7em;
}

.sort-desc::after {
    content: " ▼";
    font-size: 0.7em;
}

/* サイドバーのトランジション */
#sidebar-menu {
    transition: transform 0.3s ease-in-out;
}

/* --- Form Builder & Template Styles (Improved) --- */
.form-builder-wrapper {
    border: 2px dashed #cbd5e1;
    padding: 24px;
    /* p-6相当 */
    background: #f8fafc;
    border-radius: 12px;
    /* rounded-xl */
    min-height: 150px;
}

.form-element {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    /* p-5相当 */
    margin-bottom: 16px;
    border-radius: 12px;
    /* rounded-xl */
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.form-element:hover {
    border-color: #6366f1;
    /* indigo-500 */
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.1), 0 2px 4px -1px rgba(99, 102, 241, 0.06);
}

/* コントロールエリア（並び替え・削除） */
.element-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.btn-control {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    /* rounded-lg */
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 600;
}

.btn-control:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.btn-control.delete:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fecaca;
}

/* 編集可能なタイトル */
.editable-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1e293b;
    width: 100%;
    border: 1px solid transparent;
    padding: 4px;
    border-radius: 4px;
    background: transparent;
    transition: border-color 0.2s;
}

.editable-title:hover,
.editable-title:focus {
    border-color: #cbd5e1;
    background: #fff;
    outline: none;
}

.editable-title::placeholder {
    color: #cbd5e1;
}

/* 編集可能な選択肢 */
.option-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.editable-option {
    flex: 1;
    border: 1px solid transparent;
    padding: 4px 8px;
    font-size: 0.95rem;
    border-radius: 4px;
    background: transparent;
    transition: border-color 0.2s;
}

.editable-option:hover,
.editable-option:focus {
    border-color: #cbd5e1;
    background: #fff;
    outline: none;
}

/* プレビュー・回答用 */
.static-form-element {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.static-form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #334155;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 12px;
    /* p-3相当 */
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    /* rounded-lg */
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    ring: 2px solid #e0e7ff;
}

.form-radio-group,
.form-check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 0;
}

/* スライダー */
.slider-container {
    padding: 10px 0;
}

/* スライダーのアクセントカラーを紫に */
.slider-range {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    accent-color: #4f46e5;
}

.slider-labels-edit {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.slider-label-input {
    width: 80px;
    text-align: center;
    font-size: 0.8rem;
    border: 1px solid transparent;
    padding: 2px;
}

.slider-label-input:hover,
.slider-label-input:focus {
    border-color: #cbd5e1;
    background: #fff;
}

/* =========================================================
   共通コンポーネント（Tailwind @apply）
   ========================================================= */

/* ---------- レイアウト ---------- */


/* --- Common Components (v1.4.0 UI Refresh) --- */

/* カードコンテナ */
.app-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    /* gray-200 */
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* カードヘッダー (青系) */
.app-card-header {
    background-color: #eef2ff;
    /* indigo-50 */
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e7ff;
    /* indigo-100 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-card-title {
    font-weight: 700;
    color: #312e81;
    /* indigo-900 */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* カードヘッダー (黄色系 - フォーム等) */
.app-card-header-yellow {
    background-color: #fefce8;
    /* yellow-50 */
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #fef9c3;
    /* yellow-100 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-card-title-yellow {
    font-weight: 700;
    color: #713f12;
    /* yellow-900 */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* カードボディ */
.app-card-body {
    padding: 1.25rem;
    /* p-5 */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ボタン (共通) */
.btn-sm {
    font-size: 0.75rem;
    /* text-xs */
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    /* rounded-lg */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s;
}

.btn-indigo {
    background-color: #4f46e5;
    color: #fff;
}

.btn-indigo:hover {
    background-color: #4338ca;
}

.btn-white-indigo {
    background-color: #fff;
    border: 1px solid #a5b4fc;
    color: #4338ca;
}

.btn-white-indigo:hover {
    background-color: #eef2ff;
}

.btn-white-yellow {
    background-color: #fff;
    border: 1px solid #fde047;
    color: #a16207;
}

.btn-white-yellow:hover {
    background-color: #fefce8;
}

/* フォームラベル */
.label-text {
    display: block;
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 700;
    color: #6b7280;
    /* gray-500 */
    margin-bottom: 0.5rem;
}

/* 入力フィールド (カレンダー入力等) */
.input-date-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.input-date {
    padding: 0.75rem;
    /* p-3 */
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    /* rounded-lg */
    background-color: #f9fafb;
    font-size: 0.875rem;
    outline: none;
}

.input-date:focus {
    border-color: #6366f1;
}

/* --- Dark Mode Overrides --- */

/* Global Scrollbar (Chrome/Safari/Webkit) */
/* Global Scrollbar (Chrome/Safari/Webkit) */
/* Apply size consistently to prevent layout shift */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Light Mode Colors */
::-webkit-scrollbar-track {
    background: #f1f5f9;
    /* gray-100 */
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* gray-300 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    /* gray-400 */
}

/* Dark Mode Colors */
.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* FullCalendar Dark Mode */
.dark .fc-theme-standard .fc-scrollgrid {
    border-color: #374151 !important;
}

.dark .fc-theme-standard td,
.dark .fc-theme-standard th {
    border-color: #374151 !important;
}

/* Calendar Header - Match Form Stats Style */
.fc-theme-standard th {
    background-color: #f9fafb;
    /* gray-50 (Light Mode) */
}

.dark .fc-theme-standard th {
    background-color: #111827 !important;
    /* gray-900 (Dark Mode) - Match Form Stats */
}

/* Inactive Days (Outside Range) - Dark Mode Distinction */
.dark .fc-day-other {
    background-color: #111827 !important;
    /* gray-900 - Recessed look */
}

/* Light Mode Saturday/Sunday */
.fc-day-sat .fc-col-header-cell-cushion,
.fc-day-sat .fc-daygrid-day-number {
    color: #2563eb;
    /* blue-600 */
}

.fc-day-sun .fc-col-header-cell-cushion,
.fc-day-sun .fc-daygrid-day-number {
    color: #dc2626;
    /* red-600 */
}

.dark .fc-col-header-cell-cushion,
.dark .fc-daygrid-day-number {
    color: #e5e7eb !important;
}

/* Saturday - Blue (Dark Mode) */
.dark .fc-day-sat .fc-col-header-cell-cushion,
.dark .fc-day-sat .fc-daygrid-day-number {
    color: #60a5fa !important;
    /* blue-400 */
}

/* Sunday - Red (Dark Mode) */
.dark .fc-day-sun .fc-col-header-cell-cushion,
.dark .fc-day-sun .fc-daygrid-day-number {
    color: #f87171 !important;
    /* red-400 */
}

.dark .fc-daygrid-day.fc-day-today {
    background-color: rgba(49, 46, 129, 0.5) !important;
}

/* 濃い藍色 (indigo-900 alpha) */

.dark .fc-button-primary {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #fff !important;
}

.dark .fc-button-primary:hover {
    background-color: #4338ca !important;
    border-color: #4338ca !important;
}

.dark .fc-button-active {
    background-color: #3730a3 !important;
    border-color: #3730a3 !important;
}

.dark .fc-toolbar-title {
    color: #f3f4f6 !important;
}

/* フォームビルダー & カード */
.dark .app-card,
.dark .form-element,
.dark .bg-white {
    background-color: #1f2937 !important;
    /* gray-800 */
    border-color: #374151 !important;
    /* gray-700 */
    color: #f3f4f6 !important;
}

.dark .form-builder-wrapper {
    background: #111827;
    /* gray-900 */
    border-color: #4b5563;
    /* gray-600 */
}

/* Header & Sidebar overrides */
.dark #header,
.dark .sticky.top-0.z-40.w-full.bg-gray-800.shadow-sm {
    background-color: #111827 !important;
    /* gray-900 over gray-800 */
    border-color: #374151 !important;
}

.dark #sidebar-menu {
    background-color: #1f2937;
    border-right: 1px solid #374151;
}

.dark .section-title {
    color: #f3f4f6;
    border-left-color: #818cf8;
    /* indigo-400 */
}

/* Forms & Inputs */
.dark input[type="text"],
.dark input[type="number"],
.dark input[type="date"],
.dark input[type="datetime-local"],
.dark textarea,
.dark select,
.dark .input-date {
    background-color: #374151;
    /* gray-700 */
    border-color: #4b5563;
    /* gray-600 */
    color: #ffffff;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #9ca3af;
    /* gray-400 */
}

.dark input:focus,
.dark textarea:focus,
.dark select:focus {
    border-color: #818cf8;
    /* indigo-400 */
    background-color: #4b5563;
    /* gray-600 */
}

.dark .editable-title:hover,
.dark .editable-title:focus,
.dark .editable-option:hover,
.dark .editable-option:focus {
    background-color: #374151;
    border-color: #4b5563;
    color: #fff;
}

/* Buttons */
.dark .btn-control {
    background: #374151;
    color: #d1d5db;
    border-color: #4b5563;
}

.dark .btn-control:hover {
    background: #4b5563;
    color: #f3f4f6;
}

/* Slider */
.dark .slider-range {
    background: #4b5563;
}

/* Utility Backgrounds Overrides for dynamic JS content */
.dark .bg-gray-50 {
    background-color: #111827 !important;
}

/* Slightly darker main bg */
.dark .bg-gray-100 {
    background-color: #1f2937 !important;
}

.dark .bg-gray-200 {
    background-color: #374151 !important;
}

.dark .hover\:bg-gray-50:hover {
    background-color: #374151 !important;
}

.dark .hover\:bg-gray-100:hover {
    background-color: #4b5563 !important;
}

/* Text Colors */
.dark .text-gray-500,
.dark .text-gray-600,
.dark .text-gray-700,
.dark .text-gray-800 {
    color: #d1d5db !important;
}

.dark .text-gray-400 {
    color: #9ca3af !important;
}

/* Indigo Accents */
.dark .bg-indigo-50 {
    background-color: rgba(49, 46, 129, 0.2) !important;
    /* Reduced from 0.4 to match Yellow/Red opacity */
}

.dark .bg-indigo-100 {
    background-color: rgba(49, 46, 129, 0.6) !important;
}

/* Tone down bright purple backgrounds in Dark Mode */
.dark .bg-indigo-600,
.dark .bg-indigo-500 {
    background-color: #3730a3 !important;
    /* indigo-800 - Reduces glare */
    border-color: #312e81 !important;
    /* indigo-900 */
}

/* Added */
.dark .text-indigo-600,
.dark .text-indigo-700,
.dark .text-indigo-800,
.dark .text-indigo-900 {
    color: #a5b4fc !important;
    /* indigo-300 (was 400) - Brighten for translucent bg */
}

.dark .border-indigo-100,
.dark .border-indigo-200,
.dark .border-indigo-300 {
    border-color: #4338ca !important;
}

.dark .hover\:bg-indigo-50:hover {
    background-color: rgba(49, 46, 129, 0.6) !important;
}

/* Yellow Accents - Warning/Draft */
.dark .bg-yellow-50 {
    background-color: rgba(113, 63, 18, 0.2) !important;
}

.dark .bg-yellow-100 {
    background-color: rgba(113, 63, 18, 0.4) !important;
}

/* Added */
.dark .text-yellow-600,
.dark .text-yellow-700,
.dark .text-yellow-800,
.dark .text-yellow-900 {
    color: #fde047 !important;
    /* yellow-300 (was 400) - Brighten */
}

.dark .border-yellow-100,
.dark .border-yellow-200,
.dark .border-yellow-300 {
    border-color: #854d0e !important;
}

/* Red Accents - Error/NG */
.dark .bg-red-50 {
    background-color: rgba(127, 29, 29, 0.2) !important;
}

.dark .bg-red-100 {
    background-color: rgba(127, 29, 29, 0.4) !important;
}

/* Added */
.dark .text-red-500,
.dark .text-red-600,
.dark .text-red-700 {
    color: #f87171 !important;
}

/* red-400 */

/* Green Accents - Success/OK */
.dark .bg-green-50 {
    background-color: rgba(20, 83, 45, 0.2) !important;
}

.dark .bg-green-100 {
    background-color: rgba(20, 83, 45, 0.4) !important;
}

/* Added */
.dark .text-green-600,
.dark .text-green-700,
.dark .text-green-800 {
    color: #4ade80 !important;
}

/* green-400 */

/* Blue Accents - Info/Maybe */
.dark .bg-blue-50 {
    background-color: rgba(30, 58, 138, 0.2) !important;
}

/* Radio & Checkbox Global Styles (Purple Theme) */
input[type="radio"],
input[type="checkbox"] {
    accent-color: #4f46e5;
    /* indigo-600 */
}

/* Checkbox Dark Mode Fix */
.dark input[type="checkbox"],
.dark input[type="radio"] {
    background-color: #374151;
    /* gray-700 */
    border-color: #4b5563;
    /* gray-600 */
    color-scheme: dark;
    /* Ensures browser default UI adapts */
}

.dark .bg-blue-100 {
    background-color: rgba(30, 58, 138, 0.4) !important;
}

/* Added */
.dark .text-blue-500,
.dark .text-blue-600,
.dark .text-blue-700 {
    color: #60a5fa !important;
}

/* blue-400 */

/* Teal Accents - Ranking */
.dark .text-teal-600 {
    color: #2dd4bf !important;
}

/* teal-400 */

/* Gray Overrides */
.dark .bg-gray-200 {
    background-color: #4b5563 !important;
}

/* Lighter for toggle track visibility */
.dark .border-gray-300 {
    border-color: #4b5563 !important;
}

/* Calendar Specific Fixes */
.dark .fc-day-responded {
    background-color: rgba(20, 83, 45, 0.4) !important;
}

/* Darker green background */
.dark .fc-day-draft {
    background-color: rgba(113, 63, 18, 0.4) !important;
}

/* Darker yellow background */

/* Dark Mode Date Picker Icon */
.dark input[type="date"]::-webkit-calendar-picker-indicator,
.dark input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Autofill Background Fix */
/* Light Mode */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #1f2937;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Dark Mode */
.dark input:-webkit-autofill,
.dark input:-webkit-autofill:hover,
.dark input:-webkit-autofill:focus,
.dark textarea:-webkit-autofill,
.dark textarea:-webkit-autofill:hover,
.dark textarea:-webkit-autofill:focus,
.dark select:-webkit-autofill,
.dark select:-webkit-autofill:hover,
.dark select:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #374151 inset;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #ffffff;
}

/* Googleカレンダーのイベント時間表示を強制的に非表示にする */
.gcal-no-time .fc-event-time {
    display: none !important;
}