body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  scroll-behavior: smooth;
}

.hero {
  background: linear-gradient(to right, rgba(0,70,140,0.8), rgba(0,110,200,0.7)), url('../images/office-bg.jpg') center/cover no-repeat;
  height: 100vh;
}

.hero h1 {
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
}

footer a:hover {
  color: #0d6efd;
}

.navbar-brand img {
  border-radius: 5px;
}
/* ====== Login & Register Pages ====== */
.card {
  border-radius: 12px;
}

.form-control:focus {
  box-shadow: none;
  border-color: #0d6efd;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
}

input::placeholder {
  color: #bbb;
}

.vh-100 {
  min-height: 100vh !important;
}
/* ====== Employee Dashboard ====== */
#wrapper {
  min-height: 100vh;
  display: flex;
}

#sidebar {
  width: 250px;
  min-height: 100vh;
}

#page-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

#wrapper.toggled #sidebar {
  display: none;
}
.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding-right: 40px; /* space for the eye icon */
    height: 40px;
}

.toggle-visibility {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}


/* Responsive for mobile view */
@media (max-width: 992px) {
  #sidebar {
    display: none;
  }
  #wrapper.toggled #sidebar {
    display: block;
    position: absolute;
    z-index: 1000;
    width: 250px;
  }
}
/* ====== NGS Performance Table ====== */
.grading-table td {
  font-weight: 600;
  font-size: 0.9rem;
}

input[type="number"]::-webkit-inner-spin-button {
  opacity: 1;
}
/* ====== Manager Review ====== */
textarea {
  resize: none;
}
select.form-select {
  min-width: 250px;
}
.btn-success {
  background-color: #198754;
  border: none;
}
.btn-warning {
  background-color: #ffc107;
  border: none;
  color: #000;
}
/* ====== Petty Cash Module ====== */
textarea {
  resize: none;
}

.table th, .table td {
  vertical-align: middle !important;
}

.badge {
  font-size: 0.85rem;
  padding: 6px 10px;
}
/* ====== Petty Cash Admin ====== */
textarea {
  resize: none;
}
.table th, .table td {
  vertical-align: middle !important;
}
.btn-sm i {
  font-size: 0.8rem;
}
/* ====== Finance Dashboard ====== */
.card {
  border-radius: 12px;
}
.card h4 {
  font-size: 1.6rem;
}
canvas {
  width: 100% !important;
}
.table th, .table td {
  vertical-align: middle !important;
}
#sidebar .nav-link.active {
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
}

.card {
  border-radius: 12px;
}

textarea, input, select {
  border-radius: 8px !important;
}

.table td, .table th {
  vertical-align: middle !important;
}
#sidebar .nav-link.active {
  background: rgba(255,255,255,0.25);
  border-radius: 6px;
}

textarea {
  resize: none;
}

.table td, .table th {
  vertical-align: middle !important;
}
.card {
  border-radius: 12px;
}

.table td, .table th {
  vertical-align: middle !important;
}

#sidebar .nav-link.active {
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
}
#sidebar .nav-link.active {
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
}

.table td, .table th {
  vertical-align: middle !important;
}
/* Roles & Permissions small tweaks */
#permMatrix td, #rolesTable td, #assignTable td {
  vertical-align: middle !important;
}
#rolesTable button, #assignTable button {
  min-width: 36px;
}


