body {
  font-family: Arial, sans-serif;
  text-align: center;
}
  
#container {
  margin-top: 50px;
}

button {
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

button:active {
  transform: translateY(2px); /* タップされた時に沈み込む */
}

/* ログインユーザー表示 */
#loginUser{
  text-align: right;
  font-size: 20px;
  margin-bottom: 30px;
}

/* 出勤、退勤ボタンのコンテナ */
#buttonContainer {
  margin-top: 50px;
}

/* 勤務種別のモーダルダイアログ */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

/* 勤務種別と作業内容と作業時間のdiv */
.form-group {
  margin-top: 20px;
  margin-bottom: 20px;
}
/* 作業時間の入力欄 */
.workTime{
  width: 60%;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  min-width: 200px;
}

/* 既存のスタイル設定はそのままで、以下を追加 */

/* 出退勤状況表示のスタイル */
.attendance-status {
  max-width: 90%;
  margin: 15px auto;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  position: relative;
}

.status-row:first-child {
  background-color: #fafafa;
}

.status-label {
  color: #555555;
  font-weight: 500;
  position: relative;
  padding-left: 15px;
  font-size: 0.9em;
}

.status-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2196f3;
}

.status-row:last-child .status-label::before {
  background-color: red;
}

.status-value {
  color: #333333;
  font-weight: 600;
  font-size: 0.9em;
}

.status-value.not-registered {
  color: #9e9e9e;
  font-style: normal;
}

/* 未登録スタイル */
.status-value.not-registered {
  color: #9e9e9e;
  font-style: italic;
}

/* ホバーエフェクト */
.status-row:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

/* ボタン共通のベーススタイル */
.attendance-button {
  padding: 15px 30px;
  font-size: 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 10px;
  min-width: 150px;
  min-height: 80px;
}

/* 出勤／退勤ボタンデザイン */
.modern-simple .clock-in {
  background-color: #2196f3;
  color: white;
  box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}

.modern-simple .clock-out {
  background-color: #f44336;
  color: white;
  box-shadow: 0 2px 4px rgba(244, 67, 54, 0.2);
}

.modern-simple .clock-in:hover,
.modern-simple .clock-out:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 残業コード表示 */
.overtime-code-dialog button {
  padding: 8px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}

.overtime-code-dialog .confirm-btn {
  background-color: #2196f3;
  color: white;
}

.overtime-code-dialog .confirm-btn:hover {
  background-color: #1976d2;
}

.overtime-code-dialog .cancel-btn {
  background-color: #f5f5f5;
  color: #333;
}

.overtime-code-dialog .cancel-btn:hover {
  background-color: #e0e0e0;
}

.overtime-code-dialog .error-message {
  color: #f44336;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

.overtime-code{
  max-width: 300px;
  margin: 20px auto;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

/* 履歴ボタンのスタイル */
.modern-simple .history {
  background-color: #4CAF50;  /* 緑色 */
  color: white;
  box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

.modern-simple .history:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2);
}
