@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/*
 * 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.
 *


 */

/* iconの幅調整 */
.icon-class {
  margin-top: 2vh;
  width: 8vw;
  min-width: 80px;
  text-align: end;
}

/* チャットモーダルのチャット表示を横幅いっぱいに広げ、x軸スクロールを抑制 */
#chat-container {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  word-break: break-all;
  max-height: 60vh;
  overflow-y: auto;
}

/* モーダル本体の高さを画面サイズに制限し、中身をスクロール */
.hs-overlay .modal-scrollable {
  max-height: 90vh;
  overflow-y: auto;
}
