 body {
 font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
 margin: 0;
 min-height: 100vh;
  background: #000000;
  color: #e8eefc;
  }

.card {
  width: 100%;
  padding: 24px;
  margin: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.landing-card{
  width: 100%;
  max-width: 720px;
  min-height: 520px;
  margin: 0 auto;
  background: #000000;

  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* Summary cards layout */
.summary-cards > .landing-card {
  min-height: 140px;
}

    h1 { margin-top: 0; }
        code { background: #0f1530; padding: 2px 6px; border-radius: 6px; }
        a { color: #8ab4ff; }
        .muted { color: #9db0d6; }
        .row { display: flex; gap: 8px; align-items: center; }
        .pill { border: 1px solid #284074; color: #b9d0ff; background: #122452; border-radius: 999px; padding: 4px 10px; font-size: 12px;
        }

  /* Hover effect for action buttons (Request, Approve, Reject, etc.) */
  button.pill {
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease;
  }

  /* Hover */
  button.pill:hover {
    background: linear-gradient(
      135deg,
      rgba(90, 120, 255, 0.85),
      rgba(70, 100, 220, 0.85)
    );
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(90, 120, 255, 0.4);
    transform: translateY(-1px);
  }

  /* Active (click) */
  button.pill:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(90, 120, 255, 0.25);
  }


  .date-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
  }

  /* Hide clear button (Edge) */
  .date-field input[type="date"]::-ms-clear {
    display: none;
  }
  .date-field input.has-value {
    color: #e8eefc;
    caret-color: auto;
  }

  .date-field::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f93c8;
    font-size: 12px;
    pointer-events: none;
  }

  /* Hide hint when value exists */
  .date-field input.has-value + .calendar-icon,
  .date-field input.has-value ~ ::before {
    content: "";
  }

  .date-field {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  input:focus,
  select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(79,107,255,0.35);
  }

  input {
    background: #0f1530;
    color: #e8eefc;
    border: 1px solid #284074;
  }

  /* Subtle focus polish */
  .note-input:focus {
    outline: none;
    border-color: #4f6bff;
    box-shadow: 0 0 0 2px rgba(79,107,255,0.25);
  }

  .note-input::placeholder {
    color: #7f93c8;
    font-size: 12.5px;
  }

  .calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
    opacity: 0.8;
  }

  .calendar-icon::before {
    content: "📅";
  }

  .calendar-icon:hover {
    opacity: 1;
  }

  .page-card {
    max-width: 980px;
    margin: 0 auto;
  }
  .readable {
    max-width: 760px;
  }
        .form-grid {
    gap: 10px;
    align-items: center;
  }

  .form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
  }
  .card-list > div {
    background: rgba(15,21,48,0.8);
    border: 1px solid #284074;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
  }

  input[type="date"],
  input[type="text"],
  select {
    height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 13px;
    box-sizing: border-box;
  }
  select {
    font-size: 12.5px;
    font-weight: 500;
  }


  input.note-input {
    height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }


  .date-field input[type="date"] {
    padding-right: 32px;
  }

    select {
    appearance: none;
    background: #0f1530;
    color: #e8eefc;
    border: 1px solid #284074;
    border-radius: 10px;
    padding: 8px 34px 8px 10px;
  }

  /* ===== Sidebar navigation ===== */
  .sidebar .nav-item {
    display: flex;
    align-items: center;

    height: 40px;
    padding: 0 18px;
    margin-bottom: 10px;

    border-radius: 999px;
    background: rgba(30, 60, 140, 0.45);
    color: #b9d0ff;

    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease;

    will-change: transform;
  }

  /* Hover */
  .sidebar .nav-item:hover {
    transform: translateY(-1px);
    background: linear-gradient(
      135deg,
      rgba(90, 120, 255, 0.7),
      rgba(70, 100, 220, 0.7)
    );
    box-shadow: 0 8px 18px rgba(90, 120, 255, 0.35);
  }


  .sidebar .nav-item.active {
    background: linear-gradient(135deg, #4f6bff, #6f8cff);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(79,107,255,0.35);
  }


  .nav-section {
    margin: 8px 12px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7f93c8;
  }

  .sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 1px;
    height: 100%;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(79,107,255,0.25),
      transparent
    );
  }

  .nav-item span:last-child {
    font-weight: 500;
    letter-spacing: 0.2px;
  }

  .sidebar a.nav-item:not(.active):hover {
    background: linear-gradient(
      135deg,
      rgba(90, 120, 255, 0.7),
      rgba(70, 100, 220, 0.7)
    ) !important;

    box-shadow: 0 8px 18px rgba(90, 120, 255, 0.35);
    transform: translateY(-1px);
  }



/* Laptops (≤ 1440px) */
@media (max-width: 1440px) {
  .card {
    max-width: 640px;
  }
}

/* Small laptops / tablets */
@media (max-width: 1200px) {
  .card {
    max-width: 100%;
    margin-right: 16px;
  }

  .sidebar {
    width: 200px !important;
  }
}

/* Tablets & below */
@media (max-width: 992px) {
  .sidebar {
    position: fixed;
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .card {
    min-height: auto;
  }
}

form.row {
  flex-wrap: wrap;
  align-items: center;
}

form.row input[type="text"] {
  min-width: 160px;
  flex: 1 1 160px;
}

@media (max-width: 992px) {
  form.row {
    flex-wrap: wrap;
  }
}

form.row {
  gap: 8px;
}

.request-btn {
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}


/* Tablet & smaller: full-width button */
@media (max-width: 992px) {
  .request-btn {
    width: fit-content;
  }
}

input.note-input,
input[placeholder="Optional note"] {
  height: 34px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid #284074;
  background: #0f1530;
  color: #e8eefc;
  box-sizing: border-box;
}

input.note-input::placeholder,
input[placeholder="Optional note"]::placeholder {
  color: #7f93c8;
  font-size: 12.5px;
}


input.note-input:focus,
input[placeholder="Optional note"]:focus {
  outline: none;
  border-color: #4f6bff;
  box-shadow: 0 0 0 2px rgba(79,107,255,0.25);
}


.leave-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 32px;
  background: #0f1b33;
  border-radius: 12px;
}

.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.space-between {
  justify-content: space-between;
}


.summary-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.pill {
  background: #1f325a;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}


.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.date-field {
  position: relative;
}

.note-input {
  width: 160px;
}

.request-btn {
  margin: 16px auto 0;
  padding: 10px 28px;
  cursor: pointer;
}

.request-list {
  margin-top: 24px;
}

.request-card {
  border: 1px solid #284074;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.muted {
  opacity: 0.7;
}

.error-text {
  color: #ff9aa2;
  margin-bottom: 8px;
}

.form-wrapper {
  margin-top: 16px;
}


.date-row {
  justify-content: center;
  align-items: center;
  gap: 12px;
}


.date-row input,
.date-row select {
  height: 36px;
}


.button-row {
  justify-content: center;
  margin-top: 16px;
}


.request-btn{
width:100%;
padding:12px;
font-size:16px;
border-radius:50px;
background:#284074;
color:white;
cursor:pointer;
text-align:center;
margin-top:16px;
border:none;
transition:background0.3s;
}

.request-btn:hover{
background:#4f6bff;
}

.request-btn:active{
background:#3e53ff;
}

.page-center {
  max-width: 1100px;
  margin: 32px auto 30px;
  padding: 0 16px;
}
.approvals-search {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 21px;
}

.form-row,
.summary-row {
  max-width: 720px;
  margin: 0 auto;
}

.summary-row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  max-width: 720px;
  margin: 16px auto;

  gap: 9px;
  flex-wrap: nowrap;
}


.summary-row .pill {
    white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}


.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}


.date-row {
  justify-content: center;
}


.full-width {
  width: 100%;
}

.note-row .note-input {
  width: 100%;
}

.button-row {
  justify-content: center;
}

.button-row .request-btn {
  width: 100%;
  height: 42px;
  font-size: 14px;
}

