/* h1 {
  position: relative;
  background-color: orange;
}
th {
  background-color: orange;
}
table,
th,
td {
  border: solid 1px;
}
.error {
  color: red;
}
.prompt-message {
  font-size: 1rem;
  font-weight: 600;
}

h1 {
  background-color: orange;
}

h2 {
  background-color: orange;
}

.error {
  color: red;
} */

tr td:nth-of-type(2),
tr td:nth-of-type(4) {
  background-color: #b5b5b5;
}

/* th {
  background-color: orange;
}
*/

/* table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
} */

/* table,
th,
td {
  border: solid 1px;
} */

.droppable-active {
  background-color: #f7f7f9;
  border: 2px dashed #007bff;
}

.droppable-hover {
  background-color: #e3f2fd;
}

/* Modal

position: fixedにより、モーダルがページ内で固定され、スクロールしても同じ位置に留まるようになる。
left: 0; top: 0; width: 100%; height: 100%; 画面全体をグレーでカバーする。
display: flex; を使用すると、モーダルの内容（中のdiv）をFlexboxコンテナとして扱えるようになる。
align-items: center; は垂直方向の中央寄せを、justify-content: center; は水平方向の中央寄せをする。 

*/

#modal-deadline,
#modal-description {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.hide {
  /* 要素の隠蔽 */
  display: none;
}

/* ログイン中表示する要素 */
#login-user {
  font-size: 2rem;
  color: black;
  position: absolute;
  top: 10px;
  right: 10px;
}
#login-user a {
  font-size: 1rem;
}

/* ログインフォーム */
#form-login {
  background-color: white;
  border: 10px solid orange;
  position: absolute;
  right: 30px;
  top: 30px;
  width: 250px;
}

#modal-login {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 背景半透明 */
  align-items: center; /* 中央揃え（垂直） */
  justify-content: center; /* 中央揃え（水平） */
}

#modal-login > div {
  background: white;
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  max-width: 400px; /* 最大幅を設定 */
}

#modal-login form {
  display: flex;
  flex-direction: column;
}

#modal-login input {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
}

#modal-login button {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #007bff;
  border: none;
  cursor: pointer;
}

#modal-login button:hover {
  background-color: #0056b3;
}

/* サインアップ */
#modal-signup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

#modal-signup > div {
  background: white;
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  max-width: 400px;
}

#modal-signup button {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #007bff;
  border: none;
  cursor: pointer;
}

#modal-signup button:hover {
  background-color: #0056b3;
}
