@charset "UTF-8";
/* ================= Font Family =========== */
:root {
  --font-muli: Muli, sans-serif;
}

/* ================= Colors =========== */
/* ============== Define Color ============== */
/* ================= Font Size =========== */
/* ================= Padding =========== */
/* ==================== CSS VARIABLES ==================== */
.overview-new {
  /* Colors - Primary */
  --color-primary: #7c3aed;
  --color-primary-hover: #6d28d9;
  --color-primary-light: #EDE9FE;
  --color-primary-gradient: linear-gradient(135deg, #a25cf6, #7c3aed, #4c1d95);
  /* Colors - Backgrounds */
  --bg-primary: #FAFAFA;
  --bg-secondary: #F3F0F7;
  --bg-tertiary: #f1f5f9;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1625;
  /* Sidebar - Light Theme */
  --bg-sidebar: #FFFFFF;
  --bg-sidebar-hover: #F3F0F7;
  --bg-sidebar-active: #EDE9FE;
  --text-sidebar: #5B5670;
  --border-sidebar: #E5E1EB;
  /* Colors - Text */
  --text-primary: #1A1625;
  --text-secondary: #5B5670;
  --text-muted: #8E89A0;
  --text-light: #FFFFFF;
  /* Colors - Status */
  --color-success: #10B981;
  --color-success-light: #D1FAE5;
  --color-warning: #F59E0B;
  --color-warning-light: #FEF3C7;
  --color-error: #EF4444;
  --color-error-light: #FEE2E2;
  --color-info: #3B82F6;
  --color-info-light: #DBEAFE;
  /* Colors - Borders */
  --border-color: #E5E1EB;
  --border-focus: #7c3aed;
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-sidebar: 2px 0 8px rgba(0, 0, 0, 0.06);
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  /* Layout */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 70px;
  --header-height: 69px;
  --footer-height: 52px;
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  /* Z-Index */
  --z-sticky: 200;
  --z-sidebar: 300;
  --z-overlay: 350;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: #EDE9FE;
  --accent-gradient: linear-gradient(135deg, #a25cf6, #7c3aed, #4c1d95);
  --border: #E5E1EB;
  --border-focus: #7c3aed;
  --success: #10B981;
  --error: #EF4444;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== TYPOGRAPHY ==================== */
.overview-new .text-xs {
  font-size: var(--font-size-xs);
}

.overview-new .text-sm {
  font-size: var(--font-size-sm);
}

.overview-new .text-base {
  font-size: var(--font-size-base);
}

.overview-new .text-lg {
  font-size: var(--font-size-lg);
}

.overview-new .text-xl {
  font-size: var(--font-size-xl);
}

.overview-new .font-medium {
  font-weight: var(--font-weight-medium);
}

.overview-new .font-semibold {
  font-weight: var(--font-weight-semibold);
}

.overview-new .font-bold {
  font-weight: var(--font-weight-bold);
}

.overview-new .text-primary {
  color: var(--text-primary);
}

.overview-new .text-secondary {
  color: var(--text-secondary);
}

.overview-new .text-muted {
  color: var(--text-muted);
}

.overview-new .text-accent {
  color: var(--color-primary);
}

.overview-new .text-success {
  color: var(--color-success);
}

.overview-new .text-warning {
  color: var(--color-warning);
}

.overview-new .text-error {
  color: var(--color-error);
}

.overview-new .text-center {
  text-align: center;
}

.overview-new .text-right {
  text-align: right;
}

/* ==================== LAYOUT ==================== */
.overview-new .app-layout {
  display: flex;
  min-height: 100vh;
}

.overview-new .app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--transition-base);
  width: calc(100% - var(--sidebar-width));
}

.overview-new .app-layout.sidebar-collapsed .app-main {
  margin-left: var(--sidebar-collapsed-width);
  width: calc(100% - var(--sidebar-collapsed-width));
}

.overview-new .app-content {
  flex: 1;
  padding: var(--space-lg);
  overflow-x: hidden;
}

/* ==================== SIDEBAR - LIGHT THEME ==================== */
.overview-new .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-sidebar);
  z-index: var(--z-sidebar);
  display: flex;
  flex-direction: column;
  transition: width var(--transition-base);
  overflow: hidden;
}

.overview-new .app-layout.sidebar-collapsed .sidebar {
  width: var(--sidebar-collapsed-width);
}

.overview-new .sidebar-header {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-sidebar);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: var(--header-height);
}

.overview-new .sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  overflow: hidden;
}

.overview-new .sidebar-logo-icon {
  width: auto;
  height: 36px;
  min-width: 36px;
  /*background: var(--color-primary-gradient);*/
  /*border-radius: var(--radius-md);*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-new .sidebar-logo-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.overview-new .sidebar-logo-text {
  overflow: hidden;
}

.overview-new .sidebar-logo-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  white-space: nowrap;
}

.overview-new .sidebar-logo-subtitle {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.overview-new .app-layout.sidebar-collapsed .sidebar-logo-text {
  display: none;
}

/* Sidebar Toggle as Nav Item */
.overview-new .sidebar-toggle-item {
  /*width: 100%;*/
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
}

.overview-new .sidebar-toggle-item .toggle-expand {
  display: none;
}

.overview-new .sidebar-toggle-item .toggle-collapse {
  display: block;
}

.overview-new .app-layout.sidebar-collapsed .sidebar-toggle-item .toggle-expand {
  display: block;
}

.overview-new .app-layout.sidebar-collapsed .sidebar-toggle-item .toggle-collapse {
  display: none;
}

/* Hide old toggle button */
.overview-new .sidebar-toggle:not(.sidebar-toggle-item) {
  display: none;
}

/* Hide toggle item on mobile */
@media (max-width: 1024px) {
  .overview-new .sidebar-toggle-item {
    display: none !important;
  }
}
/* Hide collapsed logo by default, show expanded */
.overview-new .sidebar-logo-collapsed {
  display: none;
}

.overview-new .sidebar-logo-expanded {
  display: flex;
}

/* When collapsed, swap visibility */
.overview-new .app-layout.sidebar-collapsed .sidebar-logo-expanded {
  display: none;
}

.overview-new .app-layout.sidebar-collapsed .sidebar-logo-collapsed {
  display: flex;
}

.overview-new .sidebar-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.overview-new .sidebar-toggle:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.overview-new .sidebar-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.overview-new .app-layout.sidebar-collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}

/* Close button for mobile */
.overview-new .sidebar-close {
  display: none;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.overview-new .sidebar-close:hover {
  background: var(--color-error-light);
  color: var(--color-error);
}

.overview-new .sidebar-close svg {
  width: 16px;
  height: 16px;
}

/* Project Info */
.overview-new .project-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-sm);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.overview-new .project-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-new .project-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
}

.overview-new .project-details {
  overflow: hidden;
}

.overview-new .project-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-new .project-role {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-new .app-layout.sidebar-collapsed .project-info {
  padding: var(--space-sm);
  justify-content: center;
}

.overview-new .app-layout.sidebar-collapsed .project-details {
  display: none;
}

/* Sidebar Navigation */
.overview-new .sidebar-nav {
  display: block;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--space-sm) 0;
}

.overview-new .nav-section {
  margin-bottom: var(--space-md);
}

.overview-new .nav-section-title {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
}

.overview-new .app-layout.sidebar-collapsed .nav-section-title {
  opacity: 0;
  height: 0;
  padding: 0;
}

.overview-new .nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  margin: 2px var(--space-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.overview-new .nav-item:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-primary);
}

.overview-new .nav-item.active {
  background: var(--color-primary-gradient);
  color: var(--text-light);
}

.overview-new .nav-item-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-new .nav-item-icon svg {
  width: 18px;
  height: 18px;
}

.overview-new .nav-item-text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-new .app-layout.sidebar-collapsed .nav-item-text {
  display: none;
}

/* Tooltip */
.overview-new .app-layout.sidebar-collapsed .nav-item[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

/* ==================== LOCKED MENU ITEM ==================== */
.overview-new .nav-item.locked {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
  position: relative;
}

.overview-new .nav-item.locked .nav-item-icon,
.overview-new .nav-item.locked .nav-item-text {
  opacity: 0.5;
}

/* Lock icon element */
.overview-new .nav-item-lock {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--text-muted, #8E89A0);
  background: var(--bg-secondary, #F3F0F7);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: help;
}

/* Remove hover effects for locked items */
.overview-new .nav-item.locked:hover {
  background: transparent;
  color: var(--text-secondary, #5B5670);
}

.overview-new .nav-item.locked.active {
  background: transparent;
  color: var(--text-secondary, #5B5670);
}

/* Collapsed sidebar - hide main icon, show lock icon in its place */
.overview-new .app-layout.sidebar-collapsed .nav-item.locked .nav-item-icon {
  visibility: hidden;
}

.overview-new .app-layout.sidebar-collapsed .nav-item.locked .nav-item-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  right: auto;
  width: 36px;
  height: 36px;
  font-size: 14px;
  background: var(--bg-secondary, #F3F0F7);
  border-radius: var(--radius-md, 10px);
  opacity: 1;
}

/* ==================== LOCK TOOLTIP ==================== */
.overview-new .lock-tooltip {
  position: fixed;
  padding: 8px 12px;
  background: var(--bg-dark, #1A1625);
  color: var(--text-light, #ffffff);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius-sm, 6px);
  max-width: 220px;
  z-index: 99999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  white-space: normal;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.overview-new .lock-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

/* Tooltip arrow */
.overview-new .lock-tooltip::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--bg-dark, #1A1625);
}

/* ==================== TOOLTIP VARIANTS ==================== */
/* Info Style (Blue) */
.overview-new .lock-tooltip.tooltip-info {
  background: #3b82f6;
}

.overview-new .lock-tooltip.tooltip-info::before {
  border-right-color: #3b82f6;
}

/* Warning Style (Orange) */
.overview-new .lock-tooltip.tooltip-warning {
  background: #f59e0b;
}

.overview-new .lock-tooltip.tooltip-warning::before {
  border-right-color: #f59e0b;
}

/* Error Style (Red) */
.overview-new .lock-tooltip.tooltip-error {
  background: #ef4444;
}

.overview-new .lock-tooltip.tooltip-error::before {
  border-right-color: #ef4444;
}

/* Success Style (Green) */
.overview-new .lock-tooltip.tooltip-success {
  background: #22c55e;
}

.overview-new .lock-tooltip.tooltip-success::before {
  border-right-color: #22c55e;
}

.overview-new .sidebar-footer {
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border-sidebar);
}

/* ==================== HEADER ==================== */
.overview-new .app-header {
  height: var(--header-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.overview-new .header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.overview-new .header-title {
  /*font-family: var(--font-family-display);*/
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.overview-new .header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.overview-new .header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
  border: none;
}

.overview-new .header-icon-btn:hover {
  background: var(--bg-secondary);
  color: var(--color-primary);
}

.overview-new .header-icon-btn svg {
  width: 18px;
  height: 18px;
}

.overview-new .header-icon-btn .notification-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--color-error);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-card);
}

.overview-new .header-user {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.overview-new .header-user:hover {
  background: var(--bg-secondary);
}

.overview-new .header-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

.overview-new .header-user-info {
  display: flex;
  flex-direction: column;
}

.overview-new .header-user-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
}

.overview-new .header-user-role {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Mobile Menu Button */
.overview-new .mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  align-items: center;
  justify-content: center;
}

.overview-new .mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

/* ==================== FOOTER ==================== */
.overview-new .app-footer {
  min-height: var(--footer-height);
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.overview-new .footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.overview-new .footer-links a {
  color: var(--text-secondary);
}

.overview-new .footer-links a:hover {
  color: var(--color-primary);
}

.overview-new .footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.overview-new .footer-social a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.overview-new .footer-social a:hover {
  background: var(--bg-secondary);
  color: var(--color-primary);
}

.overview-new .footer-social svg {
  width: 14px;
  height: 14px;
}

/* ==================== CARDS ==================== */
.overview-new .card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.overview-new .card-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.overview-new .card-body {
  padding: var(--space-lg);
}

.overview-new .card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ==================== BUTTONS ==================== */
.overview-new .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.overview-new .btn svg {
  width: 16px;
  height: 16px;
}

.overview-new .btn-sm {
  padding: 6px 12px;
  font-size: var(--font-size-xs);
}

.overview-new .btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.overview-new .btn-secondary:hover {
  background: var(--bg-secondary);
}

.overview-new .btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.overview-new .btn-ghost:hover {
  background: var(--bg-secondary);
}

/* ==================== FORM ELEMENTS ==================== */
.overview-new .form-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.overview-new .form-input,
.form-select {
  width: 100%;
  padding: 8px 12px;
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.overview-new .form-input:focus,
.form-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.overview-new .form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B5670' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 36px;
}

/* ==================== TABLE ==================== */
.overview-new .table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.overview-new #dataCoverageOverview .table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.overview-new #dataCoverageOverview .table th,
.table td {
  padding: 12px 16px !important;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.overview-new #dataCoverageOverview .table th {
  background: var(--bg-secondary);
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.overview-new #dataCoverageOverview .table tbody tr:hover {
  background: rgba(124, 58, 237, 0.03);
}

.overview-new #dataCoverageOverview .table tbody tr:last-child td {
  border-bottom: none;
}

/* Table Cell Styles */
.overview-new .cell-id {
  width: 50px;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

.overview-new .cell-creator {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 120px;
}

.overview-new .cell-avatar {
  width: 28px;
  height: 28px;
  background: var(--color-error-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-new .cell-avatar svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-error);
}

.overview-new .cell-project {
  min-width: 300px;
  max-width: 400px;
}

.overview-new .cell-project-name {
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  display: block;
  line-height: 1.4;
}

.overview-new .cell-project-tag {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.overview-new .cell-amount {
  white-space: nowrap;
}

/* ==================== STATUS BADGES ==================== */
.overview-new .status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  color: white;
  white-space: nowrap;
}

.overview-new .status-pill-red {
  background: var(--color-error);
}

.overview-new .status-pill-orange {
  background: var(--color-warning);
}

.overview-new .status-pill-green {
  background: var(--color-success);
}

.overview-new .status-pill-gray {
  background: var(--text-muted);
}

/* ==================== FILTERS ==================== */
.overview-new .filter-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-md);
}

.overview-new .filter-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* ==================== NOTE BANNER ==================== */
.overview-new .note-banner {
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

/* ==================== RESULTS COUNT ==================== */
.overview-new .results-count {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.overview-new .results-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-left: var(--space-xs);
}

/* ==================== PAGINATION ==================== */
.overview-new .pagination {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.overview-new .pagination-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.overview-new .pagination-btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.overview-new .pagination-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.overview-new .pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.overview-new .pagination-btn svg {
  width: 16px;
  height: 16px;
}

/* ==================== SIDEBAR OVERLAY ==================== */
.overview-new .sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-sidebar) - 1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overview-new .sidebar-overlay.show {
  display: block;
  opacity: 1;
}

/* ==================== UTILITY CLASSES ==================== */
.overview-new .flex {
  display: flex;
}

.overview-new .items-center {
  align-items: center;
}

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

.overview-new .gap-sm {
  gap: var(--space-sm);
}

.overview-new .gap-md {
  gap: var(--space-md);
}

.overview-new .mb-md {
  margin-bottom: var(--space-md);
}

.overview-new .mb-lg {
  margin-bottom: var(--space-lg);
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.overview-new .animate-slide-up {
  animation: slideUp 0.4s ease both;
}

/* ==================== RESPONSIVE ==================== */
/* Large screens */
@media (max-width: 1400px) {
  .filter-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Tablet and below - Sidebar becomes overlay */
@media (max-width: 1024px) {
  /* Reset main area */
  .overview-new .app-main {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .overview-new .app-layout.sidebar-collapsed .app-main {
    margin-left: 0 !important;
    width: 100% !important;
  }
  /* Sidebar as overlay */
  .overview-new .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px !important;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: var(--z-sidebar);
    box-shadow: none;
  }
  .overview-new .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }
  .overview-new .app-layout.sidebar-collapsed .sidebar {
    width: 280px !important;
    transform: translateX(-100%);
  }
  .overview-new .app-layout.sidebar-collapsed .sidebar.open {
    transform: translateX(0);
  }
  /* Always show full sidebar content on mobile */
  .overview-new .app-layout.sidebar-collapsed .sidebar-logo-text,
  .overview-new .app-layout.sidebar-collapsed .project-details,
  .overview-new .app-layout.sidebar-collapsed .nav-section-title,
  .overview-new .app-layout.sidebar-collapsed .nav-item-text {
    display: block !important;
    opacity: 1 !important;
    height: auto !important;
    padding: revert !important;
  }
  .overview-new .app-layout.sidebar-collapsed .nav-section-title {
    padding: var(--space-sm) var(--space-md) !important;
  }
  .overview-new .app-layout.sidebar-collapsed .nav-item {
    justify-content: flex-start !important;
    padding: var(--space-sm) !important;
  }
  /* Hide desktop toggle, show mobile close button */
  .overview-new .sidebar-toggle {
    display: none !important;
  }
  .overview-new .sidebar-close {
    display: flex !important;
  }
  .overview-new .mobile-menu-btn {
    display: flex !important;
  }
  /* Disable collapsed tooltips on mobile */
  .overview-new .app-layout.sidebar-collapsed .nav-item[data-tooltip]:hover::after {
    display: none !important;
  }
  .overview-new .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .overview-new .table {
    min-width: 900px;
  }
}
/* Tablet Portrait */
@media (max-width: 900px) {
  .overview-new .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-new .header-icon-btn:nth-child(1),
  .header-icon-btn:nth-child(3) {
    display: none;
  }
}
/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --footer-height: auto;
  }
  .overview-new .app-content {
    padding: var(--space-md);
  }
  .overview-new .app-header {
    padding: 0 var(--space-md);
    height: var(--header-height);
  }
  .overview-new .header-title {
    font-size: var(--font-size-lg);
  }
  .overview-new .header-right {
    gap: var(--space-xs);
  }
  .overview-new .header-icon-btn {
    width: 32px;
    height: 32px;
  }
  .overview-new .header-icon-btn svg {
    width: 16px;
    height: 16px;
  }
  .overview-new .header-user {
    padding: var(--space-xs);
  }
  .overview-new .header-user-info {
    display: none;
  }
  .overview-new .header-user-avatar {
    width: 28px;
    height: 28px;
    font-size: var(--font-size-xs);
  }
  /* Sidebar mobile adjustments */
  .overview-new .sidebar {
    width: 260px !important;
  }
  .overview-new .sidebar-header {
    padding: var(--space-sm) var(--space-md);
    min-height: var(--header-height);
  }
  .overview-new .sidebar-logo-icon {
    width: auto;
    height: 32px;
    min-width: 32px;
  }
  .overview-new .sidebar-logo-icon svg {
    width: 18px;
    height: 18px;
  }
  .overview-new .project-info {
    margin: var(--space-xs) var(--space-sm);
    padding: var(--space-sm);
  }
  .overview-new .nav-item {
    margin: 1px var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
  }
  .overview-new .nav-item-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .overview-new .nav-item-icon svg {
    width: 16px;
    height: 16px;
  }
  /* Cards */
  .overview-new .card {
    border-radius: var(--radius-md);
  }
  .overview-new .card-header {
    padding: var(--space-sm) var(--space-md);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }
  .overview-new .card-body {
    padding: var(--space-md);
  }
  .overview-new .card-footer {
    padding: var(--space-sm) var(--space-md);
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  .overview-new .toolbar-left {
    width: 100%;
    justify-content: flex-start;
  }
  .overview-new .toolbar-right {
    width: 100%;
    justify-content: flex-end;
  }
  /* Filters */
  .overview-new .filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }
  .overview-new .form-label {
    font-size: 10px;
  }
  .overview-new .form-input,
  .form-select {
    padding: 6px 10px;
    font-size: var(--font-size-xs);
  }
  /* Note banner */
  .overview-new .note-banner {
    padding: var(--space-sm);
    font-size: var(--font-size-xs);
    line-height: 1.6;
  }
  /* Table */
  .overview-new .table {
    font-size: var(--font-size-xs);
    min-width: 700px;
  }
  .overview-new .table th,
  .table td {
    padding: var(--space-xs) var(--space-sm);
  }
  .overview-new .cell-project {
    min-width: 200px;
    max-width: 250px;
  }
  .overview-new .cell-project-name {
    font-size: var(--font-size-xs);
  }
  .overview-new .cell-project-tag {
    font-size: 10px;
  }
  .overview-new .status-pill {
    padding: 2px 6px;
    font-size: 10px;
  }
  .overview-new .btn-sm {
    padding: 4px 8px;
    font-size: 10px;
  }
  /* Pagination */
  .overview-new .pagination-btn {
    min-width: 28px;
    height: 28px;
    font-size: var(--font-size-xs);
  }
  /* Footer */
  .overview-new .app-footer {
    padding: var(--space-md);
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  .overview-new .footer-social {
    order: 1;
  }
  .overview-new .footer-links {
    order: 2;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xs);
  }
  .overview-new .footer-links a {
    font-size: var(--font-size-xs);
  }
}
/* Small Mobile */
@media (max-width: 480px) {
  .overview-new .app-content {
    padding: var(--space-sm);
  }
  .overview-new .app-header {
    padding: 0 var(--space-sm);
  }
  .overview-new .header-title {
    font-size: var(--font-size-base);
  }
  .overview-new .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }
  .overview-new .mobile-menu-btn svg {
    width: 18px;
    height: 18px;
  }
  /* Hide all header icons except notification */
  .overview-new .header-icon-btn {
    display: none;
  }
  .overview-new .header-icon-btn:nth-child(2) {
    display: flex;
    width: 28px;
    height: 28px;
  }
  .overview-new .sidebar {
    width: 85vw !important;
    max-width: 280px;
  }
  .overview-new .filter-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .overview-new .card-header {
    padding: var(--space-sm);
  }
  .overview-new .card-body {
    padding: var(--space-sm);
  }
  .overview-new .toolbar-left {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  .overview-new .btn-sm {
    padding: 4px 6px;
    font-size: 9px;
  }
  .overview-new .btn-sm svg {
    width: 12px;
    height: 12px;
  }
  .overview-new .results-count {
    font-size: var(--font-size-base);
  }
  .overview-new .results-label {
    font-size: var(--font-size-xs);
  }
  .overview-new .table {
    min-width: 600px;
  }
  .overview-new .cell-project {
    min-width: 180px;
  }
  .overview-new .app-footer {
    padding: var(--space-sm);
  }
  .overview-new .footer-social a {
    width: 24px;
    height: 24px;
  }
  .overview-new .footer-social svg {
    width: 12px;
    height: 12px;
  }
}
/* Survey Form */
.overview-new .form-widget {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sticky Header */
.overview-new .form-header-sticky {
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  background: var(--bg-primary);
  padding: 20px 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.overview-new .form-header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.overview-new .form-content-area {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
  flex: 1;
  width: 100%;
}

/* Header */
.overview-new .form-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.overview-new .logo {
  /*font-family: 'Fraunces', serif;*/
  font-size: 24px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.overview-new .form-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 12px;
  border-radius: 100px;
}

/* Progress Bar */
.overview-new .progress-container {
  animation: fadeIn 0.5s ease;
}

.overview-new .progress-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
}

.overview-new .progress-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.overview-new .progress-indicator {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 100px;
  overflow: hidden;
}

.overview-new .progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Card */
.overview-new .page-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 32px;
  margin-bottom: 24px;
  animation: slideUp 0.5s ease 0.2s both;
}

.overview-new .page-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.overview-new .page-title {
  /*font-family: 'Fraunces', serif;*/
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.overview-new .page-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form Elements */
.overview-new .form-group {
  margin-bottom: 24px;
  animation: fadeIn 0.4s ease both;
}

.overview-new .form-group:last-child {
  margin-bottom: 0;
}

.overview-new .form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: var(--error, #ef4444);
}

.overview-new .form-group.error .checkbox-group,
.form-group.error .radio-group {
  border: 1px solid var(--error, #ef4444);
  border-radius: var(--radius-md);
  padding: 8px;
}

.overview-new .error-message {
  display: none;
  color: var(--error, #ef4444);
  font-size: 12px;
  margin-top: 4px;
}

.overview-new .form-group.error .error-message {
  display: block;
}

.overview-new .form-label {
  display: block;
  font-size: 14px;
  /*font-weight: 600;*/
  color: var(--text-primary);
  margin-bottom: 6px;
}

.overview-new .form-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.overview-new .form-input,
.form-select,
.form-textarea {
  width: 100%;
  /*padding: 14px 16px;*/
  /*font-size: 15px;*/
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.overview-new .form-input:hover,
.form-select:hover,
.form-textarea:hover {
  background: var(--bg-primary);
  border-color: var(--border);
}

.overview-new .form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: var(--bg-card);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.overview-new .form-input::placeholder {
  color: var(--text-muted);
}

.overview-new .form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B635A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.overview-new .form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Radio Group */
.overview-new .radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-new .radio-group.inline {
  flex-direction: row;
  flex-wrap: wrap;
}

.overview-new .radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

.overview-new .radio-item:hover {
  background: var(--bg-primary);
  border-color: var(--border);
}

.overview-new .radio-item.selected {
  background: var(--accent-light);
  border-color: var(--accent);
}

.overview-new .radio-circle {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  background: var(--bg-card);
}

.overview-new .radio-item.selected .radio-circle {
  border-color: var(--accent);
}

.overview-new .radio-circle::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent-gradient);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.overview-new .radio-item.selected .radio-circle::after {
  opacity: 1;
  transform: scale(1);
}

.overview-new .radio-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Checkbox */
.overview-new .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-new .checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

.overview-new .checkbox-item:hover {
  background: var(--bg-primary);
  border-color: var(--border);
}

.overview-new .checkbox-item.checked {
  background: var(--accent-light);
  border-color: var(--accent);
}

.overview-new .checkbox-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  background: var(--bg-card);
}

.overview-new .checkbox-item.checked .checkbox-box {
  background: var(--accent-gradient);
  border-color: var(--accent);
}

.overview-new .checkbox-box svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 3;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.overview-new .checkbox-item.checked .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.overview-new .checkbox-content {
  flex: 1;
}

.overview-new .checkbox-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.overview-new .checkbox-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* File Input */
.overview-new .file-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-secondary);
}

.overview-new .file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.overview-new .file-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-new .file-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.overview-new .file-text {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 4px;
}

.overview-new .file-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.overview-new .file-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overview-new .file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.overview-new .file-item-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-new .file-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.overview-new .file-item-info {
  flex: 1;
  min-width: 0;
}

.overview-new .file-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overview-new .file-item-size {
  font-size: 12px;
  color: var(--text-muted);
}

.overview-new .file-item-remove {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.overview-new .file-item-remove:hover {
  background: var(--error);
}

.overview-new .file-item-remove svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  transition: var(--transition);
}

.overview-new .file-item-remove:hover svg {
  stroke: white;
}

.overview-new .file-item-view {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-right: 4px;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.overview-new .file-item-view:hover {
  background: var(--accent-light);
}

.overview-new .file-item.existing-file {
  border-color: var(--accent);
  background: var(--accent-light);
}

/* Location Input with Map */
.overview-new .location-wrapper {
  position: relative;
}

.overview-new .location-input-row {
  position: relative;
}

.overview-new .location-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: var(--accent-gradient);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.overview-new .location-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.overview-new .location-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.overview-new .location-input-row .form-input {
  padding-right: 56px;
}

.overview-new .location-map-container {
  margin-top: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-secondary);
  height: 200px;
  position: relative;
}

.overview-new .location-map {
  width: 100%;
  height: 100%;
}

.overview-new .location-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 14px;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
}

.overview-new .location-map-overlay svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-muted);
  opacity: 0.5;
}

.overview-new .location-map-overlay.hidden {
  display: none;
}

.overview-new .location-coords {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.overview-new .location-coords svg {
  width: 14px;
  height: 14px;
}

/* Custom map marker */
.overview-new .custom-marker {
  background: none;
  border: none;
}

.overview-new .custom-marker svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Navigation - Always at Bottom */
.overview-new .nav-container {
  display: flex;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 100;
  margin-top: auto;
  flex-shrink: 0;
}

.overview-new .nav-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

/*.btn {*/
/*    flex: 1;*/
/*    padding: 16px 24px;*/
/*    font-size: 15px;*/
/*    font-weight: 600;*/
/*    font-family: inherit;*/
/*    border-radius: var(--radius-md);*/
/*    cursor: pointer;*/
/*    transition: var(--transition);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 8px;*/
/*}*/
.overview-new .btn-primary {
  background: var(--accent-gradient);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.overview-new .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.overview-new .btn svg {
  width: 18px;
  height: 18px;
}

.overview-new .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.overview-new .btn.loading {
  pointer-events: none;
}

.overview-new .btn.loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Success Page */
.overview-new .success-container {
  text-align: center;
  padding: 60px 24px;
  animation: scaleIn 0.5s ease;
}

.overview-new .success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: bounce 0.6s ease 0.2s both;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.overview-new .success-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 3;
}

.overview-new .success-title {
  /*font-family: 'Fraunces', serif;*/
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.overview-new .success-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
/* Required indicator */
.overview-new .required {
  color: var(--error);
  margin-left: 2px;
}

/* Error state */
.overview-new .form-input.error,
.form-select.error {
  border-color: var(--error);
}

.overview-new .error-message.show {
  display: block;
}

/* Responsive */
@media (max-width: 600px) {
  .overview-new .form-content-area {
    padding: 16px;
  }
  .overview-new .form-header-inner {
    padding: 0 16px;
  }
  .overview-new .form-widget {
    padding: 0 16px;
  }
  .overview-new .page-card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }
  .overview-new .page-title {
    font-size: 22px;
  }
  .overview-new .btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  .overview-new .nav-container {
    padding: 12px 16px;
  }
}
@media (min-width: 768px) {
  .overview-new .form-content-area {
    padding: 32px 24px;
  }
  .overview-new .form-header-sticky {
    padding: 24px 0 20px;
  }
  .overview-new .page-card {
    padding: 40px;
  }
  .overview-new .logo {
    font-size: 28px;
  }
  .overview-new .page-title {
    font-size: 28px;
  }
}
/* Hide default file input */
.overview-new input[type=file] {
  display: none;
}

/* Date and Time inputs */
.overview-new input[type=date],
input[type=time] {
  cursor: pointer;
}

.overview-new input[type=date]::-webkit-calendar-picker-indicator,
input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
}

.overview-new input[type=date]::-webkit-calendar-picker-indicator:hover,
input[type=time]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Row layout for date/time */
.overview-new .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .overview-new .form-row {
    grid-template-columns: 1fr;
  }
}
/* ==================== DETAILS PAGE STYLES ==================== */
.overview-new .details-card {
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  overflow: hidden;
  max-width: 100%;
}

.overview-new .details-header {
  background: linear-gradient(135deg, var(--accent, #6366f1) 0%, var(--accent-hover, #4f46e5) 100%);
  color: white;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.overview-new .details-header-content {
  flex: 1;
}

.overview-new .details-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.overview-new .details-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

.overview-new .details-content {
  padding: 32px;
}

.overview-new .details-section {
  margin-bottom: 32px;
}

.overview-new .details-section:last-child {
  margin-bottom: 0;
}

.overview-new .details-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent, #6366f1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.overview-new .details-section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--accent, #6366f1);
  border-radius: 2px;
}

.overview-new .details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.overview-new .details-item {
  background: var(--bg-secondary, #f8fafc);
  border-radius: var(--radius-md, 10px);
  padding: 16px 20px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.overview-new .details-item:hover {
  border-color: var(--border-color, #e2e8f0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.overview-new .details-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.overview-new .details-value {
  font-size: 15px;
  color: var(--text-primary, #1e293b);
  word-break: break-word;
}

.overview-new .details-no-value {
  color: var(--text-muted, #64748b);
  font-style: italic;
}

.overview-new .details-heading {
  grid-column: 1/-1;
  background: linear-gradient(135deg, var(--bg-secondary, #f8fafc) 0%, var(--bg-tertiary, #f1f5f9) 100%);
  padding: 14px 20px;
  border-radius: var(--radius-sm, 6px);
  font-weight: 600;
  color: var(--text-primary, #1e293b);
  border-left: 4px solid var(--accent, #6366f1);
  margin: 8px 0;
}

.overview-new .details-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overview-new .details-tag {
  display: inline-block;
  background: var(--accent-light, #eef2ff);
  color: var(--accent, #6366f1);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.overview-new .details-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overview-new .details-file-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent, #6366f1);
  text-decoration: none;
  padding: 8px 14px;
  background: var(--accent-light, #eef2ff);
  border-radius: var(--radius-sm, 6px);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.overview-new .details-file-link:hover {
  background: var(--accent, #6366f1);
  color: white;
}

.overview-new .details-file-link svg {
  width: 16px;
  height: 16px;
}

.overview-new .details-location {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overview-new .details-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent, #6366f1);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.overview-new .details-map-link:hover {
  text-decoration: underline;
}

.overview-new .details-map-link svg {
  width: 14px;
  height: 14px;
}

.overview-new .details-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted, #64748b);
}

.overview-new .details-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color, #e2e8f0);
  border-top-color: var(--accent, #6366f1);
  border-radius: 50%;
  animation: details-spin 0.8s linear infinite;
  margin-bottom: 16px;
}

.overview-new .details-masked {
  color: var(--text-muted, #64748b);
  letter-spacing: 2px;
}

@keyframes details-spin {
  to {
    transform: rotate(360deg);
  }
}
.overview-new .details-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted, #64748b);
}

.overview-new .details-empty svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 640px) {
  .overview-new .details-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .overview-new .details-edit-btn {
    width: 100%;
    justify-content: center;
  }
  .overview-new .details-content {
    padding: 20px;
  }
  .overview-new .details-grid {
    grid-template-columns: 1fr;
  }
  .overview-new .details-title {
    font-size: 20px;
  }
}
/* Print Styles */
@media print {
  .overview-new .details-edit-btn {
    display: none;
  }
  .overview-new .details-card {
    box-shadow: none;
  }
}
.overview-new .details-wrapper {
  max-width: 100%;
}

/* Collapsible Details Card */
.overview-new .details-card.details-collapsible {
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  overflow: hidden;
  margin-bottom: 24px;
}

.overview-new .details-collapsible .details-header {
  background: linear-gradient(135deg, var(--accent, #6366f1) 0%, var(--accent-hover, #4f46e5) 100%);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.overview-new .details-header-left {
  flex: 1;
}

.overview-new .details-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.overview-new .details-header-content {
  flex: 1;
}

.overview-new .details-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 2px 0;
}

.overview-new .details-subtitle {
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
}

/* Edit Button */
.overview-new .details-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: var(--radius-md, 10px);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.overview-new .details-edit-btn:hover {
  background: white;
  color: var(--accent, #6366f1);
  border-color: white;
}

.overview-new .details-edit-btn svg {
  width: 16px;
  height: 16px;
}

/* Toggle Button */
.overview-new .details-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  border-radius: var(--radius-md, 10px);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.overview-new .details-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.overview-new .details-toggle-btn .toggle-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.overview-new .details-collapsible.expanded .details-toggle-btn .toggle-icon {
  transform: rotate(180deg);
}

/* Preview Section */
.overview-new .details-preview {
  padding: 20px 24px;
  background: var(--bg-secondary, #f8fafc);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-new .preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.overview-new .preview-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overview-new .preview-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.overview-new .preview-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary, #1e293b);
}

/* Expandable Content */
.overview-new .details-expandable {
  display: none;
  padding: 24px;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.overview-new .details-collapsible.expanded .details-expandable {
  display: block;
}

/* Details Section */
.overview-new .details-section {
  margin-bottom: 28px;
}

.overview-new .details-section:last-child {
  margin-bottom: 0;
}

.overview-new .details-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent, #6366f1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.overview-new .details-section-title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--accent, #6366f1);
  border-radius: 2px;
}

.overview-new .details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.overview-new .details-item {
  background: var(--bg-secondary, #f8fafc);
  border-radius: var(--radius-md, 10px);
  padding: 14px 16px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.overview-new .details-item:hover {
  border-color: var(--border-color, #e2e8f0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.overview-new .details-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.overview-new .details-value {
  font-size: 14px;
  color: var(--text-primary, #1e293b);
  word-break: break-word;
}

.overview-new .details-no-value {
  color: var(--text-muted, #64748b);
  font-style: italic;
}

.overview-new .details-heading {
  grid-column: 1/-1;
  background: linear-gradient(135deg, var(--bg-secondary, #f8fafc) 0%, var(--bg-tertiary, #f1f5f9) 100%);
  padding: 12px 16px;
  border-radius: var(--radius-sm, 6px);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary, #1e293b);
  border-left: 3px solid var(--accent, #6366f1);
  margin: 4px 0;
}

.overview-new .details-masked {
  color: var(--text-muted, #64748b);
  letter-spacing: 1px;
  font-family: monospace;
}

/* Tags */
.overview-new .details-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.overview-new .details-tag {
  display: inline-block;
  background: var(--accent-light, #eef2ff);
  color: var(--accent, #6366f1);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

/* Files */
.overview-new .details-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overview-new .details-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent, #6366f1);
  text-decoration: none;
  padding: 6px 12px;
  background: var(--accent-light, #eef2ff);
  border-radius: var(--radius-sm, 6px);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.overview-new .details-file-link:hover {
  background: var(--accent, #6366f1);
  color: white;
}

.overview-new .details-file-link svg {
  width: 14px;
  height: 14px;
}

/* Location */
.overview-new .details-location {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.overview-new .details-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent, #6366f1);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}

.overview-new .details-map-link:hover {
  text-decoration: underline;
}

.overview-new .details-map-link svg {
  width: 14px;
  height: 14px;
}

/* ==================== DASHBOARD STYLES ==================== */
.overview-new .details-dashboard {
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  padding: 24px;
}

.overview-new .dashboard-header {
  margin-bottom: 24px;
}

.overview-new .dashboard-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  margin: 0 0 4px 0;
}

.overview-new .dashboard-subtitle {
  font-size: 13px;
  color: var(--text-muted, #64748b);
  margin: 0;
}

/* Stats Grid */
.overview-new .dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.overview-new .stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md, 10px);
  background: var(--bg-secondary, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  transition: all 0.2s ease;
}

.overview-new .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.overview-new .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-new .stat-icon svg {
  width: 24px;
  height: 24px;
}

.overview-new .stat-primary .stat-icon {
  background: #eef2ff;
  color: #6366f1;
}

.overview-new .stat-success .stat-icon {
  background: #dcfce7;
  color: #22c55e;
}

.overview-new .stat-warning .stat-icon {
  background: #fef3c7;
  color: #f59e0b;
}

.overview-new .stat-danger .stat-icon {
  background: #fee2e2;
  color: #ef4444;
}

.overview-new .stat-content {
  display: flex;
  flex-direction: column;
}

.overview-new .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  line-height: 1.2;
}

.overview-new .stat-label {
  font-size: 13px;
  color: var(--text-muted, #64748b);
  font-weight: 500;
}

/* Dashboard Cards */
.overview-new .dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.overview-new .dashboard-card {
  background: var(--bg-secondary, #f8fafc);
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border-color, #e2e8f0);
  overflow: hidden;
}

.overview-new .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  background: var(--bg-primary, #ffffff);
}

.overview-new .card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
  margin: 0;
}

.overview-new .card-link {
  font-size: 13px;
  color: var(--accent, #6366f1);
  text-decoration: none;
  font-weight: 500;
}

.overview-new .card-link:hover {
  text-decoration: underline;
}

.overview-new .card-body {
  padding: 16px 20px;
}

/* Activity List */
.overview-new .activity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.overview-new .activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.overview-new .activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-new .activity-icon svg {
  width: 16px;
  height: 16px;
}

.overview-new .activity-icon-success {
  background: #dcfce7;
  color: #22c55e;
}

.overview-new .activity-icon-primary {
  background: #eef2ff;
  color: #6366f1;
}

.overview-new .activity-icon-warning {
  background: #fef3c7;
  color: #f59e0b;
}

.overview-new .activity-icon-danger {
  background: #fee2e2;
  color: #ef4444;
}

.overview-new .activity-content {
  flex: 1;
  min-width: 0;
}

.overview-new .activity-text {
  font-size: 13px;
  color: var(--text-primary, #1e293b);
  margin: 0 0 2px 0;
  font-weight: 500;
}

.overview-new .activity-time {
  font-size: 11px;
  color: var(--text-muted, #64748b);
}

/* Document List */
.overview-new .document-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-new .document-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-sm, 6px);
  border: 1px solid var(--border-color, #e2e8f0);
}

.overview-new .document-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-light, #eef2ff);
  color: var(--accent, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.overview-new .document-icon svg {
  width: 18px;
  height: 18px;
}

.overview-new .document-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
}

.overview-new .document-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary, #1e293b);
}

.overview-new .document-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.overview-new .status-verified {
  background: #dcfce7;
  color: #15803d;
}

.overview-new .status-pending {
  background: #fef3c7;
  color: #b45309;
}

.overview-new .status-rejected {
  background: #fee2e2;
  color: #b91c1c;
}

/* Loading State */
.overview-new .details-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted, #64748b);
}

.overview-new .details-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-color, #e2e8f0);
  border-top-color: var(--accent, #6366f1);
  border-radius: 50%;
  animation: details-spin 0.8s linear infinite;
  margin-bottom: 12px;
}

/* Empty State */
.overview-new .details-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted, #64748b);
}

.overview-new .details-empty svg {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .overview-new .details-collapsible .details-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .overview-new .details-header-right {
    justify-content: center;
  }
  .overview-new .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-new .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-new .dashboard-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .overview-new .details-header-right {
    flex-direction: column;
    width: 100%;
  }
  .overview-new .details-edit-btn,
  .details-toggle-btn {
    width: 100%;
    justify-content: center;
  }
  .overview-new .preview-grid {
    grid-template-columns: 1fr;
  }
  .overview-new .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .overview-new .document-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
/* Print Styles */
@media print {
  .overview-new .details-edit-btn,
  .details-toggle-btn {
    display: none;
  }
  .overview-new .details-card,
  .details-dashboard {
    box-shadow: none;
    page-break-inside: avoid;
  }
  .overview-new .details-expandable {
    display: block !important;
  }
  .overview-new .details-preview {
    display: none !important;
  }
}
.overview-new .details-card.details-collapsible {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/*
.overview-new .details-dashboard {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 3px solid transparent;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)),
    linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}*/
.overview-new .details-dashboard {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: none;
  position: relative;
  overflow: hidden;
}

.overview-new .details-dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
  animation: colorShift 4s ease infinite;
}

@keyframes colorShift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(45deg);
  }
}
.overview-new #renderLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0) 100%);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.overview-new #renderLoader .details-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(99, 102, 241, 0.08);
}

.overview-new #renderLoader .details-loading-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid #e2e8f0;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}

.overview-new #renderLoader .details-loading p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.2px;
}

.overview-new #renderLoader .details-loading p::after {
  content: "";
  display: inline-block;
  width: 1.5em;
  text-align: left;
  animation: loaderDots 1.5s steps(4, end) infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loaderDots {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75%, 100% {
    content: "...";
  }
}
.overview-new #renderLoader.display-none {
  display: none;
}

/* ==================== ENHANCED RESPONSIVE STYLES ==================== */
/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  /* Details Page */
  .overview-new .details-collapsible .details-header {
    padding: 16px 20px;
  }
  .overview-new .details-title {
    font-size: 18px;
  }
  .overview-new .details-subtitle {
    font-size: 12px;
  }
  .overview-new .details-preview {
    padding: 16px 20px;
  }
  .overview-new .preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .overview-new .details-expandable {
    padding: 20px;
  }
  .overview-new .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Dashboard */
  .overview-new .details-dashboard {
    padding: 20px;
  }
  .overview-new .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .overview-new .stat-card {
    padding: 16px;
  }
  .overview-new .stat-value {
    font-size: 24px;
  }
  .overview-new .stat-icon {
    width: 42px;
    height: 42px;
  }
  .overview-new .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Lock tooltip - ensure visibility */
  .overview-new .lock-tooltip {
    max-width: 180px;
    font-size: 11px;
    padding: 6px 10px;
  }
  /* Sidebar lock icon on mobile - always show in expanded style */
  .overview-new .app-layout.sidebar-collapsed .nav-item.locked .nav-item-icon {
    visibility: visible;
  }
  .overview-new .app-layout.sidebar-collapsed .nav-item.locked .nav-item-lock {
    position: absolute;
    right: 12px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
}
/* Tablet Portrait (900px and below) */
@media (max-width: 900px) {
  /* Details Header */
  .overview-new .details-header-right {
    gap: 8px;
  }
  .overview-new .details-edit-btn,
  .overview-new .details-toggle-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  .overview-new .details-edit-btn svg,
  .overview-new .details-toggle-btn .toggle-icon {
    width: 14px;
    height: 14px;
  }
  /* Preview Grid */
  .overview-new .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-new .preview-label {
    font-size: 10px;
  }
  .overview-new .preview-value {
    font-size: 13px;
  }
  /* Dashboard Stats */
  .overview-new .dashboard-title {
    font-size: 18px;
  }
  .overview-new .dashboard-subtitle {
    font-size: 12px;
  }
  .overview-new .stat-label {
    font-size: 11px;
  }
}
/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* Details Card */
  .overview-new .details-card.details-collapsible {
    border-radius: var(--radius-md);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .overview-new .details-collapsible .details-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  .overview-new .details-header-left {
    order: 1;
  }
  .overview-new .details-header-right {
    order: 2;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .overview-new .details-edit-btn,
  .overview-new .details-toggle-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
  }
  .overview-new .details-title {
    font-size: 16px;
  }
  .overview-new .details-subtitle {
    font-size: 11px;
  }
  /* Preview Section */
  .overview-new .details-preview {
    padding: 12px 16px;
  }
  .overview-new .preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .overview-new .preview-item {
    gap: 2px;
  }
  .overview-new .preview-label {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .overview-new .preview-value {
    font-size: 12px;
  }
  /* Expandable Content */
  .overview-new .details-expandable {
    padding: 16px;
  }
  .overview-new .details-section {
    margin-bottom: 20px;
  }
  .overview-new .details-section-title {
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    gap: 6px;
  }
  .overview-new .details-section-title::before {
    width: 3px;
    height: 14px;
  }
  .overview-new .details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .overview-new .details-item {
    padding: 12px 14px;
  }
  .overview-new .details-label {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .overview-new .details-value {
    font-size: 13px;
  }
  .overview-new .details-heading {
    padding: 10px 14px;
    font-size: 13px;
  }
  .overview-new .details-tag {
    padding: 3px 8px;
    font-size: 11px;
  }
  .overview-new .details-file-link {
    padding: 5px 10px;
    font-size: 11px;
  }
  /* Dashboard */
  .overview-new .details-dashboard {
    padding: 16px;
    border-radius: var(--radius-md);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .overview-new .dashboard-header {
    margin-bottom: 16px;
  }
  .overview-new .dashboard-title {
    font-size: 16px;
  }
  .overview-new .dashboard-subtitle {
    font-size: 11px;
  }
  .overview-new .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }
  .overview-new .stat-card {
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .overview-new .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .overview-new .stat-icon svg {
    width: 18px;
    height: 18px;
  }
  .overview-new .stat-value {
    font-size: 22px;
  }
  .overview-new .stat-label {
    font-size: 11px;
  }
  .overview-new .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .overview-new .dashboard-card {
    border-radius: var(--radius-sm);
  }
  .overview-new .dashboard-card .card-header {
    padding: 12px 14px;
  }
  .overview-new .dashboard-card .card-title {
    font-size: 13px;
  }
  .overview-new .dashboard-card .card-link {
    font-size: 11px;
  }
  .overview-new .dashboard-card .card-body {
    padding: 12px 14px;
  }
  /* Activity List */
  .overview-new .activity-list {
    gap: 12px;
  }
  .overview-new .activity-icon {
    width: 28px;
    height: 28px;
  }
  .overview-new .activity-icon svg {
    width: 14px;
    height: 14px;
  }
  .overview-new .activity-text {
    font-size: 12px;
  }
  .overview-new .activity-time {
    font-size: 10px;
  }
  /* Document List */
  .overview-new .document-list {
    gap: 8px;
  }
  .overview-new .document-item {
    padding: 10px;
    gap: 10px;
  }
  .overview-new .document-icon {
    width: 32px;
    height: 32px;
  }
  .overview-new .document-icon svg {
    width: 16px;
    height: 16px;
  }
  .overview-new .document-name {
    font-size: 12px;
  }
  .overview-new .document-status {
    font-size: 9px;
    padding: 3px 8px;
  }
  /* Lock Tooltip */
  .overview-new .lock-tooltip {
    max-width: 160px;
    font-size: 11px;
    padding: 6px 10px;
  }
  /* Form Widget */
  .overview-new .form-widget {
    padding: 0 12px;
  }
  .overview-new .form-header-sticky {
    padding: 12px 0;
  }
  .overview-new .page-card {
    padding: 20px 16px;
  }
  .overview-new .page-title {
    font-size: 18px;
  }
  .overview-new .page-description {
    font-size: 13px;
  }
  .overview-new .form-group {
    margin-bottom: 18px;
  }
  .overview-new .form-label {
    font-size: 13px;
  }
  .overview-new .form-hint {
    font-size: 11px;
  }
  /* Radio and Checkbox */
  .overview-new .radio-item,
  .overview-new .checkbox-item {
    padding: 12px 14px;
    gap: 10px;
  }
  .overview-new .radio-circle,
  .overview-new .checkbox-box {
    width: 20px;
    height: 20px;
  }
  .overview-new .radio-label,
  .overview-new .checkbox-label {
    font-size: 13px;
  }
  /* File Dropzone */
  .overview-new .file-dropzone {
    padding: 24px 16px;
  }
  .overview-new .file-icon {
    width: 40px;
    height: 40px;
  }
  .overview-new .file-text {
    font-size: 13px;
  }
  .overview-new .file-hint {
    font-size: 11px;
  }
  /* Location */
  .overview-new .location-map-container {
    height: 160px;
  }
}
/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  /* Details Header */
  .overview-new .details-collapsible .details-header {
    padding: 12px;
    gap: 10px;
  }
  .overview-new .details-header-right {
    flex-direction: column;
    width: 100%;
  }
  .overview-new .details-edit-btn,
  .overview-new .details-toggle-btn {
    width: 100%;
    padding: 12px;
    font-size: 13px;
  }
  .overview-new .details-title {
    font-size: 15px;
  }
  .overview-new .details-subtitle {
    font-size: 10px;
  }
  /* Preview Grid - Stack vertically with 2 columns */
  .overview-new .details-preview {
    padding: 10px 12px;
  }
  .overview-new .preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .overview-new .preview-label {
    font-size: 8px;
  }
  .overview-new .preview-value {
    font-size: 11px;
  }
  /* Expandable Content */
  .overview-new .details-expandable {
    padding: 12px;
  }
  .overview-new .details-section-title {
    font-size: 13px;
  }
  .overview-new .details-item {
    padding: 10px 12px;
  }
  .overview-new .details-label {
    font-size: 9px;
  }
  .overview-new .details-value {
    font-size: 12px;
  }
  /* Dashboard */
  .overview-new .details-dashboard {
    padding: 12px;
  }
  .overview-new .dashboard-header {
    margin-bottom: 12px;
  }
  .overview-new .dashboard-title {
    font-size: 15px;
  }
  .overview-new .dashboard-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }
  .overview-new .stat-card {
    padding: 10px;
    gap: 8px;
  }
  .overview-new .stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }
  .overview-new .stat-icon svg {
    width: 16px;
    height: 16px;
  }
  .overview-new .stat-value {
    font-size: 18px;
  }
  .overview-new .stat-label {
    font-size: 10px;
  }
  .overview-new .dashboard-cards {
    gap: 10px;
  }
  .overview-new .dashboard-card .card-header {
    padding: 10px 12px;
  }
  .overview-new .dashboard-card .card-body {
    padding: 10px 12px;
  }
  /* Activity and Documents */
  .overview-new .activity-list {
    gap: 10px;
  }
  .overview-new .activity-icon {
    width: 26px;
    height: 26px;
  }
  .overview-new .activity-text {
    font-size: 11px;
  }
  .overview-new .document-item {
    padding: 8px;
    flex-wrap: wrap;
  }
  .overview-new .document-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: calc(100% - 44px);
  }
  .overview-new .document-name {
    font-size: 11px;
  }
  .overview-new .document-status {
    font-size: 8px;
    padding: 2px 6px;
  }
  /* Form Widget */
  .overview-new .form-widget {
    padding: 0 8px;
  }
  .overview-new .page-card {
    padding: 16px 12px;
  }
  .overview-new .page-title {
    font-size: 16px;
  }
  .overview-new .form-group {
    margin-bottom: 16px;
  }
  .overview-new .nav-container {
    padding: 10px 12px;
  }
  .overview-new .nav-inner {
    gap: 8px;
  }
  .overview-new .btn {
    padding: 12px 16px;
    font-size: 13px;
  }
  /* Lock Tooltip */
  .overview-new .lock-tooltip {
    max-width: 140px;
    font-size: 10px;
    padding: 5px 8px;
  }
  /* Loader */
  .overview-new #renderLoader .details-loading {
    padding: 32px 24px;
    border-radius: 16px;
  }
  .overview-new #renderLoader .details-loading-spinner {
    width: 44px;
    height: 44px;
  }
  .overview-new #renderLoader .details-loading p {
    font-size: 13px;
  }
}
/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .overview-new .details-title {
    font-size: 14px;
  }
  .overview-new .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .overview-new .preview-value {
    font-size: 10px;
  }
  .overview-new .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .overview-new .stat-card {
    flex-direction: row;
    align-items: center;
  }
  .overview-new .stat-value {
    font-size: 20px;
  }
  .overview-new .page-card {
    padding: 14px 10px;
  }
  .overview-new .page-title {
    font-size: 15px;
  }
}
/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-width: 768px) and (orientation: landscape) {
  .overview-new .details-collapsible .details-header {
    flex-direction: row;
    text-align: left;
  }
  .overview-new .details-header-right {
    flex-direction: row;
    width: auto;
  }
  .overview-new .details-edit-btn,
  .overview-new .details-toggle-btn {
    width: auto;
    flex: none;
  }
  .overview-new .preview-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .overview-new .dashboard-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .overview-new .stat-card {
    flex-direction: row;
    align-items: center;
  }
}
/* ==================== PRINT STYLES ==================== */
@media print {
  .overview-new .sidebar,
  .overview-new .app-header,
  .overview-new .app-footer,
  .overview-new .mobile-menu-btn,
  .overview-new .details-edit-btn,
  .overview-new .details-toggle-btn,
  .overview-new .nav-container,
  .overview-new .nav-item-lock,
  .overview-new .lock-tooltip {
    display: none !important;
  }
  .overview-new .app-main {
    margin-left: 0 !important;
  }
  .overview-new .details-card,
  .overview-new .details-dashboard,
  .overview-new .page-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .overview-new .details-expandable {
    display: block !important;
  }
  .overview-new .details-preview {
    display: none !important;
  }
  .overview-new .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-new .dashboard-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ==================== MOBILE VIEW FIX ==================== */
@media (max-width: 768px) {
  /* ===== PAGE HEADER WITH BACK BUTTON ===== */
  .overview-new .app-content {
    padding: 12px;
  }
  /* If you have a page header with back button */
  .overview-new .page-header-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }
  .overview-new .page-header-row .header-title {
    font-size: 16px;
    line-height: 1.3;
    order: 2;
  }
  .overview-new .page-header-row .back-btn {
    order: 1;
    align-self: flex-end;
  }
  /* ===== DETAILS CARD HEADER ===== */
  .overview-new .details-card.details-collapsible {
    border-radius: 16px 16px 0 0;
  }
  .overview-new .details-collapsible .details-header {
    padding: 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .overview-new .details-header-left {
    width: 100%;
  }
  .overview-new .details-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .overview-new .details-subtitle {
    font-size: 12px;
    opacity: 0.85;
  }
  .overview-new .details-header-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .overview-new .details-edit-btn,
  .overview-new .details-toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
  }
  /* ===== PREVIEW SECTION - FIXED GRID ===== */
  .overview-new .details-preview {
    padding: 16px;
    background: var(--bg-secondary, #f8fafc);
  }
  .overview-new .preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }
  .overview-new .preview-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* Prevent overflow */
  }
  .overview-new .preview-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
  }
  .overview-new .preview-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #1e293b);
    word-break: break-word;
    line-height: 1.4;
  }
  /* Handle long text in preview */
  .overview-new .preview-value .details-location,
  .overview-new .preview-value .details-tags {
    font-size: 12px;
  }
  /* ===== EXPANDABLE CONTENT ===== */
  .overview-new .details-expandable {
    padding: 16px;
  }
  .overview-new .details-section {
    margin-bottom: 20px;
  }
  .overview-new .details-section:last-child {
    margin-bottom: 0;
  }
  .overview-new .details-section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  .overview-new .details-section-title::before {
    width: 3px;
    height: 14px;
  }
  /* Single column grid for details on mobile */
  .overview-new .details-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .overview-new .details-item {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .overview-new .details-label {
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
  }
  .overview-new .details-value {
    font-size: 14px;
    line-height: 1.4;
  }
  .overview-new .details-heading {
    padding: 10px 14px;
    font-size: 13px;
    margin: 6px 0;
  }
  /* Tags in mobile */
  .overview-new .details-tags {
    gap: 6px;
  }
  .overview-new .details-tag {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 6px;
  }
  /* Location in mobile */
  .overview-new .details-location {
    gap: 6px;
  }
  .overview-new .details-location > span {
    font-size: 13px;
    line-height: 1.4;
  }
  .overview-new .details-map-link {
    font-size: 12px;
    gap: 4px;
  }
  .overview-new .details-map-link svg {
    width: 14px;
    height: 14px;
  }
  /* Files in mobile */
  .overview-new .details-files {
    flex-direction: column;
    gap: 6px;
  }
  .overview-new .details-file-link {
    padding: 8px 12px;
    font-size: 12px;
    width: 100%;
    justify-content: flex-start;
  }
  /* ===== DASHBOARD ===== */
  .overview-new .details-dashboard {
    padding: 16px;
    border-radius: 0 0 16px 16px;
  }
  .overview-new .details-dashboard::before {
    height: 4px;
  }
  .overview-new .dashboard-header {
    margin-bottom: 16px;
    text-align: left;
  }
  .overview-new .dashboard-title {
    font-size: 16px;
    font-weight: 700;
  }
  .overview-new .dashboard-subtitle {
    font-size: 12px;
  }
  /* Stats Grid - 2x2 */
  .overview-new .dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  .overview-new .stat-card {
    padding: 14px;
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .overview-new .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .overview-new .stat-icon svg {
    width: 20px;
    height: 20px;
  }
  .overview-new .stat-content {
    width: 100%;
  }
  .overview-new .stat-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
  }
  .overview-new .stat-label {
    font-size: 11px;
    margin-top: 2px;
    color: var(--text-muted);
  }
  /* Dashboard Cards */
  .overview-new .dashboard-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .overview-new .dashboard-card {
    border-radius: 12px;
    overflow: hidden;
  }
  .overview-new .dashboard-card .card-header {
    padding: 12px 14px;
  }
  .overview-new .dashboard-card .card-title {
    font-size: 14px;
    font-weight: 600;
  }
  .overview-new .dashboard-card .card-link {
    font-size: 12px;
  }
  .overview-new .dashboard-card .card-body {
    padding: 12px 14px;
  }
  /* Activity List */
  .overview-new .activity-list {
    gap: 12px;
  }
  .overview-new .activity-item {
    gap: 10px;
  }
  .overview-new .activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .overview-new .activity-icon svg {
    width: 16px;
    height: 16px;
  }
  .overview-new .activity-content {
    min-width: 0;
  }
  .overview-new .activity-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    word-break: break-word;
  }
  .overview-new .activity-time {
    font-size: 11px;
    margin-top: 2px;
  }
  /* Document List */
  .overview-new .document-list {
    gap: 8px;
  }
  .overview-new .document-item {
    padding: 12px;
    border-radius: 10px;
    gap: 12px;
  }
  .overview-new .document-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .overview-new .document-icon svg {
    width: 18px;
    height: 18px;
  }
  .overview-new .document-info {
    flex: 1;
    min-width: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .overview-new .document-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .overview-new .document-status {
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    flex-shrink: 0;
  }
}
/* ===== SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
  .overview-new .app-content {
    padding: 10px;
  }
  /* Header */
  .overview-new .app-header {
    padding: 0 10px;
  }
  .overview-new .header-title {
    font-size: 13px;
  }
  /* Details Card */
  .overview-new .details-card.details-collapsible {
    border-radius: 12px 12px 0 0;
  }
  .overview-new .details-collapsible .details-header {
    padding: 14px;
    gap: 12px;
  }
  .overview-new .details-title {
    font-size: 16px;
  }
  .overview-new .details-subtitle {
    font-size: 11px;
  }
  .overview-new .details-edit-btn,
  .overview-new .details-toggle-btn {
    padding: 10px 14px;
    font-size: 12px;
  }
  /* Preview */
  .overview-new .details-preview {
    padding: 12px;
  }
  .overview-new .preview-grid {
    gap: 12px 10px;
  }
  .overview-new .preview-label {
    font-size: 9px;
  }
  .overview-new .preview-value {
    font-size: 12px;
  }
  /* Expandable */
  .overview-new .details-expandable {
    padding: 12px;
  }
  .overview-new .details-section-title {
    font-size: 13px;
  }
  .overview-new .details-item {
    padding: 10px 12px;
  }
  .overview-new .details-label {
    font-size: 9px;
  }
  .overview-new .details-value {
    font-size: 13px;
  }
  /* Dashboard */
  .overview-new .details-dashboard {
    padding: 12px;
    border-radius: 0 0 12px 12px;
  }
  .overview-new .dashboard-title {
    font-size: 15px;
  }
  .overview-new .dashboard-stats {
    gap: 8px;
  }
  .overview-new .stat-card {
    padding: 12px;
  }
  .overview-new .stat-icon {
    width: 36px;
    height: 36px;
  }
  .overview-new .stat-value {
    font-size: 20px;
  }
  .overview-new .stat-label {
    font-size: 10px;
  }
  .overview-new .dashboard-card .card-header,
  .overview-new .dashboard-card .card-body {
    padding: 10px 12px;
  }
  .overview-new .activity-icon {
    width: 28px;
    height: 28px;
  }
  .overview-new .activity-text {
    font-size: 12px;
  }
  .overview-new .document-item {
    padding: 10px;
  }
  .overview-new .document-icon {
    width: 32px;
    height: 32px;
  }
  .overview-new .document-name {
    font-size: 12px;
  }
}
/* ===== EXTRA SMALL (360px and below) ===== */
@media (max-width: 360px) {
  .overview-new .details-title {
    font-size: 14px;
  }
  .overview-new .preview-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .overview-new .preview-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }
  .overview-new .preview-label {
    flex-shrink: 0;
    width: 35%;
  }
  .overview-new .preview-value {
    text-align: right;
    flex: 1;
  }
  .overview-new .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .overview-new .stat-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .overview-new .stat-content {
    width: auto;
  }
}
/* ==================== FILTER SIDEBAR PANEL ==================== */
.overview-new .filter-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0) 100%);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overview-new .filter-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overview-new .filter-panel {
  position: fixed;
  top: 0;
  bottom: auto;
  left: auto;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-card);
  z-index: 1000;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.overview-new .filter-panel.active {
  right: 0;
}

.overview-new .filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.overview-new .filter-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.overview-new .filter-panel-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.overview-new .filter-panel-close:hover {
  background: var(--color-error-light);
  color: var(--color-error);
}

.overview-new .filter-panel-close svg {
  width: 20px;
  height: 20px;
}

.overview-new .filter-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.overview-new .filter-search {
  margin-bottom: 24px;
}

.overview-new .filter-search-input {
  width: 100%;
  padding: 12px 16px;
  padding-left: 44px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.overview-new .filter-search-input:focus {
  background: var(--bg-card);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.overview-new .filter-search-input::placeholder {
  color: var(--text-muted);
}

.overview-new .filter-search-wrapper {
  position: relative;
}

.overview-new .filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.overview-new .filter-group {
  margin-bottom: 20px;
}

.overview-new .filter-group-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.overview-new .filter-select {
  width: 100%;
  padding: 12px 16px;
  padding-right: 40px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B5670' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.overview-new .filter-select:hover {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}

.overview-new .filter-select:focus {
  background-color: var(--bg-card);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.overview-new .filter-panel-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  gap: 12px;
}

.overview-new .filter-panel-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.overview-new .filter-panel-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.overview-new .filter-panel-btn.btn-primary {
  background: var(--color-primary-gradient);
  color: white;
  border: none;
}

.overview-new .filter-panel-btn.btn-primary:hover {
  opacity: 0.9;
}

.overview-new .filter-panel-btn svg {
  width: 16px;
  height: 16px;
}

/* ==================== TOOLBAR SECTION ==================== */
.overview-new .toolbar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.overview-new .toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.overview-new .toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.overview-new .toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.overview-new .toolbar-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.overview-new .toolbar-btn.btn-primary {
  background: var(--color-primary-gradient);
  color: white;
  border: none;
}

.overview-new .toolbar-btn.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.overview-new .toolbar-btn svg {
  width: 18px;
  height: 18px;
}

.overview-new .toolbar-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  border-radius: 10px;
}

.overview-new .toolbar-btn.btn-primary .filter-count {
  background: rgba(255, 255, 255, 0.3);
}

.overview-new .toolbar-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color);
}

.overview-new .toolbar-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.overview-new .toolbar-count strong {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .overview-new .toolbar-card {
    flex-direction: column;
    align-items: stretch;
  }
  .overview-new .toolbar-left,
  .overview-new .toolbar-right {
    justify-content: center;
  }
  .overview-new .toolbar-divider {
    display: none;
  }
}
@media (max-width: 480px) {
  .overview-new .filter-panel {
    width: 100%;
    right: -100%;
  }
  .overview-new .filter-panel-header {
    padding: 16px;
  }
  .overview-new .filter-panel-body {
    padding: 16px;
  }
  .overview-new .filter-panel-footer {
    padding: 12px 16px;
  }
  .overview-new .toolbar-btn {
    flex: 1;
    justify-content: center;
  }
}
/* ==================== DATE RANGE FILTER ==================== */
.overview-new .filter-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.overview-new .filter-date-group {
  display: flex;
  flex-direction: column;
}

.overview-new .filter-date-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.overview-new .filter-date-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  cursor: pointer;
}

.overview-new .filter-date-input:hover {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}

.overview-new .filter-date-input:focus {
  background-color: var(--bg-card);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.overview-new .filter-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.overview-new .filter-date-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Date range with connector */
.overview-new .filter-date-range {
  position: relative;
}

.overview-new .filter-date-range .date-connector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 0 4px;
  z-index: 1;
  display: none;
}

@media (max-width: 480px) {
  .overview-new .filter-date-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* ==================== FILTER BADGE & DOT INDICATOR ==================== */
.overview-new .toolbar-btn .filter-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.overview-new .toolbar-btn .filter-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  display: none;
  animation: pulse-dot 2s infinite;
}

.overview-new .toolbar-btn .filter-dot.active {
  display: inline-block;
}

.overview-new .toolbar-btn .filter-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  border-radius: 10px;
}

.overview-new .toolbar-btn .filter-count.active {
  display: inline-flex;
}

/* When button has primary style */
.overview-new .toolbar-btn.btn-primary .filter-dot {
  background: white;
}

.overview-new .toolbar-btn.btn-primary .filter-count {
  background: rgba(255, 255, 255, 0.3);
}

/* Active state for filter button */
.overview-new .toolbar-btn.has-filters {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}
/* ==========================================
   FORMFLOW MULTI-ENTRY "ADD MORE" STYLES
   ========================================== */
/* ---- Multi-Entry Container ---- */
.overview-new .multientry-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- Hidden utility (ensure it exists) ---- */
.overview-new .hidden,
.overview-new .form-group.hidden {
  display: none !important;
}

/* ---- Entry Card (shared base) ---- */
.overview-new .entry-card {
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color, #E5E1EB);
  background: var(--bg-card, #FFFFFF);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  animation: entrySlideIn 0.3s ease forwards;
}

/* ---- Active Entry Card — matches .page-card shadow ---- */
.overview-new .entry-card-active {
  border-color: var(--color-primary, #7c3aed);
  box-shadow: 0 0 0 3px var(--color-primary-light, #EDE9FE), var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.overview-new .entry-card-active:hover {
  border-color: var(--color-primary, #7c3aed);
}

/* ---- Collapsed Entry Card ---- */
.overview-new .entry-card-collapsed {
  cursor: pointer;
  background: var(--bg-card, #FFFFFF);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.overview-new .entry-card-collapsed:hover {
  border-color: var(--color-primary, #7c3aed);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

/* ---- Error State ---- */
.overview-new .entry-card-error {
  border-color: var(--color-error, #EF4444) !important;
  box-shadow: 0 0 0 3px var(--color-error-light, #FEE2E2), var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06)) !important;
}

.overview-new .entry-card-error .entry-card-header {
  background: var(--color-error-light, #FEE2E2);
}

/* ==========================================
   ENTRY CARD HEADER
   ========================================== */
.overview-new .entry-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
  min-height: 52px;
  user-select: none;
}

.overview-new .entry-card-header-active {
  background: var(--bg-secondary, #F3F0F7);
  border-bottom: 1px solid var(--border-color, #E5E1EB);
}

.overview-new .entry-card-header-collapsed {
  background: var(--bg-card, #FFFFFF);
  transition: background var(--transition-fast, 0.15s ease);
}

.overview-new .entry-card-collapsed:hover .entry-card-header-collapsed {
  background: var(--bg-secondary, #F3F0F7);
}

/* ---- Card Title ---- */
.overview-new .entry-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-size-sm, 13px);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #1A1625);
  flex: 1;
  min-width: 0;
}

.overview-new .entry-summary-inline {
  font-weight: var(--font-weight-normal, 400);
  color: var(--text-muted, #8E89A0);
  font-size: var(--font-size-xs, 11px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Entry Badge (number circle) ---- */
.overview-new .entry-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full, 9999px);
  background: var(--color-primary-gradient, linear-gradient(135deg, #a25cf6, #7c3aed, #4c1d95));
  color: var(--text-light, #FFFFFF);
  font-size: var(--font-size-xs, 11px);
  font-weight: var(--font-weight-bold, 700);
  flex-shrink: 0;
  line-height: 1;
}

.overview-new .entry-card-collapsed .entry-badge {
  background: var(--text-muted, #8E89A0);
}

.overview-new .entry-card-error .entry-badge {
  background: var(--color-error, #EF4444);
}

/* ---- Error Badge text ---- */
.overview-new .entry-error-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-full, 9999px);
  background: var(--color-error-light, #FEE2E2);
  color: var(--color-error, #EF4444);
  font-size: var(--font-size-xs, 11px);
  font-weight: var(--font-weight-semibold, 600);
  flex-shrink: 0;
}

/* ---- Card Actions ---- */
.overview-new .entry-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.overview-new .entry-expand-icon {
  color: var(--text-muted, #8E89A0);
  transition: transform var(--transition-base, 0.25s ease), color var(--transition-fast, 0.15s ease);
  flex-shrink: 0;
}

.overview-new .entry-card-collapsed:hover .entry-expand-icon {
  color: var(--color-primary, #7c3aed);
}

/* ---- Delete Button ---- */
.overview-new .entry-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--radius-sm, 6px);
  background: transparent;
  color: var(--text-muted, #8E89A0);
  cursor: pointer;
  transition: background var(--transition-fast, 0.15s ease), color var(--transition-fast, 0.15s ease);
  padding: 0;
}

.overview-new .entry-delete-btn:hover {
  background: var(--color-error-light, #FEE2E2);
  color: var(--color-error, #EF4444);
}

/* ==========================================
   ENTRY CARD BODY — THEME-INTACT FORM
   Only outer shell removed; padding + internal
   styles preserved from .page-card
   ========================================== */
.overview-new .entry-card-body {
  padding: 0;
}

.overview-new .entry-card-body .page-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  /* padding, page-header, form-group, inputs — all KEPT */
}

/* ==========================================
   COLLAPSED ENTRY — SUMMARY CARD
   ========================================== */
.overview-new .entry-card-summary {
  padding: 0 20px 14px 20px;
}

.overview-new .entry-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px 16px;
}

.overview-new .entry-summary-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.overview-new .entry-summary-label {
  font-size: var(--font-size-xs, 11px);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-muted, #8E89A0);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.overview-new .entry-summary-value {
  font-size: var(--font-size-sm, 13px);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #1A1625);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-new .entry-summary-empty {
  font-size: var(--font-size-sm, 13px);
  color: var(--text-muted, #8E89A0);
  font-style: italic;
}

/* ==========================================
   ADD MORE BUTTON
   ========================================== */
.overview-new .add-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  border: 2px dashed var(--border-color, #E5E1EB);
  border-radius: var(--radius-lg, 16px);
  background: transparent;
  color: var(--text-muted, #8E89A0);
  font-size: var(--font-size-sm, 13px);
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  transition: all var(--transition-base, 0.25s ease);
  font-family: inherit;
}

.overview-new .add-more-btn:hover {
  border-color: var(--color-primary, #7c3aed);
  color: var(--color-primary, #7c3aed);
  background: var(--color-primary-light, #EDE9FE);
}

.overview-new .add-more-btn:active {
  transform: scale(0.98);
}

.overview-new .add-more-btn svg {
  transition: transform var(--transition-fast, 0.15s ease);
}

.overview-new .add-more-btn:hover svg {
  transform: rotate(90deg);
}

/* ==========================================
   FIELD-LEVEL MULTI-ENTRY: GROUP SECTIONS
   ========================================== */
/* Group section wrapper */
.overview-new .entry-group-section {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid var(--border-color, #E5E1EB);
  position: relative;
}

.overview-new .entry-group-section:last-child {
  margin-bottom: 0;
}

/* Independent field area — subtle styling */
.overview-new .entry-group-independent {
  margin-bottom: 12px;
}

.overview-new .entry-group-independent .form-group {
  margin-bottom: 8px;
}

/* Dependent entry list */
.overview-new .entry-group-dependent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

/* Dependent entry card — base */
.overview-new .dep-entry-card {
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--border-color, #E5E1EB);
  overflow: hidden;
  transition: all var(--transition-base, 0.25s ease);
  animation: entrySlideIn 0.3s ease both;
}

/* Active dependent card */
.overview-new .dep-entry-card-active {
  border-color: var(--color-primary, #7c3aed);
  background: var(--bg-card, #fff);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Collapsed dependent card */
.overview-new .dep-entry-card-collapsed {
  background: var(--bg-secondary, #FAF9FC);
  cursor: pointer;
}

.overview-new .dep-entry-card-collapsed:hover {
  background: var(--bg-card, #fff);
  border-color: var(--color-primary, #7c3aed);
}

/* Dependent card header */
.overview-new .dep-entry-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: var(--font-size-sm, 13px);
}

.overview-new .dep-entry-card-active .dep-entry-card-header {
  border-bottom: 1px solid var(--border-color, #E5E1EB);
  background: var(--bg-secondary, #FAF9FC);
}

/* Dependent badge */
.overview-new .dep-entry-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.overview-new .dep-entry-card-active .dep-entry-badge {
  background: linear-gradient(135deg, var(--color-primary, #7c3aed), var(--color-primary-dark, #6d28d9));
  color: #fff;
}

.overview-new .dep-entry-card-collapsed .dep-entry-badge {
  background: var(--border-color, #E5E1EB);
  color: var(--text-secondary, #6B6880);
}

/* Dependent summary text */
.overview-new .dep-entry-summary-text {
  flex: 1;
  color: var(--text-secondary, #6B6880);
  font-size: var(--font-size-sm, 13px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dependent card body (fields) */
.overview-new .dep-entry-card-body {
  padding: 16px 12px;
}

.overview-new .dep-entry-card-body .form-group {
  margin-bottom: 16px;
}

.overview-new .dep-entry-card-body .form-group:last-child {
  margin-bottom: 0;
}

/* Dependent delete button */
.overview-new .dep-entry-delete-btn {
  background: none;
  border: none;
  color: var(--text-muted, #8E89A0);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all var(--transition-fast, 0.15s ease);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.overview-new .dep-entry-delete-btn:hover {
  color: var(--error, #ef4444);
  background: rgba(239, 68, 68, 0.1);
}

/* Dependent expand icon */
.overview-new .dep-entry-expand-icon {
  color: var(--text-muted, #8E89A0);
  transition: transform var(--transition-fast, 0.15s ease);
  flex-shrink: 0;
}

.overview-new .dep-entry-card-collapsed:hover .dep-entry-expand-icon {
  color: var(--color-primary, #7c3aed);
}

/* Per-group Add More button — slightly smaller than the page-level one */
.overview-new .group-add-more-btn {
  padding: 10px 16px;
  font-size: 12px;
  border-width: 1.5px;
  margin-top: 4px;
}

.overview-new .group-add-more-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================
   ANIMATION
   ========================================== */
@keyframes entrySlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.overview-new .entry-card:nth-child(1) {
  animation-delay: 0s;
}

.overview-new .entry-card:nth-child(2) {
  animation-delay: 0.05s;
}

.overview-new .entry-card:nth-child(3) {
  animation-delay: 0.1s;
}

.overview-new .entry-card:nth-child(4) {
  animation-delay: 0.15s;
}

.overview-new .entry-card:nth-child(5) {
  animation-delay: 0.2s;
}

/* ==========================================
   RESPONSIVE — TABLET (768px)
   ========================================== */
@media (max-width: 768px) {
  .overview-new .multientry-container {
    gap: 12px;
  }
  .overview-new .entry-card {
    border-radius: var(--radius-md, 10px);
  }
  .overview-new .entry-card-header {
    padding: 12px 16px;
  }
  .overview-new .entry-card-summary {
    padding: 0 16px 12px 16px;
  }
  .overview-new .entry-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
  }
  .overview-new .entry-card-title {
    font-size: 12px;
  }
  .overview-new .entry-badge {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .overview-new .entry-delete-btn {
    width: 28px;
    height: 28px;
  }
  .overview-new .entry-error-badge {
    font-size: 10px;
    padding: 2px 8px;
  }
  .overview-new .add-more-btn {
    padding: 14px 16px;
    font-size: 12px;
    border-radius: var(--radius-md, 10px);
  }
}
/* ==========================================
   RESPONSIVE — SMALL MOBILE (480px)
   ========================================== */
@media (max-width: 480px) {
  .overview-new .multientry-container {
    gap: 10px;
  }
  .overview-new .entry-card-header {
    padding: 10px 12px;
    gap: 8px;
  }
  .overview-new .entry-card-summary {
    padding: 0 12px 10px 12px;
  }
  .overview-new .entry-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }
  .overview-new .entry-summary-label {
    font-size: 9px;
  }
  .overview-new .entry-summary-value {
    font-size: 11px;
  }
  .overview-new .entry-card-title {
    font-size: 11px;
    gap: 8px;
  }
  .overview-new .entry-summary-inline {
    display: none;
  }
  .overview-new .entry-badge {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
  .overview-new .add-more-btn {
    padding: 12px 14px;
    font-size: 11px;
  }
  .overview-new .entry-delete-btn {
    width: 26px;
    height: 26px;
  }
  .overview-new .entry-expand-icon {
    width: 16px;
    height: 16px;
  }
}
/* ==========================================
   RESPONSIVE — EXTRA SMALL (360px)
   ========================================== */
@media (max-width: 360px) {
  .overview-new .entry-summary-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .overview-new .entry-summary-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
  }
  .overview-new .entry-summary-label {
    flex-shrink: 0;
    width: 35%;
  }
  .overview-new .entry-summary-value {
    text-align: right;
    flex: 1;
  }
}
/* ==========================================
   LANDSCAPE MOBILE
   ========================================== */
@media (max-width: 768px) and (orientation: landscape) {
  .overview-new .entry-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ==========================================
   GOOGLE PLACES AUTOCOMPLETE STYLES
   Minimal — uses Google's default theme
   ========================================== */
.overview-new .location-autocomplete-container {
  flex: 1;
  min-width: 0;
}

.overview-new .location-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.overview-new .location-autocomplete-container gmp-place-autocomplete {
  width: 100%;
  display: block;
  color-scheme: light;
}

/* Fallback plain input (when autocomplete is unavailable) */
.overview-new .location-autocomplete-container .form-input {
  background: var(--bg-secondary, #F3F0F7);
  border: 2px solid transparent;
  border-radius: var(--radius-md, 10px);
}

.overview-new .location-autocomplete-container .form-input:hover {
  background: var(--bg-primary, #FAFAFA);
  border-color: var(--border-color, #E5E1EB);
}

.overview-new .location-autocomplete-container .form-input:focus {
  background: var(--bg-card, #FFFFFF);
  border-color: var(--color-primary, #7c3aed);
  box-shadow: 0 0 0 4px var(--color-primary-light, #EDE9FE);
}

.modal-content .modal-body {
  max-height: 600px;
  overflow-y: auto;
}

/*# sourceMappingURL=overview-new.css.map */
