/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 *
 *= require tom-select
 */

html {
  height: 100%;
}

body {
  height: 100%;
}

main {
  height: 100%;
}

/* フラッシュメッセージ用のアニメーション（スライドイン＋スライドアウト） */
.tx-flash-message-animation {
  animation: flashMessageSlideInOut 10s both;
}
@keyframes flashMessageSlideInOut {
  0% { transform: translateY(-500px); }
  5% { transform: translateY(0); }
  80% { transform: translateY(0); }
  100% { transform: translateY(-500px); }
}

/* GoogleMapsAPIのサジェストボックス用のスタイル */
.pac-container {
  min-width: 300px;
  z-index: var(--z-index-autocomplete-address);
}

/* numberフィールドのスピンボタンを非表示にする */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* dateフィールドのカレンダーアイコンを非表示にする */
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}
