/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* ===== 共通レイアウト ===== */
body {
  background-color: #f5f5f0;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* ===== カード ===== */
.fax-card {
  background-color: #e9e8d9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 40px 32px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== 入力フォーム ===== */
.fax-field {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fax-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
  box-sizing: border-box;
}

/* ===== アップロードボタン（オレンジ） ===== */
.fax-btn-upload {
  display: inline-block;
  background-color: #f07a00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.fax-file-input {
  display: none;
}

.fax-file-name {
  font-size: 12px;
  color: #555;
  margin-top: 6px;
  word-break: break-all;
}

/* ===== 次へ・送信ボタン（青） ===== */
.fax-btn-next {
  background-color: #1c8fdc;
  color: #fff;
  border: none;
  padding: 10px 32px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.fax-btn-next:hover {
  background-color: #166fb5;
}

.fax-submit {
  align-items: center;
}

/* ===== 確認画面タイトル ===== */
.fax-confirm-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

/* ===== 確認テーブル ===== */
.fax-confirm-table {
  width: 100%;
  border-collapse: collapse;
}

.fax-confirm-table th,
.fax-confirm-table td {
  padding: 10px 12px;
  border: 1px solid #bbb;
  font-size: 14px;
}

.fax-confirm-table th {
  background-color: #c8c8b4;
  text-align: left;
  width: 35%;
}

.fax-confirm-table td {
  background-color: #fff;
}

/* ===== 戻るリンク ===== */
.fax-back-link {
  display: block;
  text-align: center;
  color: #555;
  font-size: 13px;
  text-decoration: none;
  margin-top: 4px;
}

.fax-back-link:hover {
  color: #333;
}
