@import url("../vendor/bootstrap/dist/css/bootstrap.min-z0zQt-h.css");
@import url("../vendor/bootswatch/dist/yeti/bootstrap.min-3GTgmwV.css");
@import url("../vendor/datatables.net-dt/css/dataTables.dataTables.min-X8JyWs0.css");

:root {
  --colorPrimaryNormal: #00b3bb;
  --colorPrimaryDark: #00979f;
  --colorPrimaryGlare: #00cdd7;
  --colorPrimaryHalf: #80d9dd;
  --colorPrimaryQuarter: #bfecee;
  --colorPrimaryEighth: #dff5f7;
  --colorPrimaryPale: #f3f5f7;
  --colorPrimarySeparator: #f3f5f7;
  --colorPrimaryOutline: #dff5f7;
  --colorButtonNormal: #00b3bb;
  --colorButtonHover: #00cdd7;
  --colorLinkNormal: #00979f;
  --colorLinkHover: #00cdd7;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: white;
    margin-bottom: 5rem;
}

header, nav, main, footer {
  display: block;
}

.site-logo {
  width: 10em;
  height: 2.5791855em;
}

.site-logo-link {
  display: block;
  flex: none;
}

.nav {
  position: relative;/*←絶対位置*/
  width: 100%;
  padding-top: 1em;
  padding-bottom: 1em;
  color: #ecf0f1;
  background-color: #a3cceb;
}
.nav a:link {
  color: #216497;
  font-weight: bold;
}
.nav a:hover {
  border-color: #ecf0f1;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 4px rgba(36, 151, 240, 0.36);
  outline: none;
}
.nav a:active, a.active {
  color: #216497;
  background-color: #ecf0f1;
}

.is-footer {
  position: absolute;/*←絶対位置*/
  bottom: 0; /*下に固定*/
  width: 100%;
  padding-top: 1.5em;
  padding-bottom: 0.5em;
  z-index: 5;
  color: #ecf0f1;
  background-color: #343a40;
}

/* ファイルアップロード */
.uploader-container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.dropzone-label {
    display: block;
    width: 100%;
    padding: 40px 20px;
    border: 2px dashed #a7f3d0; /* 淡いグリーンに変更 */
    border-radius: 12px;
    background-color: #f0fdf4;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uploader-container.dragover .dropzone-label {
    border-color: #059669;
    background-color: #d1fae5;
}

.upload-icon {
    font-size: 3rem;
    color: #10b981; /* Excel風のグリーン */
    margin-bottom: 12px;
}

.upload-text {
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.upload-subtext {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ファイルリストエリア */
.preview-container {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #ffffff;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #f9fafb;
    transition: background-color 0.2s;
}

.file-item:hover {
    background-color: #f3f4f6;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0; /* テキスト溢れ防止 */
}

.file-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* アイコンカラーの定義 */
.excel-color {
    color: #10b981;
}
.csv-color {
    color: #4b5563;
}

.file-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.file-name {
    font-size: 0.9rem;
    color: #1f2937;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ゴミ箱の削除ボタン */
.remove-btn {
    background: none;
    border: none;
    color: #9ca3af;
    padding: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: #ef4444; /* ホバーで赤色に */
}

.d-none {
    display: none !important;
}

/* Symfony UX Icons が生成するメインのSVGアイコンスタイル */
svg.upload-icon {
    width: 48px;
    height: 48px;
    color: #10b981; /* Excelグリーン */
    margin-bottom: 12px;
}

/* JavaScript側で生成する動的アイコンの枠 */
.file-icon-wrapper {
    width: 28px;
    height: 28px;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
}

/* インラインで簡易的なアイコンをCSSで表現（FontAwesome不要にするアプローチ） */
.file-icon-wrapper::before {
    content: "📊"; /* もしくは、CSS背景でSVGを指定 */
    font-size: 1.5rem;
}
.file-icon-wrapper.is-csv::before {
    content: "📄";
}

/* 削除ボタンの「×」アイコンもCSSで軽量に表現 */
.remove-btn {
    background: none;
    border: none;
    color: #9ca3af;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: #ef4444;
}

.remove-icon::before {
    content: "\2715"; /* Unicode の「✕」マーク */
    font-size: 1.1rem;
    font-weight: bold;
}
















/* datatables */
table.dataTable thead .sorting {
  background-image: url("../images/sort_both-BT4yGNb.png");
}
table.dataTable thead .sorting_asc {
  background-image: url("../images/sort_asc-lXYKlXY.png") !important;
}
table.dataTable thead .sorting_desc {
  background-image: url("../images/sort_desc-P0_8NxL.png") !important;
}
table.dataTable thead .sorting_asc_disabled {
  background-image: url("../images/sort_asc_disabled-MNXIkji.png");
}
table.dataTable thead .sorting_desc_disabled {
  background-image: url("../images/sort_desc_disabled-tBn_10b.png");
}

/*.dt-search {
  padding: .3em .3em;
}
.dt-search .dt-input input {
  position: relative;
  max-width: 100%;
  height: calc(2.5em + (1px * 2));
  padding: .5em .75em;
  background-color: #fff;
  border: 1px solid #d1d8dc;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  color: rgba(0,0,0,.7);
  line-height: 1.5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: ease-out .12s;
}
.dt-search .dt-input input:focus {
  border-color: #0f7dd2;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 4px rgba(36, 151, 240, 0.36);
  outline: none;
}

.dt-paging-button {
  box-sizing: border-box;
  display: inline-block;
  min-width: 0.5em;
  padding: 0em 0.5em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  *cursor: hand;
  color: #333 !important;
  border: 1px solid transparent;
  border-radius: 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #216497 !important;
  border: 1px solid #deecf8;
  background-color: #68abde;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #deecf8), color-stop(100%, #68abde));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #deecf8 0%, #68abde 100%);
  /* Chrome10+,Safari5.1+ */
  background: -moz-linear-gradient(top, #deecf8 0%, #68abde 100%);
  /* FF3.6+ */
  background: -ms-linear-gradient(top, #deecf8 0%, #68abde 100%);
  /* IE10+ */
  background: -o-linear-gradient(top, #deecf8 0%, #68abde 100%);
  /* Opera 11.10+ */
  background: linear-gradient(to bottom, #deecf8 0%, #68abde 100%);
  /* W3C */
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  cursor: default;
  color: #e0e0e0 !important;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: white !important;
  border: 1px solid #216497;
  background-color: #68abde;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #68abde), color-stop(100%, #216497));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #68abde 0%, #216497 100%);
  /* Chrome10+,Safari5.1+ */
  background: -moz-linear-gradient(top, #68abde 0%, #216497 100%);
  /* FF3.6+ */
  background: -ms-linear-gradient(top, #68abde 0%, #216497 100%);
  /* IE10+ */
  background: -o-linear-gradient(top, #68abde 0%, #216497 100%);
  /* Opera 11.10+ */
  background: linear-gradient(to bottom, #68abde 0%, #216497 100%);
  /* W3C */
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  outline: none;
  background-color: #2b2b2b;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* Chrome10+,Safari5.1+ */
  background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* FF3.6+ */
  background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* IE10+ */
  background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* Opera 11.10+ */
  background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
  /* W3C */
  box-shadow: inset 0 0 3px #111;
}*/