:root {
  --brand-orange: #ff7a00;
  --brand-orange-dark: #ff5a00;
  --sidebar-bg: #fff7f0;
}

body {
  background-color: #f5f5f5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 50px 0px;

}
.logo-area img {
  display: block;
  margin: 0 auto;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
}

.brand-text {
  font-weight: 600;
  color: var(--brand-orange-dark);
}

.sidebar {
  /* min-height: calc(100vh - 56px - 40px);
  background-color: var(--sidebar-bg);
  border-right: 1px solid #f0d5b3; */
  position: fixed;
    top: 65px;              /* height of navbar */
    left: 0;
    width: 220px;           /* sidebar width */
    height: calc(100vh - 70px);
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #ddd;
}

.sidebar .nav-link {
  color: #444;
  padding: 10px 16px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: #ffe6cc;
  color: #000;
}

.main-content {
  /* min-height: calc(100vh - 56px - 40px); */
  margin-left: 220px;     /* same as sidebar width */
    padding: 30px;
}

/* Centered form card like your design */
.form-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #FF7500;
  padding: 20px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}

.form-title-bar {
  border:1px solid #FF8F2E;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.required-note {
  font-size: 0.8rem;
  color: #777;
}

/* simple logo area */
.logo-area {
  text-align:center;
  margin-bottom: 10px;
}

.logo-area img {
  max-height: 60px;
}

* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-orange-dark), var(--brand-orange));
}

  /* HR table styling */
  .hr-table {
    font-size: 0.9rem;
    border-color: #eee;
  }

  .hr-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff7eb;          /* soft orange head */
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #ffd199;
  }

  .hr-table tbody tr:nth-child(even) {
    background-color: #fcfcfc;     /* light zebra rows */
  }

  .hr-table tbody tr:hover {
    background-color: #fff3e0;     /* light orange hover */
    transition: background-color 0.15s ease;
  }

  .hr-table th,
  .hr-table td {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    border-color: #eee;
  }

  /* Center S.No and make it a bit bold */
  .hr-table th:first-child,
  .hr-table td:first-child {
    text-align: center;
    font-weight: 600;
    width: 60px;
  }

  /* Make "No records found" stand out a bit */
  .hr-table .no-data-text {
    color: #ff8800;
    font-weight: 600;
  }


  /* HR stats cards above table */
  .hr-stats-row {
    margin-top: 8px;
  }

  .hr-stat-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #ffe0b3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  }

  .hr-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
    margin-bottom: 2px;
  }

  .hr-stat-value {
    font-size: 22px;
    font-weight: 600;
    color: #ff8800;
    line-height: 1.2;
  }

  .hr-stat-sub {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
  }

  /* slight color accents per card */
  .hr-stat-total {
    border-left: 4px solid #ff9800;
  }

  .hr-stat-today {
    border-left: 4px solid #2196f3;
  }

  .hr-stat-joined {
    border-left: 4px solid #4caf50;
  }





@media (max-width: 768px) {
  .sidebar {
      position: relative;
      width: 100%;
      height: auto;
  }
  .main-content {
      margin-left: 0;
  }
}