/* 共通CSS
  基本的には変更しないこと */


/* 全体背景色 */
body {
  background-color: rgb(235, 235, 235);
  margin: 0 20;
  font-family: "Meiryo UI", Meiryo, "Yu Gothic", sans-serif;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(0, 0, 0);
  height: 50px;
  padding: 0 10px;
  position: relative;
}

/* ヘッダーハンバーガーボタン部分 */
.header-left-parents {
  display: flex;
}

/* ヘッダー左側部分 */
.header-left {
  display: flex;
  align-items: center;
  background-color: rgb(244, 120, 54);
  padding: 0 10px;
  position: relative;
}

/* メニューアイコン */
.menu-icon {
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}

/* ドロップダウンメニュー */
#dropdownMenu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  min-width: 300px;
  flex-direction: column;
  z-index: 1000;
}

#dropdownMenu a {
  padding: 10px;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #ccc;
}

#dropdownMenu a:hover {
  background: #f0f0f0;
}

/* アプリケーションのタイトル */
.app-title {
  color: white;
  margin: 0 0 0 10px;
}

/* ユーザー情報 */
.header-center5 {
  font-size: 15px;
  cursor: pointer;
  color: #fff;
}

/* 言語変更ボタン、ログアウトボタン */
#langBtn,
#logoutBtn {
  width: 100px;
  height: 35px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
  font-family: "Meiryo UI", Meiryo, "Yu Gothic", sans-serif;
}

/* 言語変更部分 */
.lang-container {
  position: relative;
  display: inline-block;
  margin-right: 5px;
}

.lang-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 120px;
  z-index: 1001;
}

.lang-options div {
  padding: 8px 12px;
  cursor: pointer;
}

.lang-options div:hover {
  background-color: #f0f0f0;
}

/* 画面タイトル */
.page-title-content {
  margin: 0 0 0 10px;
  font-size: 25px;
}

.page-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background-color: rgb(66, 66, 66);
  height: 35px;
  color: rgb(255, 255, 255);
}

/* メイン部分 */
.main {
  margin: 7px
}

/* ボタン群 */
.btn-group {
  display: flex;
  text-align: right;
  gap: 10px;
  margin-left: auto;
}

/* 各セクションタイトル */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0;
}

.section-title {
  vertical-align: top;
  margin: 0;
}

.top-content {
  display: flex;
  margin-top: 5px;
}

#Userinfo {
  margin: 3px;
}

/* ボタンの共通スタイル */
.action-btn {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
}

/* 検索ボタンとクリアボタンの共通スタイル */
#searchBtn,
#selectBtn,
#registerBtn,
#closeBtn,
#clearBtn,
#genDongleIdBtn {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
}

/* 表の行の高さを一定に保つためのクラス */
.hidden-row {
  visibility: hidden;
  height: 0;
  padding: 0;
  border: none;
}

/* モーダル共通 */
.modal {
  display: none;
  /* 初期状態は非表示 */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.paging .paging-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 2.4em;
  padding: 8px 12px;
  margin: 0 2px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: inherit;
  line-height: 1;
  vertical-align: middle;
  user-select: none;
  cursor: default;
}

/* Hide browser default password reveal button (Edge, Chrome, etc.) */
input[type="password"]::-ms-reveal {
  display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}
.language-switch-only .header-left,
.language-switch-only .header-center5,
.language-switch-only .logout-button{
  display: none;
}

.title-only .header-left,
.title-only .header-center5,
.title-only .header-right,
.title-only .logout-button{
  display: none;
}

.not-language-switch .lang-container{
  display: none;
}

.button-disabled {
  cursor: not-allowed !important;
  pointer-events: none !important;
  background-color: #e0e0e0 !important;
  color: #666666 !important;
  border-color: #999999 !important;
}