@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@300;400;700;900&family=Inter:wght@400;500;600;700;900&display=swap');

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #f3f2f7;
  --text-dark: #2b3674;
  --text-muted: #90a1b9;
  --text-primary: #314158;
  --purple-main: #9810fa;
  --purple-light: rgba(172, 84, 219, 0.13);
  --blue-main: #155dfc;
  --font-geist: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-inter: 'Inter', sans-serif;
  --font-arial: 'Arial', sans-serif;
}

body {
  font-family: var(--font-geist);
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

/* --- Layout Grid --- */
.app-container {
  display: flex;
  min-height: 100vh;
  background: var(--bg-main);
}

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: 0;
  width: 288px;
  height: 100vh;
  flex-shrink: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  background: var(--bg-main);
  z-index: 20;
}

.sidebar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  border: 2px solid #ffffff;
  background: linear-gradient(to bottom, #fcfcfc, #f5f4f9);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.03);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 24px;
}

.sidebar-logo img {
  width: 188px;
  height: 86px;
  object-fit: cover;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  text-align: left;
  transition: all 0.15s ease;
  color: var(--text-muted);
}

.nav-item:hover {
  background: rgba(172, 84, 219, 0.06);
}

.nav-item:hover .nav-label {
  color: var(--purple-main);
}

.nav-item:hover .nav-icon {
  filter: none;
  opacity: 0.85;
}

.nav-item:hover svg.nav-icon {
  color: var(--purple-main);
}

.nav-item.active {
  background: var(--purple-light);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-item .nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(0.7) sepia(18%) hue-rotate(175deg) saturate(180%) opacity(0.85);
  transition: all 0.15s ease;
}

.nav-item.active .nav-icon {
  filter: none;
  opacity: 1;
}

.nav-item svg.nav-icon {
  fill: currentColor;
  color: #494b4e;
}

.nav-item.active svg.nav-icon {
  color: var(--purple-main);
}

.nav-item .nav-label {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.275px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-item.active .nav-label {
  color: var(--purple-main);
}

.sidebar-footer {
  border-top: 1px solid rgba(241, 245, 249, 0.8);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Sidebar Action Buttons matching Figma design (Export Report & Admin Portal) */
.sidebar-btn-export,
.sidebar-btn-admin {
  position: relative;
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.sidebar-btn-export span,
.sidebar-btn-admin span {
  font-family: var(--font-arial), var(--font-inter), sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.sidebar-btn-export svg,
.sidebar-btn-admin svg {
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Top: EXPORT REPORT in vibrant electric purple (#9810FA) */
.sidebar-btn-export {
  background: #9810fa;
  box-shadow: 0 4px 14px rgba(152, 16, 250, 0.32);
}

.sidebar-btn-export:hover {
  background: #8909e4;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(152, 16, 250, 0.45);
}

.sidebar-btn-export:hover svg {
  transform: translateY(2px);
}

.sidebar-btn-export:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(152, 16, 250, 0.3);
}

/* Bottom: ADMIN PORTAL in midnight dark slate (#0F172B) */
.sidebar-btn-admin {
  background: #0f172b;
  box-shadow: 0 4px 14px rgba(15, 23, 43, 0.22);
}

.sidebar-btn-admin:hover {
  background: #1e293b;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(15, 23, 43, 0.38);
}

.sidebar-btn-admin:hover svg {
  transform: scale(1.08);
}

.sidebar-btn-admin:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 23, 43, 0.2);
}

.attribution-card {
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.attribution-title {
  font-family: var(--font-arial);
  font-weight: 900;
  font-size: 9px;
  color: #314158;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.attribution-authors {
  display: flex;
  align-items: center;
  gap: 8px;
}

.attribution-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ad46ff;
}

.attribution-names {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 10px;
  color: var(--purple-main);
  letter-spacing: 0.5px;
}

.attribution-divider {
  width: 170px;
  height: 1px;
  background: rgba(226, 232, 240, 0.5);
}

.attribution-copy {
  font-family: var(--font-arial);
  font-weight: 400;
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.admin-portal-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #0f172b;
  border: 1px solid #f1f5f9;
  transition: opacity 0.15s ease;
}

.admin-portal-btn:hover {
  opacity: 0.85;
}

.admin-portal-btn span {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.admin-portal-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  background: #e2e8f0;
  color: #45556c;
  font-family: var(--font-arial);
  font-weight: 900;
  font-size: 8px;
}

/* --- Main Area --- */
.main-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-main);
  padding-top: 32px;
  padding-bottom: 12px;
  padding-left: 32px;
  padding-right: 32px;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.header-title-box h1 {
  font-family: var(--font-arial);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.75px;
  color: var(--text-dark);
  line-height: 36px;
}

.header-subtitle {
  font-family: var(--font-arial);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 19.5px;
  margin-top: 2px;
}

.header-subtitle span {
  font-weight: 700;
  color: var(--text-primary);
}



.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-widget {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 1px 1.5px rgba(0, 0, 0, 0.08), 0px 1px 1px rgba(0, 0, 0, 0.04);
}

.clock-widget {
  display: flex;
  flex-direction: column;
  padding-right: 32px;
  border-right: 1px solid #f1f5f9;
}

.clock-time {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-dark);
}

.clock-ampm {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.clock-date {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.weather-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 32px;
  border-right: 1px solid #f1f5f9;
}

.weather-widget img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.weather-temp {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 18px;
  color: #00bcff;
  line-height: 18px;
}

.weather-label {
  font-family: var(--font-arial);
  font-weight: 900;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sunset-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
  border-right: 1px solid #f1f5f9;
}

.sunset-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff5eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sunset-icon-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sunset-time {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 18px;
  color: #ff6900;
  line-height: 18px;
}

.sunset-label {
  font-family: var(--font-arial);
  font-weight: 900;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.date-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-widget label {
  font-family: var(--font-arial);
  font-size: 10px;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.date-widget input[type="date"] {
  border: none;
  background: transparent;
  font-family: var(--font-arial);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  padding: 0;
}

.date-picker-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 8px 12px;
  cursor: pointer;
}

.date-picker-box label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.date-picker-box input {
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
}

/* --- Anti-Crop Page Headers --- */
.view-header-title {
  font-size: 42px !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.25 !important;
  padding-top: 6px !important;
  padding-bottom: 4px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
}

.view-header-title-sm {
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.25 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
}

.view-header-gradient {
  font-style: italic !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #9810fa, #615fff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  padding-right: 4px !important;
}

/* --- Content Views Container --- */
.content-body {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 48px;
  flex: 1;
}

/* Guest Voice Grid */
.gv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1380px) {
  .gv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gv-grid {
    grid-template-columns: 1fr;
  }
}

/* B&F Revenue Grid */
.bf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .bf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bf-grid {
    grid-template-columns: 1fr;
  }
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

/* --- Common Card Styles --- */
.card-white {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05), 0px 1px 2px -1px rgba(0, 0, 0, 0.05);
}

.rounded-40 {
  border-radius: 40px;
}

.rounded-32 {
  border-radius: 32px;
}

.rounded-24 {
  border-radius: 24px;
}

.rounded-16 {
  border-radius: 16px;
}

/* --- Dashboard Styles --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}

@media (max-width: 1366px) {
  .dashboard-grid {
    grid-template-columns: 1fr 320px;
    gap: 20px;
  }
}

@media (max-width: 1180px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.occ-card {
  padding: 24px 20px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}

.occ-title {
  font-family: var(--font-geist);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.8px;
  color: #314158;
  text-transform: uppercase;
}

.occ-bars-row {
  display: flex;
  gap: clamp(12px, 2vw, 32px);
  align-items: flex-end;
  padding-top: 24px;
}

.occ-bars-container {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #f8fafc;
  padding-bottom: 24px;
}

.occ-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.occ-col-bars {
  display: flex;
  gap: clamp(4px, 0.8vw, 10px);
  align-items: flex-end;
  justify-content: center;
  height: 192px;
}

.bar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 192px;
}

.bar-pct {
  font-size: clamp(8px, 0.75vw, 10px);
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  white-space: nowrap;
}

.bar-paying {
  width: clamp(26px, 2.8vw, 44px);
  border-radius: 4px 4px 0 0;
  background: #f1948a;
  box-shadow: 0px 10px 7.5px #ffe4e6, 0px 4px 3px #ffe4e6;
  transition: height 0.3s ease;
}

.bar-total {
  width: clamp(26px, 2.8vw, 44px);
  border-radius: 4px 4px 0 0;
  background: #f9e79f;
  box-shadow: 0px 10px 7.5px #fefce8, 0px 4px 3px #fefce8;
  transition: height 0.3s ease;
}

.occ-col-label {
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.occ-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  padding-bottom: 32px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color-paying {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #f1948a;
  flex-shrink: 0;
}

.legend-color-total {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #f9e79f;
  flex-shrink: 0;
}

.legend-text {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.arr-dep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .arr-dep-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.arr-dep-card {
  background: #ffffff;
  border: 1px solid #f8fafc;
  border-radius: 24px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  padding: 16px 14px;
  min-width: 0;
}

.corner-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 48px;
  border-bottom-left-radius: 36px;
  opacity: 0.35;
  pointer-events: none;
}

.arr-dep-day-label {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 8.5px;
  font-weight: 900;
  color: #62748e;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.arr-dep-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
}

.metric-label-box {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.metric-label-box img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.metric-label-box span {
  font-size: clamp(9px, 0.72vw, 10.5px);
  font-weight: 900;
  color: #1d293d;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.metric-val-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-left: 4px;
}

.metric-val-num {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1;
}

.metric-val-badge {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-top: 2px;
  font-size: 8.5px;
  font-weight: 700;
  color: #00bc7d;
}

.adr-revpar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .adr-revpar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.adr-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 18px 12px;
  box-shadow: 0px 1px 1.5px rgba(0, 0, 0, 0.05);
  min-width: 0;
  overflow: hidden;
}

.adr-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #314158;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adr-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 150px;
  padding-top: 18px;
  gap: 4px;
}

.adr-col {
  flex: 1;
  min-width: 0;
  width: 33.333%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.adr-val-text {
  font-size: clamp(12px, 0.68vw, 17.5px);
  font-weight: 800;
  color: #19b989;
  white-space: nowrap;
  letter-spacing: -0.4px;
  text-align: center;
  width: 100%;
  display: block;
  overflow: hidden;
  text-overflow: clip;
}

.revpar-val-text {
  font-size: clamp(12px, 0.68vw, 17.5px);
  font-weight: 800;
  color: #1081c2;
  white-space: nowrap;
  letter-spacing: -0.4px;
  text-align: center;
  width: 100%;
  display: block;
  overflow: hidden;
  text-overflow: clip;
}

.adr-bar {
  width: clamp(20px, 2.4vw, 36px);
  border-radius: 4px 4px 0 0;
  background: #19b989;
  transition: height 0.3s ease;
}

.revpar-bar {
  width: clamp(20px, 2.4vw, 36px);
  border-radius: 4px 4px 0 0;
  background: #1081c2;
  transition: height 0.3s ease;
}

.adr-day-name {
  font-size: 8.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Dashboard Right Column */
.dash-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mtd-ytd-donut-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 40px;
  padding: 32px;
  box-shadow: 0px 1px 1.5px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.mtd-ytd-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #314158;
  text-transform: uppercase;
}

.donuts-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 40px;
}

.donut-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
}

.donut-inner-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donut-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.donut-val {
  font-size: 24px;
  font-weight: 900;
  color: #314158;
  line-height: 32px;
}

.mbv-occ-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0px 1px 1.5px rgba(0, 0, 0, 0.05);
}

.mbv-title {
  font-size: 20px;
  font-weight: 700;
  color: #314158;
  text-transform: uppercase;
}

.mbv-progress-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 32px;
}

.mbv-progress-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mbv-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mbv-meta-name {
  font-size: 14px;
  font-weight: 600;
  color: #45556c;
}

.mbv-meta-val {
  font-size: 12px;
  font-weight: 700;
  color: #1d293d;
}

.progress-track {
  background: #f1f5f9;
  border-radius: 9999px;
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease;
}

/* =========================================================
   Dashboard New Sections:
   1. General Notification
   2. Talent of the Month
   3. Trainee of the Month
   ========================================================= */

/* --- 1. General Notification --- */
.dash-notif-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0px 1px 1.5px rgba(0, 0, 0, 0.05);
}

.dash-notif-title-header {
  font-size: 20px;
  font-weight: 700;
  color: #314158;
  text-transform: uppercase;
  margin: 0 0 24px 0;
  letter-spacing: -0.3px;
}

.dash-notif-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.dash-notif-list::-webkit-scrollbar {
  width: 6px;
}

.dash-notif-list::-webkit-scrollbar-track {
  background: transparent;
}

.dash-notif-list::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 9999px;
}

.dash-notif-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px;
  transition: all 0.2s ease;
}

.dash-notif-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.dash-notif-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.dash-notif-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

.dash-notif-date {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.dash-notif-body {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

.dash-notif-body::-webkit-scrollbar {
  width: 4px;
}

.dash-notif-body::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.dash-notif-attachment-wrap {
  margin-top: 14px;
}

.dash-notif-attachment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  max-width: 100%;
}

.dash-notif-attachment-btn:hover {
  background: #f1f5f9;
  border-color: #ad46ff;
  color: #7e22ce;
  box-shadow: 0 2px 8px rgba(173, 70, 255, 0.15);
}

.dash-notif-paperclip {
  flex-shrink: 0;
  color: #64748b;
}

.dash-notif-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.dash-notif-download-icon {
  color: #ad46ff;
  flex-shrink: 0;
  margin-left: 2px;
}

.dash-notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 16px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px dashed #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
}

.dash-notif-skeleton {
  padding: 24px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px dashed #e2e8f0;
  border-radius: 20px;
}

/* --- 2 & 3. Talent & Trainee Cards --- */
.dash-talent-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  padding: 28px 24px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dash-card-title {
  font-family: var(--font-geist);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #314158;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-title-tag {
  color: #9810fa;
  font-weight: 900;
  text-transform: uppercase;
}

.dash-btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #ffffff;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dash-btn-more:hover {
  border-color: #9810fa;
  color: #9810fa;
  background: #faf5ff;
  box-shadow: 0 2px 8px rgba(152, 16, 250, 0.12);
}

/* Month Group Box */
.dash-month-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.2s ease;
}

.dash-month-card:last-child {
  margin-bottom: 0;
}

.dash-month-card:hover {
  border-color: #cbd5e1;
}

.dash-month-label {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  width: 48px;
  flex-shrink: 0;
  text-align: left;
}

.dash-month-members {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Member Row */
.dash-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  transition: transform 0.15s ease;
}

.dash-member-row.clickable {
  cursor: pointer;
}

.dash-member-row.clickable:hover .dash-member-name {
  color: #9810fa;
}

.dash-member-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-avatar-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.dash-avatar-circle {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f472b6, #db2777);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.25);
  user-select: none;
}

.dash-avatar-circle.placeholder {
  background: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
}

.dash-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-member-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-member-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.dash-member-dept {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: capitalize;
}

.dash-member-cat-badge {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 34px;
  text-align: right;
}

.dash-member-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.dash-medal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.dash-medal-winner {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  border: 1px solid #fcd34d;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2);
}

.dash-medal-winner svg {
  color: #d97706;
}

.dash-medal-nominee {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.dash-medal-nominee svg {
  color: #64748b;
}

.winner-avatar {
  box-shadow: 0 0 0 2.5px #f59e0b, 0 3px 10px rgba(245, 158, 11, 0.35) !important;
}

.dash-member-deliberation {
  padding: 18px 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* Trainee single box */
.dash-trainee-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.dash-trainee-box:hover {
  border-color: #cbd5e1;
}

/* --- Tables & Data Grids --- */
.data-table-container {
  overflow-x: auto;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05);
  margin-top: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 16px 20px;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid #f1f5f9;
}

.data-table td {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #314158;
  border-bottom: 1px solid #f8fafc;
}

.data-table tr:hover td {
  background: #fafafa;
}

.badge-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-inh {
  background: #ecfdf5;
  color: #009966;
}

.badge-dep {
  background: #eff6ff;
  color: #155dfc;
}

.badge-arr {
  background: #faf5ff;
  color: #9810fa;
}

/* --- Outlet Performance (B&F Revenue) --- */
.outlets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.outlet-card {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  height: 288px;
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0px 20px 25px -5px rgba(226, 232, 240, 0.5);
}

.outlet-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outlet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.outlet-badge {
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.outlet-metrics-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 16px 20px;
}

.outlet-rev-val {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.outlet-covers-val {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Modals --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 20px;
  font-weight: 900;
  color: #1d293d;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #64748b;
  cursor: pointer;
}

/* --- Form Fields --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  transition: all 0.15s ease;
}

.form-input:focus {
  border-color: var(--purple-main);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(152, 16, 250, 0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 12px;
  background: var(--purple-main);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  transition: opacity 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* --- Fullscreen Admin Workspace Modal --- */
.admin-workspace {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: #f8fafc;
  overflow: hidden;
}

.admin-workspace.active {
  display: flex;
}

/* --- Admin Sidebar (Matching Image 3) --- */
.admin-sidebar {
  width: 270px;
  background: #090d16;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  color: #ffffff;
}

.admin-sidebar-header {
  padding: 24px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-w-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #9333ea;
  box-shadow: 0 0 16px rgba(147, 51, 234, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-w-badge span {
  color: #ffffff;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
}

.admin-brand-title {
  font-weight: 900;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.admin-sidebar-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.admin-sidebar-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-nav-section-title {
  font-size: 10px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 16px 0 10px 20px;
}

.admin-sidebar-nav {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.admin-nav-item.active {
  background: #9333ea;
  color: #ffffff;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.4);
}

.admin-nav-item .admin-nav-chevron {
  margin-left: auto;
  opacity: 0.9;
  display: none;
}

.admin-nav-item.active .admin-nav-chevron {
  display: block;
}

.admin-sidebar-bottom {
  margin-top: auto;
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.admin-btn-export {
  width: 100%;
  height: 52px;
  padding: 0 24px;
  border-radius: 9999px;
  background: #9333ea;
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
  box-sizing: border-box;
}

.admin-btn-export-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-btn-export-chevron {
  opacity: 0.9;
  flex-shrink: 0;
}

.admin-btn-export:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.admin-btn-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #818cf8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 12px 6px 4px;
  margin-top: 8px;
  transition: color 0.15s ease;
}

.admin-btn-logout:hover {
  color: #c7d2fe;
}

.admin-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-body {
  padding: 32px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  background: #0f172b;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  display: none;
  animation: slideIn 0.2s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   ADMIN PORTAL - SINGLE WEB VIEW
   ════════════════════════════════════════════════════════════════════════════ */
.admin-portal-view {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  animation: fadeInPortal 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.admin-portal-view.active {
  display: flex;
}

@keyframes fadeInPortal {
  from {
    opacity: 0;
    transform: scale(0.99);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating Back to Dashboard Button */
.admin-floating-back {
  position: fixed;
  top: 24px;
  left: 32px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.admin-floating-back:hover {
  background: #ffffff;
  color: #0f172b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(-2px);
}

/* Side Gallery Flanks */
.admin-flank {
  width: 280px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  pointer-events: none;
  user-select: none;
  box-sizing: border-box;
}

.admin-flank-left {
  padding-left: 24px;
}

.admin-flank-right {
  padding-right: 24px;
}

.admin-flank-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.admin-flank-circle-top {
  margin-top: -35px;
}

.admin-flank-circle-bottom {
  margin-bottom: -35px;
}

.admin-flank-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-flank-card {
  width: 230px;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.admin-flank-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Center Main Area */
.admin-portal-main {
  flex: 1;
  max-width: 520px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 36px 20px 24px 20px;
  box-sizing: border-box;
  margin: 0 auto;
  z-index: 10;
}

/* Brands Header Row */
.admin-portal-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  width: 100%;
  padding-top: 10px;
}

.w-bali-logo-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w-logo-mark {
  font-size: 34px;
  font-weight: 800;
  color: #787f8d;
  line-height: 1;
  letter-spacing: -0.5px;
}

.w-logo-subtext {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.w-subtext-bali {
  font-size: 13px;
  font-weight: 700;
  color: #787f8d;
}

.w-subtext-seminyak {
  font-size: 13px;
  font-weight: 500;
  color: #787f8d;
}

.bonvoy-logo-lockup img {
  height: 38px;
  object-fit: contain;
  display: block;
}

/* Auth Center Box */
.admin-portal-auth-container {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto 0;
}

.admin-portal-headline {
  font-size: 32px;
  font-weight: 900;
  color: #14083c;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
}

.admin-portal-date {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin: 0 0 24px 0;
}

.admin-portal-help {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 32px 0;
}

.admin-link {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.admin-link:hover {
  color: #3730a3;
  text-decoration: underline;
}

/* Single View Form & Inputs */
.admin-portal-form {
  width: 100%;
  text-align: left;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
}

.admin-field-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.admin-field-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #6366f1;
  background: transparent;
  padding: 6px 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.admin-field-input:focus {
  border-bottom-color: #4338ca;
}

.admin-field-password {
  border-bottom: 1px solid #cbd5e1;
  letter-spacing: 2px;
}

.admin-field-password:focus {
  border-bottom-color: #6366f1;
}

.admin-portal-error {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.admin-portal-signin-btn {
  margin: 36px auto 0 auto;
  width: 250px;
  height: 46px;
  border-radius: 9999px;
  background: #14083c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -4px rgba(20, 8, 60, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-portal-signin-btn:hover {
  background: #210d5e;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -4px rgba(20, 8, 60, 0.5);
}

.admin-portal-signin-btn:active {
  transform: translateY(0);
}

/* Bottom Footer Links */
.admin-portal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  padding-bottom: 10px;
}

.admin-footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
  cursor: pointer;
}

.admin-footer-link:hover {
  color: #64748b;
}

.admin-footer-dot {
  font-size: 10px;
  color: #cbd5e1;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .admin-flank {
    width: 200px;
  }

  .admin-flank-circle {
    width: 170px;
    height: 170px;
  }

  .admin-flank-card {
    width: 170px;
    height: 240px;
    border-radius: 20px;
  }

  .admin-portal-brands {
    gap: 60px;
  }
}

@media (max-width: 860px) {
  .admin-flank {
    display: none;
  }

  .admin-portal-main {
    max-width: 100%;
    padding: 60px 24px 30px 24px;
  }
}

@media (max-height: 750px) {
  .admin-portal-view {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
  }

  .admin-flank {
    height: 750px;
  }

  .admin-portal-main {
    height: auto;
    min-height: 750px;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   ADMIN INPUT DATA - SINGLE PAGE VIEW
   ════════════════════════════════════════════════════════════════════════════ */
.admin-input-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-input-hero-title {
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0;
}

.admin-input-hero-title span:first-child {
  color: #0f172a;
}

.admin-input-hero-title .highlight-blue {
  color: #2563eb;
}

.admin-input-hero-subtitle {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 6px 0 0 0;
}

.theme-click {
  color: #0f172a;
  font-weight: 900;
  cursor: pointer;
  text-decoration: underline;
}

.theme-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  margin-left: 6px;
  padding: 0;
}

.admin-refresh-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.admin-refresh-circle-btn:hover {
  color: #2563eb;
  border-color: #bfdbfe;
  transform: rotate(60deg);
}

.admin-sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-sec-title-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-sec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.admin-sec-h2 {
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
}

.admin-sec-sub {
  font-size: 10px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1.2px;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 2px 0 0 0;
}


.admin-btn-pill-blue {
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 9999px;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
}

.admin-btn-pill-blue:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.admin-btn-pill-purple {
  background: #9333ea;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 9999px;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
  transition: all 0.15s ease;
}

.admin-btn-pill-purple:hover {
  background: #7e22ce;
  transform: translateY(-1px);
}

.admin-btn-square-dark {
  background: #0f172a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.admin-btn-square-dark:hover {
  background: #1e293b;
}

.admin-badge-wbali {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-input-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.admin-input-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.admin-input-table th {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1px;
  color: #3b82f6;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-input-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  color: #1e293b;
  vertical-align: middle;
}

.admin-input-table tr:last-child td {
  border-bottom: none;
}

.admin-action-pencil {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #3b82f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-action-pencil:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: scale(1.05);
}

.admin-action-delete {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-action-delete:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.badge-inh {
  background: #dcfce7;
  color: #16a34a;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.badge-pln {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.badge-dep {
  background: #fee2e2;
  color: #dc2626;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.badge-cat-blue {
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.badge-var-pos {
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-var-neg {
  background: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-rank-dark {
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 9999px;
  display: inline-block;
  min-width: 24px;
  text-align: center;
}

.badge-rank-norank {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  font-style: italic;
  padding: 4px 14px;
  border-radius: 9999px;
  display: inline-block;
}

.badge-processed {
  background: #2563eb;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-block;
}

.admin-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ── Operational Reports & Direct Editing ── */
.admin-btn-outline-white {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  padding: 7px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
}

.admin-btn-outline-white:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #2563eb;
}

.admin-badge-calculated {
  background: #fef3c7;
  color: #d97706;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

.admin-rv-input {
  width: 100%;
  min-width: 65px;
  background: #ffffff;
  border: 1.5px solid #2563eb;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
  outline: none;
}

.admin-rv-th-active {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-top: 2px solid #2563eb !important;
  border-left: 2px solid #2563eb !important;
  border-right: 2px solid #2563eb !important;
}

.admin-rv-td-active {
  background: #f8faff !important;
  border-left: 2px solid #2563eb !important;
  border-right: 2px solid #2563eb !important;
}

.admin-rv-td-active-bottom {
  border-bottom: 2px solid #2563eb !important;
}

.admin-rv-dark-row {
  background: #0f172a !important;
}

.admin-rv-dark-row td {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  border-color: #1e293b !important;
}

.admin-rv-dark-row td.admin-rv-td-active {
  background: #1e1b4b !important;
  border-left: 2px solid #38bdf8 !important;
  border-right: 2px solid #38bdf8 !important;
}

.badge-pct-blue {
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
}

.badge-pct-green {
  background: #f0fdf4;
  color: #16a34a;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
}

.admin-btn-pill-green {
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 9999px;
  padding: 7px 16px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transition: all 0.15s ease;
}

.admin-btn-pill-green:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.admin-btn-pill-gray {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  border-radius: 9999px;
  padding: 7px 14px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.admin-btn-pill-gray:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.admin-input-table th[onclick]:not(.admin-rv-th-active):hover {
  background: #f1f5f9;
  color: #2563eb;
}

.admin-input-table td[onclick]:hover {
  background: #f8fafc;
}

.admin-rv-dark-row td[onclick]:hover {
  background: #1e293b !important;
}

/* New Admin Sections: Upsell Strategies, Showing Rooms, No Show Log */
.admin-inline-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.admin-inline-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.admin-inline-input::placeholder {
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}

.admin-badge-live-audit {
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  color: #ef4444;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.08);
}

.admin-badge-live-audit .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.badge-ready-showing {
  background: #f0fdf4;
  color: #16a34a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
  display: inline-block;
}

.admin-pill-tag {
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.admin-footer-logs-badge {
  background: #1e293b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 24px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.admin-table-input {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
}

.admin-table-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

.admin-table-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
  font-size: 11px;
}

.admin-action-pencil {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-action-pencil:hover {
  background: #2563eb;
  color: #ffffff;
}

.admin-action-delete {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #ef4444;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-action-delete:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ──────────────────────────────────────────────────────────
   Mobile Floating Hamburger Button (Matching Image 2)
   ────────────────────────────────────────────────────────── */
.mobile-floating-nav-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #232f6b;
  border: none;
  box-shadow: 0 8px 24px rgba(25, 35, 80, 0.45);
  cursor: pointer;
  z-index: 950;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

#btnFloatingAdminNav {
  z-index: 1050 !important;
}

.mobile-floating-nav-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(25, 35, 80, 0.6);
}

.mobile-floating-nav-btn:active {
  transform: scale(0.96);
}

.mobile-floating-nav-btn .hamburger-bar {
  display: block;
  width: 20px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  pointer-events: none;
}

.mobile-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 998;
}

#adminSidebarBackdrop {
  z-index: 1055 !important;
}

.mobile-sidebar-close {
  display: none;
}

/* ──────────────────────────────────────────────────────────
   Transmission Details & Digital Asset Preview (Matching Image 4)
   ────────────────────────────────────────────────────────── */
.transmission-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .transmission-layout {
    grid-template-columns: 1fr;
  }
}

.transmission-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}

.transmission-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #9333ea;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.transmission-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.transmission-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.transmission-select-wrap .select-leading-icon {
  position: absolute;
  left: 14px;
  pointer-events: none;
}

.transmission-select {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: all 0.15s ease;
}

.transmission-select:focus {
  border-color: #c084fc;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}

.transmission-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
}

.transmission-input:focus {
  border-color: #c084fc;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}

.transmission-dropzone {
  position: relative;
  border: 2px dashed #e2e8f0;
  border-radius: 24px;
  background: #fafbff;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 24px;
}

.transmission-dropzone:hover,
.transmission-dropzone.dragover {
  border-color: #9333ea;
  background: #faf5ff;
}

.transmission-file-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.dropzone-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.dropzone-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #475569;
  text-transform: uppercase;
}

.dropzone-sub {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 600;
}

.dropzone-file-info {
  margin-top: 12px;
  padding: 6px 14px;
  background: #f3e8ff;
  border-radius: 9999px;
  color: #7e22ce;
  font-size: 11px;
  font-weight: 800;
}

.transmission-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.transmission-submit-btn.ready {
  background: #9333ea;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.35);
}

.transmission-submit-btn.ready:hover {
  filter: brightness(1.08);
}

/* Digital Asset Preview Card */
.preview-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 560px;
}

.preview-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.preview-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #f87171;
}

.dot-yellow {
  background: #fbbf24;
}

.dot-green {
  background: #4ade80;
}

.preview-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #9333ea;
  text-transform: uppercase;
}

.preview-target-badge {
  border: 1px solid #e9d5ff;
  background: #faf5ff;
  color: #9333ea;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 9999px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.preview-body {
  flex: 1;
  background: #fbfcfe;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 480px;
}

.preview-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
}

.empty-doc-icon {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-doc-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #cbd5e1;
  text-transform: uppercase;
}

.preview-active-wrap {
  width: 100%;
  height: 100%;
  min-height: 520px;
  flex: 1;
  display: flex;
}

.preview-iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
  background: #ffffff;
}

/* ──────────────────────────────────────────────────────────
   Responsive Drawer Layout (Screens <= 1024px)
   ────────────────────────────────────────────────────────── */
/* Desktop Screens: Always hide mobile floating buttons */
@media (min-width: 1025px) {

  .mobile-floating-nav-btn,
  #btnFloatingDashNav,
  #btnFloatingAdminNav {
    display: none !important;
  }
}

@media (max-width: 1024px) {

  /* Show Floating Circular Hamburger Toggle on mobile and tablet */
  .mobile-floating-nav-btn {
    display: flex !important;
  }

  /* When Admin Workspace is open, hide dashboard floating button */
  body:has(#adminWorkspace.active) #btnFloatingDashNav,
  #adminWorkspace.active~#btnFloatingDashNav {
    display: none !important;
  }

  /* When Admin Workspace is NOT active, hide admin floating button */
  #adminWorkspace:not(.active) #btnFloatingAdminNav {
    display: none !important;
  }

  /* When Admin Login View is open, hide all mobile floating buttons */
  body:has(#adminPortalSingleView.active) .mobile-floating-nav-btn,
  #adminPortalSingleView.active~.mobile-floating-nav-btn {
    display: none !important;
  }

  /* Dashboard Sidebar Drawer - NO SHADOW WHEN HIDDEN! */
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 290px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 1000 !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none !important;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
    padding: 12px;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.25) !important;
    visibility: visible;
    pointer-events: auto;
  }

  .sidebar-card {
    position: relative;
    height: 100%;
  }

  .mobile-sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    z-index: 10;
    transition: all 0.15s ease;
  }

  .mobile-sidebar-close:hover {
    background: #e2e8f0;
    color: #0f172a;
  }

  .app-container {
    display: block;
    width: 100%;
  }

  .main-area {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  /* Admin Sidebar Drawer - NO SHADOW WHEN HIDDEN! */
  .admin-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    z-index: 1060 !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.6) !important;
    visibility: visible;
    pointer-events: auto;
  }

  .admin-content {
    width: 100% !important;
  }

  .admin-topbar {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .admin-body {
    padding: 20px 16px 88px;
  }

  .header {
    padding: 16px 20px;
  }

  .content-body {
    padding: 16px 20px 88px;
  }
}

/* ==========================================================================
   Owner Info & Celebration - Spotlight Modal & Animations
   ========================================================================== */
.celebration-spotlight-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #180926 0%, #0a0412 55%, #030106 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.celebration-spotlight-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Ambient backlight glow */
.celebration-spotlight-backdrop::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 70, 255, 0.18) 0%, rgba(255, 99, 126, 0.12) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
  animation: spotlightGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes spotlightGlowPulse {
  0% {
    transform: scale(0.9) translate(-10px, -10px);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.1) translate(10px, 10px);
    opacity: 1;
  }
}

/* Close Button */
.spotlight-close-btn {
  position: absolute;
  top: 32px;
  right: 36px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08) rotate(90deg);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Navigation Arrows */
.spotlight-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-arrow-prev {
  left: 36px;
}

.spotlight-arrow-next {
  right: 36px;
}

.spotlight-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Centered Spotlight Card Layout (150% Grand Scale) */
.spotlight-content-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 6vw, 92px);
  max-width: min(1440px, 94vw);
  max-height: 90vh;
  width: auto;
  position: relative;
  z-index: 5;
  transform: scale(0.85) translateY(24px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.celebration-spotlight-backdrop.active .spotlight-content-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Left Column: Photo & Squircles */
.spotlight-photo-col {
  position: relative;
  flex-shrink: 0;
}

.spotlight-photo-frame {
  width: clamp(340px, 34vw, 510px);
  height: clamp(340px, 34vw, 510px);
  border-radius: clamp(34px, 3.2vw, 48px);
  overflow: hidden;
  position: relative;
  border: 5px solid #334155;
  background: #181424;
  box-shadow: 0 32px 85px -10px rgba(0, 0, 0, 0.88), 0 0 65px rgba(173, 70, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatPhotoBox 5.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatPhotoBox {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-12px) rotate(2.5deg);
  }

  50% {
    transform: translateY(0px) rotate(0deg);
  }

  75% {
    transform: translateY(12px) rotate(-2.5deg);
  }
}

.spotlight-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2e0854 0%, #4a154b 50%, #1e1b4b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.spotlight-photo-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 2px #000;
  padding: 0 12px;
  pointer-events: none;
}

/* Floating Squircle Badges (150% Scale) */
.spotlight-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.2s ease;
}

.badge-yellow {
  top: -24px;
  right: -24px;
  width: 80px;
  height: 80px;
  border-radius: 26px;
  background: #ffc820;
  box-shadow: 0 14px 32px rgba(255, 200, 32, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: floatSlow1 3.2s ease-in-out infinite;
}

.badge-pink {
  bottom: -24px;
  left: -24px;
  width: 80px;
  height: 80px;
  border-radius: 26px;
  background: #ff2a85;
  box-shadow: 0 14px 32px rgba(255, 42, 133, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: floatSlow2 3.8s ease-in-out infinite 0.4s;
}

.badge-blue {
  bottom: 12px;
  right: -26px;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: #2563eb;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: floatSlow3 3.5s ease-in-out infinite 0.8s;
}

@keyframes floatSlow1 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-11px) rotate(5deg);
  }
}

@keyframes floatSlow2 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(11px) rotate(-5deg);
  }
}

@keyframes floatSlow3 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(-4deg);
  }
}

/* Right Column: Spotlight Info (150% Scale) */
.spotlight-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 620px;
}

.spotlight-top-pill {
  background: rgba(255, 99, 126, 0.12);
  border: 1px solid rgba(255, 99, 126, 0.35);
  color: #ff637e;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spotlight-name-heading {
  font-size: clamp(50px, 5.5vw, 86px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -1.5px;
  margin-top: 22px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
}

.spotlight-name-line1 {
  color: #ffffff;
}

.spotlight-name-line2 {
  background: linear-gradient(135deg, #ad46ff 0%, #ff637e 45%, #ff9f43 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spotlight-subtitle {
  font-size: clamp(17px, 1.9vw, 26px);
  font-style: italic;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 14px;
  margin-bottom: 28px;
}

.spotlight-action-pill {
  background: #ffffff;
  color: #000000;
  padding: 16px 42px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.spotlight-action-pill:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 35px rgba(255, 255, 255, 0.6);
}

.spotlight-action-pill:active {
  transform: scale(0.96);
}

/* Carousel Indicators at Bottom */
.spotlight-carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.spotlight-dot {
  width: 8px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-dot.active {
  width: 32px;
  background: #ffffff;
}

/* Tablet & Smaller Screens Responsive */
@media (max-width: 1024px) {
  .spotlight-content-card {
    gap: 40px;
  }

  .spotlight-photo-frame {
    width: clamp(300px, 32vw, 400px);
    height: clamp(300px, 32vw, 400px);
  }

  .badge-yellow,
  .badge-pink {
    width: 66px;
    height: 66px;
    border-radius: 22px;
  }

  .badge-blue {
    width: 62px;
    height: 62px;
    border-radius: 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 860px) {
  .spotlight-content-card {
    flex-direction: column;
    gap: 28px;
    text-align: center;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px 0;
  }

  .spotlight-info-col {
    align-items: center;
  }

  .spotlight-name-heading {
    font-size: 42px;
  }

  .spotlight-photo-frame {
    width: min(300px, 72vw);
    height: min(300px, 72vw);
    border-radius: 28px;
  }

  .badge-yellow,
  .badge-pink {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    top: -16px;
    right: -16px;
  }

  .badge-pink {
    bottom: -16px;
    left: -16px;
  }

  .badge-blue {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    bottom: 6px;
    right: -16px;
  }

  .spotlight-nav-arrow {
    width: 44px;
    height: 44px;
  }

  .spotlight-arrow-prev {
    left: 14px;
  }

  .spotlight-arrow-next {
    right: 14px;
  }
}

/* --- Floating Replay Magic Button --- */
.floating-replay-magic-wrap {
  position: fixed;
  bottom: 30px;
  right: 36px;
  z-index: 999;
  pointer-events: auto;
}

.floating-replay-magic-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #9810fa 0%, #ff2a85 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(152, 16, 250, 0.45), 0 0 20px rgba(255, 42, 133, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: magicButtonFloat 3.2s ease-in-out infinite;
  user-select: none;
}

.floating-replay-magic-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 35px rgba(152, 16, 250, 0.6), 0 0 28px rgba(255, 42, 133, 0.55);
  border-color: rgba(255, 255, 255, 0.6);
}

.floating-replay-magic-btn:active {
  transform: translateY(0px) scale(0.97);
}

.magic-sparkle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: magicSparkleTwinkle 2.4s ease-in-out infinite;
}

@keyframes magicButtonFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes magicSparkleTwinkle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.85;
  }
}

/* ══════════════════════════════════════════════════════════════
   WHAT'S UP EXPORT FORMAT SELECTOR MODAL (FIGMA REDESIGN)
   ══════════════════════════════════════════════════════════════ */
.export-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: exportFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes exportFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.export-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 22px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: exportSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes exportSlideUp {
  from {
    transform: translateY(18px) scale(0.97);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.export-modal-header {
  padding: 24px 28px 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.export-modal-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.export-modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.export-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.2px;
}

.export-modal-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin: 3px 0 0 0;
}

.export-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.export-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.export-modal-body {
  padding: 24px 28px 28px 28px;
}

.export-modal-prompt {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.export-options-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.export-option-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.export-option-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.export-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.export-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.export-card-icon.excel-icon {
  background: #e8fdf0;
  border: 1.5px solid #bbf7d0;
}

.export-card-icon.pdf-icon {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
}

.export-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.export-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.export-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
}

.export-badge.badge-xlsx {
  background: #dcfce7;
  color: #15803d;
}

.export-badge.badge-pdf {
  background: #fee2e2;
  color: #b91c1c;
}

.export-card-btn {
  padding: 11px 22px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  color: #ffffff;
}

.btn-action-xlsx {
  background: #00875a;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.25);
}

.btn-action-xlsx:hover {
  background: #00734c;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-action-pdf {
  background: #e11d48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.btn-action-pdf:hover {
  background: #be123c;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-excel-preview {
  flex: 1;
  height: 48px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-excel-preview:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-excel-upload {
  flex: 1.2;
  height: 48px;
  border: none;
  background: #059669;
  color: #ffffff;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-excel-upload:hover {
  background: #047857;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

/* ==============================================================================
   LEARNING & PERFORMANCE (L&P / HRD) STYLES
   ============================================================================== */

.lp-subnav-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
  overflow-x: auto;
}

.lp-subnav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lp-subnav-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #e2e8f0;
}

.lp-subnav-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.lp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 28px;
}

.lp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.lp-card-title-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lp-icon-purple {
  background: #9333ea;
  color: #ffffff;
}

.lp-icon-red {
  background: #e11d48;
  color: #ffffff;
}

.lp-icon-blue {
  background: #2563eb;
  color: #ffffff;
}

.lp-icon-teal {
  background: #0d9488;
  color: #ffffff;
}

.lp-icon-green {
  background: #16a34a;
  color: #ffffff;
}

.lp-header-title {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.lp-filter-clusters {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lp-pill-group {
  display: inline-flex;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.lp-pill-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-pill-btn:hover {
  color: #0f172a;
}

.lp-pill-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.lp-filter-divider {
  width: 1px;
  height: 24px;
  background: #cbd5e1;
}

.lp-select-month {
  padding: 7px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.lp-select-month:focus {
  border-color: #9333ea;
}

/* L&P Form Inputs Row */
.lp-form-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  flex-wrap: wrap;
}

.lp-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 130px;
}

.lp-input-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.lp-input-field {
  height: 40px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: all 0.15s ease;
  width: 100%;
}

.lp-input-field:focus {
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.lp-btn-add {
  height: 40px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 900;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.lp-btn-add:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.lp-btn-cancel-edit {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  font-size: 11px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
}

/* L&P Table */
.lp-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12.5px;
}

.lp-table thead tr {
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.lp-table th {
  padding: 14px 16px;
  white-space: nowrap;
}

.lp-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.lp-table tbody tr:hover {
  background: #f8fafc;
}

.lp-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

.lp-badge-winner {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.lp-badge-nominee {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.lp-action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.lp-action-btn:hover {
  background: #f1f5f9;
}

.lp-action-btn.btn-delete:hover {
  background: #fee2e2;
}

.lp-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  display: inline-block;
  vertical-align: middle;
}

.lp-avatar-initials {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ad46ff, #ff637e);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(173, 70, 255, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  user-select: none;
  flex-shrink: 0;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Edit All Controls in Training Hours & Leadership Training */
.lp-edit-all-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-btn-edit-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-btn-edit-all:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.lp-btn-save-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 10px;
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
  transition: all 0.15s ease;
}

.lp-btn-save-all:hover {
  background: #047857;
}

.lp-edit-input {
  width: 100%;
  max-width: 120px;
  height: 34px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1.5px solid #9333ea;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  outline: none;
}

/* ==============================================================================
   L&D UPDATE - SIDEBAR DROPDOWN (NORMALIZED TO MATCH OTHER MENUS)
   ============================================================================== */

.nav-group-ld {
  background: transparent;
  border-radius: 16px;
  padding: 0;
  margin: 2px 0;
  transition: all 0.2s ease;
  border: none;
}

.nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  color: var(--text-muted);
}

.nav-group-header:hover {
  background: rgba(172, 84, 219, 0.06);
}

.nav-group-header:hover .nav-group-title,
.nav-group-header:hover .nav-group-icon,
.nav-group-header:hover .nav-group-chevron {
  color: var(--purple-main);
}

.nav-group-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-group-icon {
  width: 18px;
  height: 18px;
  color: #494b4e;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.nav-group-title {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.275px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-group-chevron {
  color: #9810fa;
  transition: transform 0.25s ease, color 0.15s ease;
  flex-shrink: 0;
}

.nav-group-ld.open .nav-group-chevron {
  transform: rotate(180deg);
}

.nav-group-ld:not(.open) .nav-group-chevron {
  transform: rotate(0deg);
}

.nav-group-subitems {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 10px;
  margin: 3px 0 6px 18px;
  border-left: 2px solid rgba(144, 161, 185, 0.35);
  overflow: hidden;
  transition: all 0.25s ease;
}

.nav-group-ld:not(.open) .nav-group-subitems {
  display: none;
}

.nav-subitem {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.nav-subitem .nav-sub-icon {
  width: 16px;
  height: 16px;
  color: #494b4e;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.nav-subitem .nav-sub-label {
  font-family: var(--font-arial);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.275px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-subitem:hover {
  background: rgba(172, 84, 219, 0.06);
  color: var(--purple-main);
}

.nav-subitem:hover .nav-sub-icon,
.nav-subitem:hover .nav-sub-label {
  color: var(--purple-main);
}

.nav-subitem.active {
  background: var(--purple-light);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-subitem.active .nav-sub-icon {
  color: var(--purple-main);
}

.nav-subitem.active .nav-sub-label {
  color: var(--purple-main);
  font-weight: 700;
  font-size: 11px;
}

/* ==============================================================================
   L&D TALENT & TRAINEE OF THE MONTH DASHBOARD (SCREENSHOTS 2 & 3)
   ============================================================================== */

.ld-talent-container {
  animation: fadeIn 0.35s ease-out;
  padding-bottom: 48px;
}

.ld-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.ld-main-title {
  font-size: 34px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.6px;
  margin: 0;
  line-height: 1.1;
}

.ld-main-title .gradient-text {
  color: #9333ea;
}

.ld-controls-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ld-toggle-group {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.ld-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ld-toggle-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.ld-quartal-group {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ld-quartal-btn {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ld-quartal-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.ld-month-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ld-month-arrow-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: background 0.15s ease;
}

.ld-month-arrow-btn:hover {
  background: #e2e8f0;
}

.ld-month-label {
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  min-width: 80px;
  text-align: center;
  letter-spacing: 0.2px;
}

.ld-month-dropdown {
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Winner Banner Cards */
.ld-winner-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.25);
  background: #0f172a;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ld-winner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px -8px rgba(15, 23, 42, 0.35);
}

.ld-winner-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(1.15);
  transition: transform 0.4s ease;
}

.ld-winner-card:hover .ld-winner-backdrop {
  transform: scale(1.02);
}

.ld-winner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(15, 23, 42, 0.92) 100%);
}

.ld-winner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 44px;
  min-height: 330px;
  gap: 40px;
}

.ld-winner-content {
  flex: 1;
}

.ld-winner-badge {
  display: inline-block;
  font-size: 32px;
  font-weight: 900;
  color: #facc15;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ld-winner-name {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ld-winner-dept {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.ld-winner-dept span {
  color: #facc15;
  font-style: italic;
  font-weight: 900;
}

.ld-winner-story {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ld-winner-more-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #facc15;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.ld-winner-more-hint:hover {
  transform: translateX(3px);
  color: #fef08a;
}

.ld-winner-photo-frame {
  width: 285px;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  background: #fde4ce;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.ld-winner-card:hover .ld-winner-photo-frame {
  transform: scale(1.03);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.55);
}

.ld-winner-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mysterious Winner Placeholder (When No Winner Chosen) */
.ld-mystery-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2e1065, #4c1d95, #6b21a8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ld-mystery-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  animation: pulse 2s infinite ease-in-out;
}

.ld-mystery-label {
  font-size: 10px;
  font-weight: 900;
  color: #e9d5ff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
}

/* Nominees Grid */
.ld-nominees-section {
  margin-top: 36px;
}

.ld-nominees-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ld-nominees-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0;
}

.ld-nominees-title span {
  color: #9333ea;
}

.ld-nominees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.ld-nominee-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.22s ease;
}

.ld-nominee-card:hover {
  transform: translateY(-6px);
  border-color: rgba(147, 51, 234, 0.35);
  box-shadow: 0 16px 32px -10px rgba(147, 51, 234, 0.18);
}

.ld-nominee-photo-wrap {
  width: 100%;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ld-nominee-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-nominee-name {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 3px;
  line-height: 1.25;
}

.ld-nominee-dept {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.ld-nominee-dept span.ld-dept-name,
.ld-nominee-dept span:not(.ld-nominee-cat-tag) {
  color: #9333ea;
  font-weight: 900;
  font-style: italic;
}

.ld-nominee-dept .ld-nominee-cat-tag {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ld-nominee-dept .ld-nominee-cat-tag.foh {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.ld-nominee-dept .ld-nominee-cat-tag.boh {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.ld-nominee-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.ld-nominee-badge.foh {
  background: rgba(14, 165, 233, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.ld-nominee-badge.boh {
  background: rgba(147, 51, 234, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.ld-nominee-story {
  font-size: 16px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ld-nominee-btn-more {
  align-self: center;
  padding: 6px 22px;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ld-nominee-card:hover .ld-nominee-btn-more {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* ==============================================================================
   L&D TRAINING HOURS (SCREENSHOT 4) & LEADERSHIP TRAINING (SCREENSHOT 5)
   ============================================================================== */

.ld-hours-grid,
.ld-leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  animation: fadeIn 0.35s ease-out;
}

@media (max-width: 1400px) {

  .ld-hours-grid,
  .ld-leadership-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {

  .ld-hours-grid,
  .ld-leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .ld-hours-grid,
  .ld-leadership-grid {
    grid-template-columns: 1fr;
  }
}

.ld-metric-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 24px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ld-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.06);
}

.ld-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ld-dark-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.ld-orange-pct {
  font-size: 24px;
  font-weight: 900;
  color: #ea580c;
  line-height: 1;
  text-align: right;
  transition: color 0.3s ease;
}

.ld-orange-pct.pct-red {
  color: #ef4444;
}

.ld-orange-pct.pct-orange {
  color: #ea580c;
}

.ld-orange-pct.pct-green {
  color: #10b981;
}

.ld-pct-sub {
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 4px;
  text-align: right;
}

.ld-metric-title {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  min-height: 22px;
}

.ld-progress-bar {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.ld-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ea580c, #f97316);
  border-radius: 9999px;
  transition: width 0.6s ease, background 0.3s ease;
}

.ld-progress-fill.fill-red {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

.ld-progress-fill.fill-orange {
  background: linear-gradient(90deg, #ea580c, #f97316);
}

.ld-progress-fill.fill-green {
  background: linear-gradient(90deg, #059669, #10b981);
}

.ld-metric-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.ld-bottom-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ld-bottom-col.right {
  text-align: right;
}

.ld-bottom-lbl {
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ld-bottom-val {
  font-size: 13.5px;
  font-weight: 900;
  color: #0f172a;
}

/* ==============================================================================
   L&D STORY MODAL (FULL STORY DETAIL POPUP)
   ============================================================================== */

.ld-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ld-modal-overlay.active {
  display: flex !important;
  animation: fadeIn 0.2s ease-out;
}

.ld-modal-card {
  background: #ffffff;
  border-radius: 32px;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0 36px 32px;
  position: relative;
  z-index: 1000000 !important;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.45);
  animation: popInBounce 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popInBounce {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(24px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ld-modal-accent-bar {
  width: calc(100% + 72px);
  margin-left: -36px;
  height: 6px;
  background: linear-gradient(90deg, #9333ea, #ec4899, #facc15);
  border-radius: 32px 32px 0 0;
  margin-bottom: 28px;
}

.ld-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
  z-index: 10;
}

.ld-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.ld-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #f1f5f9;
}

.ld-modal-avatar-frame {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  border: 3.5px solid #ffffff;
  flex-shrink: 0;
  background: #f8fafc;
}

.ld-modal-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-modal-header-text {
  flex: 1;
  min-width: 0;
}

.ld-modal-title {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.ld-modal-dept {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin: 0;
  letter-spacing: 0.2px;
}

.ld-story-card-box {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}

.ld-story-quote-icon {
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(147, 51, 234, 0.12);
  pointer-events: none;
}

.ld-story-section-title {
  font-size: 11px;
  font-weight: 900;
  color: #9333ea;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.ld-modal-story-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: #1e293b;
  white-space: pre-line;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.ld-modal-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.ld-modal-btn-close {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 10px 26px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.ld-modal-btn-close:hover {
  background: #9333ea;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(147, 51, 234, 0.35);
}

/* ==============================================================================
   L&D TOP 10 PODIUM & LEADERBOARD (W QUIZZICLE & DLZ TOP 10)
   ============================================================================== */

.ld-leaderboard-container {
  animation: fadeIn 0.35s ease-out;
  padding-bottom: 40px;
}

.ld-board-card {
  background: #ffffff;
  border-radius: 40px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.04);
  padding: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 48px);
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}

@media (max-width: 1366px) {
  .ld-board-card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 36px;
  }
}

/* LEFT SIDE: TOP 3 PODIUM */
.ld-podium-section {
  flex: 0 0 38%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  padding-top: 50px;
  padding-bottom: 8px;
  position: relative;
}

@media (max-width: 1366px) {
  .ld-podium-section {
    flex: none;
    width: 100%;
    padding-top: 30px;
  }
}

@media (max-width: 640px) {
  .ld-podium-section {
    gap: 8px;
  }
}

.ld-podium-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.ld-podium-col:hover {
  transform: translateY(-8px);
}

.ld-podium-talent {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
  text-align: center;
  width: 100%;
}

.ld-podium-avatar-wrap {
  position: relative;
  border-radius: 50%;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.ld-podium-col:hover .ld-podium-avatar-wrap {
  transform: scale(1.06);
}

.ld-podium-avatar-wrap.rank-1 {
  width: 104px;
  height: 104px;
  border: 3.5px solid #facc15;
  box-shadow: 0 14px 30px rgba(250, 204, 21, 0.35);
}

.ld-podium-avatar-wrap.rank-2 {
  width: 88px;
  height: 88px;
  border: 3px solid #3b82f6;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.25);
}

.ld-podium-avatar-wrap.rank-3 {
  width: 88px;
  height: 88px;
  border: 3px solid #f43f5e;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.25);
}

.ld-podium-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Floating Crown on 1st Place */
.ld-crown-badge {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(234, 179, 8, 0.5));
  animation: crownFloat 2.4s ease-in-out infinite;
  z-index: 5;
}

@keyframes crownFloat {

  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateX(-50%) translateY(-6px) rotate(4deg);
  }
}

.ld-podium-name {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  margin: 10px 0 2px;
  line-height: 1.2;
  max-width: 140px;
  word-break: break-word;
}

.rank-1 .ld-podium-name {
  font-size: 15px;
}

.ld-podium-dept {
  font-size: 10.5px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ld-podium-dept.dept-1 {
  color: #eab308;
}

.ld-podium-dept.dept-2 {
  color: #2563eb;
}

.ld-podium-dept.dept-3 {
  color: #e11d48;
}

/* Pillar Blocks */
.ld-podium-pillar {
  width: 100%;
  max-width: 140px;
  border-radius: 28px 28px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.2);
}

.ld-pillar-1 {
  height: 250px;
  background: linear-gradient(180deg, #fde047 0%, #facc15 30%, #eab308 100%);
  box-shadow: 0 20px 40px -10px rgba(234, 179, 8, 0.45);
  animation: podiumRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

.ld-pillar-2 {
  height: 185px;
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 35%, #2563eb 100%);
  box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.38);
  animation: podiumRise 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.ld-pillar-3 {
  height: 145px;
  background: linear-gradient(180deg, #fb7185 0%, #f43f5e 35%, #e11d48 100%);
  box-shadow: 0 16px 32px -10px rgba(225, 29, 72, 0.38);
  animation: podiumRise 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

@keyframes podiumRise {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ld-pillar-rank {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.ld-pillar-1 .ld-pillar-rank {
  font-size: 46px;
}

.ld-pillar-pts {
  font-size: 13px;
  font-weight: 800;
  opacity: 0.95;
  margin-top: 6px;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Subtle Shimmer Overlay on Pillars */
.ld-podium-pillar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.ld-podium-col:hover .ld-podium-pillar::after {
  animation: shimmerPass 0.8s ease-out;
}

@keyframes shimmerPass {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* RIGHT SIDE: LEADERBOARD 4TH TO 10TH */
.ld-leaderboard-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ld-board-th-row {
  display: flex;
  align-items: center;
  padding: 0 14px 12px;
  font-size: 11px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 12px;
}

.ld-th-rank {
  width: 44px;
  flex-shrink: 0;
}

.ld-th-name {
  flex: 1;
  min-width: 0;
}

.ld-th-acc {
  width: 88px;
  text-align: center;
  flex-shrink: 0;
}

.ld-th-pts {
  width: 100px;
  text-align: right;
  flex-shrink: 0;
}

.ld-board-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Cool Floating Leaderboard Rows */
.ld-board-row {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.ld-board-row:hover {
  background: #faf5ff;
  border-color: rgba(147, 51, 234, 0.3);
  transform: translateX(6px);
  box-shadow: 0 8px 24px -6px rgba(147, 51, 234, 0.14);
}

.ld-board-row.anim-row {
  animation: slideInRow 0.38s ease-out both;
}

@keyframes slideInRow {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.ld-row-rank {
  width: 44px;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}

.ld-row-rank sup {
  font-size: 9.5px;
  font-weight: 800;
  color: #64748b;
  margin-left: 1px;
}

.ld-row-talent {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.ld-row-avatar-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.ld-board-row:hover .ld-row-avatar-wrap {
  transform: scale(1.08);
}

.ld-row-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-row-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.ld-row-name {
  font-size: 13.5px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ld-row-dept {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ultra-Cool Accuracy Meter */
.ld-row-acc {
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.ld-acc-value {
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.ld-acc-meter {
  width: 48px;
  height: 4px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.ld-acc-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Points Column */
.ld-row-pts {
  width: 100px;
  text-align: right;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.ld-pts-val {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.ld-pts-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ld-board-row:hover .ld-pts-val {
  color: #9333ea;
}

/* ==============================================================================
   HEADER NOTIFICATION WIDGET (BELL & RED BADGE DOT)
   ============================================================================== */
.clock-widget-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
  border-right: 1px solid #f1f5f9;
  position: relative;
}

.header-notification-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
  flex-shrink: 0;
}

.header-notification-btn:hover {
  background: #f3e8ff;
  border-color: rgba(152, 16, 250, 0.35);
  color: #9810fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(152, 16, 250, 0.15);
}

.header-notification-btn:active {
  transform: translateY(0);
}

.notification-red-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 9px;
  height: 9px;
  background-color: #ef4444;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.8;
  }
}

/* Floating Notification Dropdown Popover */
.notification-popover {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18), 0 4px 14px rgba(0, 0, 0, 0.06);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notif-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafc;
}

.notif-popover-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-popover-count {
  font-size: 11px;
  font-weight: 800;
  background: #9810fa;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 12px;
}

.notif-popover-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.notif-popover-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.notif-popover-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  transition: all 0.15s ease;
}

.notif-card-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.notif-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.notif-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.notif-card-time {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.notif-card-body {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

.notif-card-body::-webkit-scrollbar {
  width: 4px;
}

.notif-card-body::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

#adminNotifList {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

#adminNotifList::-webkit-scrollbar {
  width: 6px;
}

#adminNotifList::-webkit-scrollbar-track {
  background: transparent;
}

#adminNotifList::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 9999px;
}

.notif-card-file {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #9810fa;
  background: #f3e8ff;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.notif-card-file:hover {
  background: #e9d5ff;
  color: #7e22ce;
}

/* ==============================================================================
   ADMIN SIDEBAR DROPDOWNS (WRM, HRD, SUPERADMIN)
   ============================================================================== */

.admin-nav-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2px;
}

.admin-nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  user-select: none;
}

.admin-nav-group-header:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.admin-nav-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-nav-group-header .admin-nav-chevron {
  transition: transform 0.25s ease;
  color: #64748b;
  display: block !important;
}

.admin-nav-group.open .admin-nav-group-header .admin-nav-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.admin-nav-group.open .admin-nav-group-header {
  color: #ffffff;
}

.admin-nav-subitems {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  margin: 3px 0 6px 16px;
  border-left: 2px solid rgba(147, 51, 234, 0.35);
  transition: max-height 0.25s ease;
}

.admin-nav-group:not(.open) .admin-nav-subitems {
  display: none;
}

.admin-nav-subitems .admin-nav-item {
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
}

/* ==============================================================================
   NOTIFICATION INPUT ADMIN VIEW
   ============================================================================== */
.notif-admin-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
}

@media (max-width: 1024px) {
  .notif-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   CATEGORIZED EXPORT MODAL (CLASSIC VS MODERN)
   ============================================================================== */
.export-categories-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.export-category-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
}

.export-category-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.export-category-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
  width: fit-content;
  letter-spacing: 0.6px;
}

.export-category-tag.tag-modern {
  background: #dbeafe;
  color: #1e40af;
}

.modern-highlight-pill {
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  letter-spacing: 0.5px;
}

.export-category-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.export-category-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.export-category-block.modern-category-block {
  background: linear-gradient(145deg, #eff6ff, #f5f3ff);
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.06);
}

.export-option-card.modern-card {
  border: 1.5px solid #93c5fd;
  background: #ffffff;
}

.export-option-card.modern-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.modern-pdf-icon {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
}

.export-badge.badge-modern {
  background: #dbeafe;
  color: #1d4ed8;
}

.btn-action-modern {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  color: #ffffff;
}

.btn-action-modern:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* ==============================================================================
   SUPERADMIN OTHER VIEW & FILE MANAGEMENT
   ============================================================================== */
.admin-other-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.admin-other-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-other-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pre-export-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 24px;
}

@media (max-width: 1024px) {
  .pre-export-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pre-export-grid {
    grid-template-columns: 1fr;
  }
}

.pre-export-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pre-export-metric-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pre-export-timer-val {
  font-size: 32px;
  font-weight: 900;
  color: #2563eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1;
}

.pre-export-metric-main {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.pre-export-metric-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.pre-export-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  width: fit-content;
  text-transform: uppercase;
}

.badge-idle {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.badge-counting {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  animation: badgePulse 1.2s ease-in-out infinite alternate;
}

@keyframes badgePulse {
  from {
    opacity: 0.8;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

.badge-exporting {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-ready {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.admin-files-category-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid #f1f5f9;
  overflow-x: auto;
  scrollbar-width: thin;
}

.admin-category-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.admin-category-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.admin-category-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.admin-category-pill .pill-count {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.admin-category-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.2);
}

.admin-files-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-files-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-files-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.admin-files-table tr:hover td {
  background: #f8fafc;
}

.admin-file-link {
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-file-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.admin-file-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.admin-file-icon-placeholder {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

/* ==============================================================================
   TRAINING HOURS NEW DESIGN (Image 1)
   ============================================================================== */
.ld-training-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px 28px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ld-training-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.07);
}

.ld-training-card-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ld-training-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.ld-training-dept-title {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.ld-training-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.ld-training-hours-number {
  font-size: 34px;
  font-weight: 900;
  color: #16a34a;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.ld-training-hours-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ==============================================================================
   HEADER NOTIFICATION MARQUEE TICKER (Images 2 & 3)
   ============================================================================== */
.header-notif-ticker-container {
  margin-top: 14px;
  width: 100%;
  background: #182234;
  border-radius: 14px;
  height: 58px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.header-notif-marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.header-notif-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: notifMarquee 35s linear infinite;
}

.header-notif-ticker-container:hover .header-notif-marquee-track {
  animation-play-state: paused;
}

@keyframes notifMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.notif-ticker-item {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0 24px;
  user-select: none;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  width: max-content;
}

.notif-ticker-item:hover {
  opacity: 0.85;
}

.notif-ticker-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  width: max-content;
  max-width: none;
}

.notif-ticker-title-box {
  width: 100%;
  position: relative;
  overflow: visible;
  height: 18px;
  display: flex;
  align-items: center;
}

.notif-ticker-title {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
  will-change: transform;
}

.notif-ticker-desc {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
  width: max-content;
  line-height: 1.25;
  margin-top: 2px;
}

.notif-ticker-file-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: #0f172a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  margin-left: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  flex-shrink: 0;
  cursor: pointer;
}

.notif-ticker-file-badge:hover {
  background: #f1f5f9;
}

.notif-ticker-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
  margin-left: 24px;
  flex-shrink: 0;
}

.header-notif-more-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  background: linear-gradient(135deg, #9333ea, #a855f7);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 10;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.header-notif-ticker-container:hover .header-notif-more-btn {
  opacity: 1;
  pointer-events: auto;
}

.header-notif-more-btn:hover {
  background: linear-gradient(135deg, #7e22ce, #9333ea);
}
