@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  /* ==========================================================================
     Fixoleads logo palette: navy #00255A, steel #3679A3, cyan #1EA7CB,
     coral #FF6064, orange #FE9E38
     ========================================================================== */
  --brand-navy: #00255A;
  --brand-steel: #3679A3;
  --brand-cyan: #1EA7CB;
  --brand-coral: #FF6064;
  --brand-orange: #FE9E38;

  --primary: var(--brand-coral);
  --primary-dark: #E65358;
  --secondary: #334155;
  --accent: var(--brand-coral);

  --theme-primary: var(--brand-coral);
  --theme-primary-hover: #E65358;
  --theme-primary-light: #FFF5F5;
  --theme-primary-subtle: #FFF0F0;
  --theme-primary-border: #FFE0E1;
  --theme-gradient: var(--brand-coral);
  --theme-gradient-hover: var(--theme-primary-hover);
  --theme-primary-shadow: rgba(15, 23, 42, 0.04);
  --theme-primary-shadow-hover: rgba(15, 23, 42, 0.08);
  --theme-accent: var(--brand-coral);

  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #4A8AB3;
  --theme-danger: var(--danger);
  --theme-danger-light: #FEF2F2;
  --theme-info: var(--info);
  --theme-info-light: #F1F5F9;
  --theme-success: var(--success);
  --theme-success-light: #ECFDF5;
  --theme-warning: var(--warning);
  --theme-warning-light: #FFFBEB;

  /* ==========================================================================
     Top Navigation – logo coral (the "F" in Fixoleads #FF6064)
     ========================================================================== */
  --header-bg: #FF6064;
  --theme-header-bg: #FF6064;
  --theme-header-border: rgba(255, 255, 255, 0.14);
  --theme-header-text: #FFFFFF;
  --theme-header-sub: #E4EEF6;
  --theme-header-accent: #E4EEF6;

  --sidebar-bg: #FFFFFF;
  --sidebar-hover: #F8FAFC;
  --sidebar-active: #FFF0F0;
  --theme-sidebar-bg: var(--sidebar-bg);
  --theme-sidebar-border: #E2E8F0;
  --theme-sidebar-text: #334155;
  --theme-sidebar-icon: #94A3B8;
  --theme-sidebar-text-hover: #334155;
  --theme-sidebar-active-bg: var(--sidebar-active);
  --theme-sidebar-active-text: var(--brand-coral);
  --theme-sidebar-active-accent: var(--brand-coral);

  --dashboard-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --card-border: #EEF2F7;
  --card-radius: 12px;
  --card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --border-color: #E2E8F0;

  --chart-primary: var(--brand-coral);
  --chart-secondary: #FF8A8C;
  --chart-fill: rgba(255, 96, 100, 0.08);
  --chart-track: #F1F5F9;
  --chart-gradient: linear-gradient(135deg, #FF6064 0%, #FF8A8C 100%);
  --brand-gradient: var(--brand-coral);
}

/* Central Classes Preserved from Base Theme Reference (Lurion Structure) */
.tchLogin {
  background: url("assets/images/login-bg-hd.png") no-repeat fixed center center / cover;
  min-height: 100vh;
}

.breadcrumbheader {
  background: var(--theme-primary, #FF6064) !important;
  color: #ffffff !important;
  padding: 8px;
  padding-left: 40px;
  position: fixed !important;
  top: 0px;
  left: 0px;
  z-index: 999;
  width: 100%;
}

.breadcrumbheader a {
  color: #ffffff !important;
  padding-right: 5px;
}

.breadcrumbheaderdialog {
  background: var(--theme-primary, #FF6064) !important;
  color: #ffffff !important;
  z-index: 999;
  width: 100%;
}

.breadcrumbheaderdialog a {
  color: #ffffff !important;
  padding: 10px !important;
  vertical-align: middle;
  position: relative;
}

.msg-close,
.refresh {
  color: #0F2A4A !important;
}

.refresh {
  color: #0F2A4A !important;
  font-size: 15px;
  padding: 0px 8px;
  cursor: pointer;
}

.icon-bar a {
  font-family: 'Inter', 'Open Sans', sans-serif !important;
  text-transform: uppercase;
  text-align: center;
  font-size: 15px;
  color: #0F2A4A !important;
}

/* Angular Material base theme (indigo-pink) overrides */
.mat-checkbox-checked.mat-accent .mat-checkbox-background,
.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {
  background-color: var(--theme-primary, #FF6064) !important;
}

.mat-checkbox.mat-accent .mat-checkbox-ripple .mat-ripple-element {
  background-color: rgba(255, 96, 100, 0.2) !important;
}

/* SweetAlert2 confirm buttons that use the library default (#3085d6) */
.swal2-popup .swal2-confirm[style*="rgb(48, 133, 214)"] {
  background-color: var(--theme-primary, #FF6064) !important;
}

.swal2-popup .swal2-styled:focus {
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px rgba(255, 96, 100, 0.45) !important;
}