body {
  background: linear-gradient(
    to bottom,
    #f8f9ff,
    #eef3ff
  );
  min-height: 100vh;
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/* =========================================
  ログイン画面
========================================= */
html,
body {

  height: 100%;
  margin: 0;

}

.login-body {

  background: #f5f7fb;
  min-height: 100vh;

  display: flex;
  align-items: center!important;
  justify-content: center !important;

}

.login-card {

  width: 100%;
  max-width: 400px;

  border-radius: 20px;
  border: none;

}

/* =========================================
  共通スタイル
========================================= */

.app-header {
  position: sticky;
  top: 0;

  background: white;

  padding: 16px;

  z-index: 100;

  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.app-title {
  background: lavender;
  color: midnightblue;

  padding: 12px;

  border-radius: 16px;

  text-align: center;

  font-weight: 700;

  margin: 16px;
}

.welcome-text {
  text-align: center;
  line-height: 1.8;
}

.form-area {
  max-width: 400px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input,
select,
textarea,
button {
  padding: 10px;
  font-size: 16px;
}

button {
  cursor: pointer;
  border-radius: 999px;
}

#request-list {
 padding: 16px;
 }

.request-date {
  font-size: 18px;
  font-weight: bold;
}

.request-status {
  font-size: 16px;
  color: #0d6efd;
}


/*==========================================
承認画面設定
==========================================*/
.rm-card{
  margin-bottom: 1rem;
  width: 100%;
  min-height: 180px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  color: white;

  border-radius: 24px;
}

.rm-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.total-card {
  background: #EAF4FF;
  color: #808080;
}

.used-card {
  background: #FFF4E5;
  color: #808080;
}

.remaining-card {
  background: #EAFBF0;
  color: #000000;
}

.card p{
  font-weight: 700;
}


/* 申請ボタンのスタイル */
.rm-btn{
  width: 30em;
  padding: 16px;
  text-align: center;
}

@media screen and (max-width: 768px) {

.rm-btn{
  width: 15em;
}

}

.request-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 20px;
}



.history-card {
 /** border: 1px solid #ccc;:**/
  margin: 10px auto;
  max-width: 400px;
  border-radius: 8px;
}


/* 申請・申請削除・否認ボタンのスタイル */
.status-pending {
  color: blue !important;
  font-weight: bold;
}

.status-approved {
  color: green !important;
  font-weight: bold;
}

.status-rejected {
  color: red !important;
  font-weight: bold;
}

.reject-reason {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 8px;
}


/* 承認管理画面のスタイル */

.pending-title {

  text-align: center;
  color: #dc3545;
  border: none !important;
  background: #ffe5e5;
  padding: 12px;
  border-radius: 999px;
  margin: 16px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.menu-area {
margin-right: 25px;
height: auto;
}

.menu-area button {

  width: 100%;

  border: none !important;
  outline: none;

  border-radius: 999px;

  padding: 18px;
  margin: 16px;
  font-size: 24px;
  font-weight: bold;

    box-shadow:
    0 2px 8px rgba(0,0,0,0.08);

  transition: 0.2s;
}

.menu-area button:focus {
  outline: none !important;
}

/*#pending-btn {
  background: #dc3545;
  color: white;
  border: none !important;
}*/

#request-btn {
  border: none !important;
  background: rgba(229, 229, 255, 1);
  color: #0000cd;
  letter-spacing: 0.1em;
}

#history-btn {
  border: none !important;
  background: #f5f5f5;
  color: #696969 !important;
  letter-spacing: 0.5em;
}

/* 承認ボタン */

.approve-btn {

  padding: 10px 24px;
  border-radius: 10px;
  min-width: 100px;

}

.approve-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.approve-buttons .btn {
  width: auto;
  border-radius: 10px;
  font-size: 20px;
}