/* Kimininga Hotel v34.6 dashboard polish */
.hotel-ops-shell {
  color: #11253f;
}

.ops-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #142742 0%, #203451 55%, #2c3238 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(4, 14, 34, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ops-kicker {
  color: #f0b44c !important;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.ops-hero h1 {
  margin: 6px 0 8px;
  color: #ffffff;
}

.ops-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.ops-live {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ops-live span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #33d17a;
  box-shadow: 0 0 0 4px rgba(51, 209, 122, 0.18);
}

.ops-snapshot {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.ops-snapshot > div {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #dfe7f0;
  box-shadow: 0 8px 18px rgba(17, 37, 63, 0.08);
}

.ops-snapshot b {
  display: block;
  color: #c23f3f;
  font-size: 24px;
  line-height: 1;
}

.ops-snapshot span {
  display: block;
  margin-top: 5px;
  color: #5d6c7f;
  font-size: 11px;
  font-weight: 700;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.department-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 196px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid #d9e6f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #18304b !important;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 37, 63, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.department-tab::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--dept-accent, #2a9df4);
}

.department-tab::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.46), rgba(255,255,255,0) 72%);
  opacity: 0.85;
  pointer-events: none;
}

.department-tab:hover,
.department-tab:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(17, 37, 63, 0.17);
  border-color: var(--dept-accent, #2a9df4);
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
}

.department-tab .department-number {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 32px;
  font-weight: 800;
  color: rgba(17, 37, 63, 0.08) !important;
}

.department-tab .department-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--dept-accent, #2a9df4) 14%, white);
  color: var(--dept-accent, #2a9df4) !important;
  font-size: 16px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dept-accent, #2a9df4) 36%, white);
}

.department-tab h2 {
  margin: 14px 0 2px;
  color: #0f2742 !important;
  font-size: 26px;
  line-height: 1.08;
}

.department-tab h4 {
  margin: 0 0 10px;
  color: var(--dept-accent, #2a9df4) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.department-tab p {
  margin: 0;
  color: #596a7d !important;
  font-size: 13px;
  line-height: 1.55;
}

.department-tab .dept-staff {
  display: none !important;
}

.department-open {
  margin-top: auto;
  padding-top: 12px;
  color: var(--dept-accent, #2a9df4) !important;
  font-size: 13px;
  font-weight: 800;
}

.dept-rooms { --dept-accent: #1b9b8f; }
.dept-fnb { --dept-accent: #e97d22; }
.dept-facility { --dept-accent: #2e8bff; }
.dept-finance { --dept-accent: #6976f3; }
.dept-hr { --dept-accent: #8c4fe8; }
.dept-sales { --dept-accent: #0c7ed6; }

.ops-sync-strip {
  margin-top: 14px;
  border-radius: 12px;
  padding: 14px 18px;
  background: #fff8ed;
  border: 1px solid #efd9b8;
  color: #7b5625;
  box-shadow: 0 8px 18px rgba(17, 37, 63, 0.06);
}

.ops-sync-strip b,
.ops-sync-strip span,
.ops-sync-strip small {
  color: inherit;
}

@media (max-width: 1100px) {
  .department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-snapshot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ops-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .department-grid,
  .ops-snapshot { grid-template-columns: 1fr; }
}
