/* Tech Dropdown */
.dashboard-dropdown {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 28px 0;
  z-index: 20;
}
.dashboard-dropdown select {
  font-size: 1.18rem;
  padding: 12px 24px;
  border-radius: 14px;
  background: linear-gradient(98deg, #eaf6ff 70%, #edf5f8 100%);
  color: #073078;
  font-weight: 600;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.dashboard-dropdown select:hover {
  border-color: #fbaf42;
  box-shadow: 0 7px 20px rgba(251, 175, 66, 0.7);
}

body {
    background-color: #f6f8fa;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
 
}

h2 {
  color: #103060;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.02em;
  border-bottom: 4px solid #fa923f;
  padding-bottom: 10px;
}

p{
  font-size: 1.08rem;
}

.form-card, .section-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 7px 24px rgba(31, 69, 153, 0.09);
  padding: 35px 30px;
  margin-bottom: 34px;
}

.form-card h3, .section-card h3 {
  margin-top: 0;
  color: #01247d;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 153px 1fr;
  .section-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .section-card table,
  .section-card .wf-table {
    min-width: 600px;
    width: max-content;
    display: block;
  }
  align-items: center;
  gap: 22px 12px;
  margin-bottom: 22px;
}

.form-row label {
  color: #214f77;
  font-weight: 600;
  font-size: 1.07rem;
  text-align: right;
}

.form-row input {
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 10px;
  border: 2px solid #ccd5db;
  background: #f3faff;
  color: #232f47;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
}

.form-row input:focus {
  border-color: #fa923f;
  box-shadow: 0 0 8px #fa923f33;
}

.wf-btn,.admin-btn {
  background-color: #154A91;
  color: #fff;
  border-radius: 44px;
  border: none;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 13px 45px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(253, 126, 20, 0.2);
  transition: background 0.2s, box-shadow 0.25s;
  background-size: 200% 100%;
  background-position: right center;
  margin-left: auto;
  display: inline;
}

.wf-btn-container {
  display: flex;
  justify-content: flex-end;
  /* Optional: add some margin below if needed */
  margin-top: 10px;
}

/* If you want smaller button width */
.wf-btn {
  .section-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .section-card table,
  .section-card .wf-table {
    min-width: 600px;
    width: max-content;
    display: block;
  }
  min-width: 180px;
  width: auto;
  margin-left: 0;
}


.wf-btn:hover, .wf-btn:focus {
  background-color: #fbaf42;
  color: #154A91;
  box-shadow: 0 7px 20px rgba(251, 175, 66, 0.7);
  outline: none;
}

.admin-btn:hover{
  background-color: #fbaf42;
  color: #154A91;
  box-shadow: 0 7px 20px rgba(251, 175, 66, 0.7);
  outline: none;
}

.wf-btn-approve {
  background-color: #154A91;
  display: inline;
 
}

.wf-btn-approve:hover, .wf-btn-approve:focus {
  background-color: #fbaf42;
  color: #154A91;
  box-shadow: 0 7px 20px rgba(251, 175, 66, 0.7);
  outline: none;
}

/* Table styles */
.wf-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-top: 12px;
  background: transparent;
  font-size: 1.02rem;
}

.wf-table th {
  background: #fa923f;
  color: #fff;
  font-weight: 700;
  padding: 14px 17px;
  border-radius: 8px 8px 0 0;
  text-align: left;
  border: none;
}

.wf-table td {
  background: #f7fafc;
  border-radius: 0 0 8px 8px;
  padding: 12px 16px;
  border: none;
  color: #23334b;
}

.wf-table tr {
  transition: background 0.18s;
}

.wf-table tr:hover td {
  background: #fffbe7;
}

/* Status badges */
.wf-badge {
  display: inline-block;
  border-radius: 50px;
  padding: 3px 15px;
  font-weight: 600;
  font-size: 1em;
}

.wf-badge-pending { background: #fff1d6; color: #c38213; }
.wf-badge-approved { background: #ddefe8; color: #168753; }
.wf-badge-rejected { background: #ffe4e6; color: #b31921; }
.wf-badge-error { background: #fff1ec; color: #b73a14; }

.message {
  background: #e9fbe8;
  color: #1d5c21;
  border-left: 7px solid #37a028;
  border-radius: 12px;
  padding: 16px 23px;
  font-weight: 600;
  font-size: 1.07rem;
  margin-bottom: 26px;
  box-shadow: 0 2px 9px #0001;
}

.wf-empty {
  color: #aaa;
  font-size: 1.11em;
  margin: 14px 0 20px 0;
  padding-left: 5px;
}

/* nav-bar */
.hori-selector{
  background-color: #f6f8fa;
}

.hori-selector .right,
.hori-selector .left{
  background-color: #f6f8fa;
}

#navbarSupportedContent>ul>li.active>a{
  color:black;
}

/* MOBILE: Up to 600px */
@media (max-width: 600px) {
  body {
    font-size: 1em;
    padding: 0;
  }
  h2 {
    font-size: 1.3rem;
    padding-bottom: 6px;
   
  }

  .form-card, .section-card {
    padding: 15px 7px;
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(31,69,153,0.07);
    margin-bottom: 16px;
    max-width: 100%;
  }

  .form-row {
    display: block;
    gap: 0;
    margin-bottom: 14px;
  }
  .form-row label {
    text-align: left;
    font-size: 1em;
    margin-bottom: 5px;
    display: block;
  }
  .form-row input {
    font-size: 0.98em;
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 7px;
  }

  .wf-btn, .wf-btn-approve {
    width: 100%;
    min-width: 90px;
    font-size: 1em;
    padding: 13px 0;
    margin: 8px 0;
    display: block;
  }
  .wf-btn-container {
    justify-content: center;
    margin-top: 5px;
  }

  .wf-table, .section-card table, .section-card .wf-table {
    min-width: unset;
    width: 100%;
    font-size: 0.97em;
    overflow-x: auto;
    display: block;
  }
  .wf-table th, .wf-table td {
    padding: 9px 6px;
    font-size: 0.96em;
  }
}

/* TABLET: Up to 900px */
@media (max-width: 900px) {
  .form-card, .section-card {
    max-width: 100%;
    padding: 20px 12px;
    margin-bottom: 24px;
  }
  .form-row {
    grid-template-columns: 126px 1fr;
    gap: 12px 7px;
  }
  .form-row input {
    font-size: 0.98rem;
    min-height: 38px;
  }
  .wf-table, .section-card table, .section-card .wf-table {
    min-width: 340px;
    font-size: 0.99em;
  }
  h2 {
    font-size: 1.6rem;
  }
}

/* DESKTOP: From 1200px up */
@media (min-width: 1200px) {
  .form-card, .section-card {
    max-width: 100%; 
  }
  h2 {
    font-size: 2.2rem;
  }
  .wf-table {
    font-size: 1.03rem;
  }
}

/* NAVBAR responsiveness */
@media (max-width: 768px) {
  .hori-selector {
    width: 100%;
  }
  #navbarSupportedContent > ul > li > a {
    font-size: 1em;
  padding-bottom: 10px;
  margin-top: -3px;
  }
}
