@charset "UTF-8";

table.application th {
  width: 30%;
  border: none !important;
}
table.application td {
  width: 70%;
  border: none !important;
}

table.no-border td,
table.no-border th {
  border: none !important;
}

table.white-border td,
table.white-border th {
  border: 1;
  border-color: #FFF;
}

/* テーブルヘッダ設定. */
table th.bg-header {
    background-color: #E3E3E3;
    width: 20%;
    min-width: 140px;
}


span.field-error {
    display: block;
    color: #e53935;
    font-size: 0.85em;
    margin-top: 4px;
}

/* ----------------------------------------
 * ドラッグ&ドロップ ファイル入力（.file-drop-zone）
 * ---------------------------------------- */
.file-drop-zone {
    position: relative;
    border: 2px dashed #b0bec5;
    border-radius: 10px;
    padding: 16px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
    overflow: hidden;
}

.file-drop-zone:hover,
.file-drop-zone.is-dragover {
    border-color: #1976d2;
    background: #e3f2fd;
}

/* 隠しinput（ゾーン全体をクリッカブルに） */
.file-drop-zone__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

/* 未選択時 */
.file-drop-zone__empty {
    padding: 12px 0;
}

.file-drop-zone__icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 8px;
    color: #90a4ae;
}

.file-drop-zone__label {
    font-size: 0.95em;
    color: #546e7a;
    margin: 0 0 4px;
    line-height: 1.6;
}

.file-drop-zone__label span {
    font-size: 0.85em;
    color: #90a4ae;
    text-decoration: underline;
}

.file-drop-zone__hint {
    font-size: 0.78em;
    color: #90a4ae;
    margin: 4px 0 0;
}

/* プレビューあり */
.file-drop-zone__preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.file-drop-zone__img {
    max-height: 120px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    display: block;
}

.file-drop-zone__filename {
    font-size: 0.82em;
    color: #546e7a;
    word-break: break-all;
}

.file-drop-zone__preview-pdf {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.file-drop-zone__pdf-icon {
    font-size: 2em;
}

/* アクションボタン（クリアなど） */
.file-drop-zone__actions {
    position: relative;
    z-index: 2;
    margin-top: 10px;
}
