.DateRangePicker {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.DateInput.DateInput_1 {
    width: 120px;
}

.DateRangePicker_picker_1 {
    z-index: 100;
}

.DateInput_input__focused {
    border-bottom: 2px solid #475ddc;
}

.CalendarDay__hovered_span {
    background-color: rgba(71, 93, 220, 0.25);
    border-color: rgba(71, 93, 220, 0.25);
    color: #000;
}

.CalendarDay__hovered_span:hover {
    background-color: rgba(71, 93, 220, 0.35);
    border-color: rgba(71, 93, 220, 0.35);
    color: #000;
}

.CalendarDay__selected_span {
    background: #94A1EF;
    border: 1px double #94A1EF;
    color: #fff;
}

.CalendarDay__selected_span:hover {
    background: #697AE5;
    border: 1px double #697AE5;
    color: #fff;
}

.CalendarDay__selected,
.CalendarDay__selected:active,
.CalendarDay__selected:hover {
    background: #253DD2;
    border: 1px double #253DD2;
    color: #fff;
}

.CalendarDay__selected_start {
    background: #253DD2;
    border: 1px double #253DD2;
    color: #fff;
}

.CalendarMonth_table {
    margin-top: 5px;
}

.msts {
	-webkit-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	cursor: default;
}

.msts_disabled {
}

.msts__heading {
	display: flex;
}

.msts__subheading {
	display: flex;
}

.msts__body {
	display: flex;
}

.msts__footer {
	display: flex;
}

.msts__side {
	width: 50%;
}

.msts__side_available {
}

.msts__side_selected {
}

.msts__side_controls {
	width: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.msts__list {
	padding: 0;
	margin: 0;
}

.msts__list-item {
	list-style-type: none;
	cursor: pointer;
}

.msts__list-item_disabled {
	cursor: default;
}

.msts__list-item_highlighted {
}

.msts__control {
}

.msts__control_select-all {
}

.msts__control_deselect-all {
}

.msts__filter-input {
}

/* Example theme */
.msts_theme_example {
	border: 1px solid silver;
}
.msts_theme_example .msts__heading .msts__side {
			padding: 5px;
			text-align: center;
			color: #fff;
			font-weight: bold;
		}
.msts_theme_example .msts__heading .msts__side_available {
			background-color: #9b59b6;
		}
.msts_theme_example .msts__heading .msts__side_selected {
			background-color: #2ecc71;
		}
.msts_theme_example .msts__subheading .msts__side_filter {
			padding: 5px;
		}
.msts_theme_example .msts__footer .msts__side {
			padding: 5px 15px;
			background-color: #ecf0f1;
			font-size: 0.75em;
			color: #7f8c8d;
			text-align: right;
		}
.msts_theme_example .msts__list {
		height: 140px;
		overflow-y: auto;
		overflow-x: hidden;
	}
.msts_theme_example .msts__list-item {
		padding: 5px 10px;
		transition: background-color ease-in 0.1s, color ease-in 0.1s
	}
.msts_theme_example .msts__list-item:hover {
			background-color: #2980b9;
			color: #fff;
		}
.msts_theme_example .msts__list-item_disabled {
			background-color: #ecf0f1;
			color: #7f8c8d
		}
.msts_theme_example .msts__list-item_disabled:hover {
				background-color: #ecf0f1;
				color: #7f8c8d;
			}
.msts_theme_example .msts__list-item_highlighted {
			background-color: rgba(41, 128, 185, 0.25);
		}
.msts_theme_example .msts__control {
		border: none;
		background: none;
		cursor: pointer;
		padding: 10px 3px;
		color: #bdc3c7;
		transition: color ease 0.15s
	}
.msts_theme_example .msts__control:hover {
			color: #95a5a6;
		}
.msts_theme_example .msts__control[disabled] {
			color: #ecf0f1;
		}
.msts_theme_example .msts__control_select-all:after {
			content: '❯';
		}
.msts_theme_example .msts__control_deselect-all:after {
			content: '❮';
		}
.msts_theme_example .msts__filter {
		position: relative;
	}
.msts_theme_example .msts__filter-input {
		width: 100%;
		box-sizing: border-box;
		padding: 5px;
		border: 1px solid silver;
	}
.msts_theme_example .msts__filter-clear {
		cursor: pointer;
		position: absolute;
		top: 0;
		right: 0;
		height: 100%;
		padding: 0 10px;
		font-size: 1.25em;
		color: silver;
		transition: color ease 0.15s
	}
.msts_theme_example .msts__filter-clear:after {
			content: '×';
			vertical-align: middle;
		}
.msts_theme_example .msts__filter-clear:hover {
			color: #c0392b;
		}

.msts_theme_example.msts_disabled {
	background-color: #ecf0f1;
}


/* SHARED */

.axis path,
.axis line {
    fill: none;
    stroke: grey;
    stroke-width: 1;
    shape-rendering: crispEdges;
}

/* PR PLOT & ROC PLOT */

.line {
    stroke-width: 1;
    fill: none;
}

.luck {
    stroke: red;
    stroke-width: 0.5;
    fill: none;
}

.mean {
    stroke: blue;
    stroke-width: 3;
    fill: none;
}

.upper, .lower {
    stroke: black;
    stroke-width: 0.5;
    fill: none;
}

.between {
  fill: #D3D3D3;
  opacity: 0.5;
}


/* PROBS PLOT */

.bar rect {
  shape-rendering: crispEdges;
}

.bar text {
  fill: #999999;
}

div.tooltip {
    position: absolute;
    text-align: center;
    width: 60px;
    height: 28px;
    padding: 2px;
    background: lightsteelblue;
    border: 0px;
    pointer-events: none;
    font: 10px sans-serif;
}

/* CDF PLOT */

.cdf {
    stroke: steelblue;
    fill: none;
}

.featureplot {
  font: 10px sans-serif; 
}
.bar rect {
  shape-rendering: crispEdges;
}

.bar text {
  fill: #999999;
}

.axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}



.corr-tooltip {
  position: absolute;
  font-size: .8em;
  text-align: left;
  text-shadow: -1px -1px 1px #ffffff, -1px 0px 1px #ffffff, -1px 1px 1px #ffffff, 0px -1px 1px #ffffff, 0px 1px 1px #ffffff, 1px -1px 1px #ffffff, 1px 0px 1px #ffffff, 1px 1px 1px #ffffff;
}


#googleLogin {
  width: 100%;
  border: none;
  margin-top: 10px;
  padding: 0;
  cursor: pointer;
}

#googleLogin > div {
  margin: 0 auto;
}

.abcRioButton {
  width: "100%";
}

/* Navbar Badge Styles */
.nav-item-badge {
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  background-color: #8B5CF6;
  color: #FFFFFF;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  top: -2px;
}

/* Icon Transform Styles */
.nav-icon-rotate-90 {
  transform: rotate(90deg);
}

.nav-icon-rotate-neg-90 {
  transform: rotate(-90deg);
}

/* Saved Reports Menu Styles */
.nav-saved-reports-container {
  width: 850px;
  font-size: 14px;
}

.nav-saved-reports-header {
  padding-bottom: 5px;
  border-bottom: 1px solid grey;
  margin: 0 0 15px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
}

.nav-saved-reports-row {
  padding-bottom: 5px;
}

.nav-saved-reports-icon {
  width: 20px;
  margin-right: 5px;
}

.nav-saved-reports-link-content {
  display: flex;
  align-items: center;
  grid-gap: 5px;
  gap: 5px;
}

.nav-saved-reports-link-text {
  width: 100%;
}

.nav-saved-reports-footer {
  cursor: pointer;
  padding-top: 30px;
}

/* Beta Menu Icon */
.nav-beta-icon {
  color: #BFC6F3;
  margin-right: 5px;
}


/* CrossChannelV2 Component Styles */

.cross-channel-v2-container {
  padding: 24px;
}

.cross-channel-v2-title {
  margin-bottom: 16px;
}

.cross-channel-v2-title .alpha-badge {
  margin-left: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background-color: #8B5CF6;
  color: #FFFFFF;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.cross-channel-v2-description {
  margin-bottom: 24px;
}

.cross-channel-v2-filters-container {
  display: flex;
  align-items: flex-end;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cross-channel-v2-filters-container > * {
  flex: 0 0 auto;
  min-width: 200px;
}

.cross-channel-v2-filters-container .ui.dropdown {
  min-width: 200px !important;
}

.cross-channel-v2-totals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.cross-channel-v2-total-item {
  background: #FAFBFF;
  border: 1px solid #BFC7F9;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cross-channel-v2-total-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.cross-channel-v2-total-item-selected {
  border-color: #4D5ECA;
  box-shadow: 0 4px 12px rgba(77, 94, 202, 0.2);
  background: linear-gradient(135deg, #f8f9ff, #FAFBFF);
}

.cross-channel-v2-total-item-loading {
  pointer-events: none;
  opacity: 0.7;
}

.cross-channel-v2-total-item .cross-channel-v2-total-title,
.cross-channel-v2-total-item .cross-channel-v2-total-value {
  color: #4D5ECA;
}

.cross-channel-v2-total-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cross-channel-v2-total-value {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
}

.cross-channel-v2-total-delta {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 4px;
  gap: 4px;
}

.cross-channel-v2-total-delta-positive {
  color: #10b981;
}

.cross-channel-v2-total-delta-negative {
  color: #ef4444;
}

.cross-channel-v2-total-delta-neutral {
  color: #000000;
}

/* Skeleton Loading Styles */
.cross-channel-v2-total-skeleton {
  margin-top: 8px;
}

.cross-channel-v2-skeleton-line {
  height: 28px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: cross-channel-v2-skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
  width: 80%;
}

@keyframes cross-channel-v2-skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.cross-channel-v2-error {
  color: red;
}


.cross-channel-v2-chart-controls {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  grid-gap: 10px;
  gap: 10px;
}

.cross-channel-v2-chart-instruction {
  color: #666;
  font-size: 14px;
  margin: 0;
  font-style: italic;
}

/* Model selector styles */
.cross-channel-v2-model-selector {
  margin-bottom: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.cross-channel-v2-model-selector-label {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 8px;
}

.cross-channel-v2-model-selector-dropdown {
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  color: #333;
  transition: border-color 0.2s ease;
}

.cross-channel-v2-model-selector-dropdown:focus {
  outline: none;
  border-color: #4D5ECA;
  box-shadow: 0 0 0 2px rgba(77, 94, 202, 0.2);
}

.cross-channel-v2-model-selector-dropdown:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}



.cross-channel-v2-chart-container {
  margin-top: 20px;
  position: relative;
  min-height: 480px;
}

/* Responsive design for smaller screens */
@media (max-width: 1200px) {
  .cross-channel-v2-totals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cross-channel-v2-totals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cross-channel-v2-totals-grid {
    grid-template-columns: 1fr;
  }

  .cross-channel-v2-total-item {
    min-height: 100px;
    padding: 16px;
  }

  .cross-channel-v2-total-value {
    font-size: 20px;
  }
}

/* Table Styles */
.cross-channel-v2-table-wrapper {
  position: relative;
  min-height: 400px;
}

.cross-channel-v2-table-container {
  overflow-x: auto;
  margin-top: 16px;
}

.cross-channel-v2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
}

.cross-channel-v2-table th,
.cross-channel-v2-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.cross-channel-v2-table th {
  text-align: right;
}

.cross-channel-v2-table th:first-child {
  text-align: left;
}

.cross-channel-v2-table td {
  text-align: right;
}

.cross-channel-v2-table td.cross-channel-v2-tier-name {
  text-align: left;
}

.cross-channel-v2-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #d0d0d0;
  white-space: nowrap;
}

.cross-channel-v2-table tbody tr:hover {
  background-color: #f9f9f9;
}

.cross-channel-v2-tier-name {
  font-weight: 500;
  color: #333;
  padding: 12px 16px 12px 0 !important;
  text-align: left;
}

.cross-channel-v2-tier-color-bar {
  width: 8px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cross-channel-v2-metric-value {
  /* font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; */
  text-align: right;
  color: #555;
}

.cross-channel-v2-percentage-value {
  font-style: italic;
  color: #777;
}

.cross-channel-v2-metric-value-compare {
  padding: 12px 16px;
}

.cross-channel-v2-compare-value-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  grid-gap: 8px;
  gap: 8px;
}

.cross-channel-v2-compare-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  grid-gap: 2px;
  gap: 2px;
}

.cross-channel-v2-compare-current {
  font-size: 1em;
  font-weight: 600;
  color: #333;
}

.cross-channel-v2-compare-previous {
  font-size: 1em;
  font-weight: 400;
  color: #475ddc;
}

.cross-channel-v2-compare-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 600;
  white-space: nowrap;
  min-width: 45px;
  text-align: center;
}

.cross-channel-v2-table tbody tr:last-child td {
  border-bottom: none;
}

/* Sortable Header Styles */
.cross-channel-v2-sortable-header {
  cursor: pointer;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: relative;
  transition: background-color 0.2s ease;
}

.cross-channel-v2-sort-icon {
  margin-left: 5px;
}

.cross-channel-v2-sortable-header:hover {
  background-color: #e8e8e8;
}

/* Compare Dates Styles */
.cross-channel-v2-compare-dates {
  color: #005399;
  font-size: 0.9em;
  padding-left: 64px;
  margin-top: 2px;
  text-align: left;
  white-space: nowrap;
  font-weight: 400;
}

/* Expandable Row Styles */
.cross-channel-v2-clickable-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cross-channel-v2-clickable-row.cross-channel-v2-non-clickable {
  cursor: default;
}

.cross-channel-v2-clickable-row:hover {
  background-color: #f0f8ff !important;
}

.cross-channel-v2-expand-icon {
  margin-right: 8px;
  font-size: 1em;
  color: #666;
  width: 16px;
  display: inline-block;
  text-align: center;
}


/* Tier Level Styles */
.cross-channel-v2-tier-indent {
  margin-right: 8px;
  color: #999;
  font-size: 1em;
  display: inline-block;
  min-width: 20px;
}

/* Tier container indentation */
.cross-channel-v2-tier-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-gap: 8px;
  gap: 8px;
  padding-left: 16px;
  text-align: left;
}

.cross-channel-v2-tier-value {
  text-align: left;
  font-size: 1.1em;
  white-space: nowrap;
}

.cross-channel-v2-tier-1-container {
  margin-left: 0px;
}

.cross-channel-v2-tier-2-container {
  margin-left: 20px;
}

.cross-channel-v2-tier-3-container {
  margin-left: 40px;
}

.cross-channel-v2-tier-4-container {
  margin-left: 60px;
}

.cross-channel-v2-tier-5-container {
  margin-left: 80px;
}

/* Specific indentation for each tier level */
.cross-channel-v2-tier-1-indent {
  margin-left: 0px;
}

.cross-channel-v2-tier-2-indent {
  margin-left: 0px;
}

.cross-channel-v2-tier-3-indent {
  margin-left: 0px;
}

.cross-channel-v2-tier-4-indent {
  margin-left: 0px;
}

.cross-channel-v2-tier-5-indent {
  margin-left: 0px;
}

/* Empty state row */
.cross-channel-v2-empty-row {
  background-color: #fafafa;
}

.cross-channel-v2-empty-message {
  padding: 16px;
  padding-left: 32px;
  color: #999;
  font-style: italic;
  text-align: left !important;
}

/* Empty message indentation per tier level */
.cross-channel-v2-empty-message.cross-channel-v2-tier-1-indent {
  padding-left: 32px;
}

.cross-channel-v2-empty-message.cross-channel-v2-tier-2-indent {
  padding-left: 52px;
}

.cross-channel-v2-empty-message.cross-channel-v2-tier-3-indent {
  padding-left: 72px;
}

.cross-channel-v2-empty-message.cross-channel-v2-tier-4-indent {
  padding-left: 92px;
}

.cross-channel-v2-empty-message.cross-channel-v2-tier-5-indent {
  padding-left: 112px;
}

.cross-channel-v2-tier-1 {
  background-color: #fff;
}

.cross-channel-v2-tier-2 {
  background-color: #fafafa;
}

.cross-channel-v2-tier-3 {
  background-color: #f5f5f5;
}

.cross-channel-v2-tier-4 {
  background-color: #f0f0f0;
}

.cross-channel-v2-tier-5 {
  background-color: #ebebeb;
}

.cross-channel-v2-tier-1:hover {
  background-color: #f0f8ff !important;
}

.cross-channel-v2-tier-2:hover {
  background-color: #e8f4f8 !important;
}

.cross-channel-v2-tier-3:hover {
  background-color: #e0f0f0 !important;
}

.cross-channel-v2-tier-4:hover {
  background-color: #d8e8e8 !important;
}

.cross-channel-v2-tier-5:hover {
  background-color: #d0e0e0 !important;
}

/* Loading Row Styles */
.cross-channel-v2-loading-row {
  background-color: #f8f9fa;
  opacity: 0.8;
}

.cross-channel-v2-loader {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  color: #666;
  font-style: italic;
}

.cross-channel-v2-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e0e0e0;
  border-top: 2px solid #4D5ECA;
  border-radius: 50%;
  animation: cross-channel-v2-spin 1s linear infinite;
}

@keyframes cross-channel-v2-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Summary Row Styles */
.cross-channel-v2-summary-row {
  background-color: #f8f9fa;
  border-top: 2px solid #dee2e6;
  font-weight: 600;
}

.cross-channel-v2-summary-row:hover {
  background-color: #e9ecef !important;
}

.cross-channel-v2-summary-container {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  padding-left: 12px;
}


.cross-channel-v2-summary-label {
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1em;
}

.cross-channel-v2-summary-value {
  font-weight: 600;
  color: #212529;
}

/* Tier Filters Styling */
.cross-channel-v2-tier-filters-container {
  margin: 24px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  max-width: 850px;
}

.cross-channel-v2-tier-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cross-channel-v2-search-container {
  position: relative;
  margin-bottom: 16px;
}

.cross-channel-v2-search-form {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  max-width: 600px;
}

.cross-channel-v2-search-input-wrapper {
  flex: 1 1;
  position: relative;
}

.cross-channel-v2-search-input {
  width: 100%;
  padding: 10px 36px 10px 12px;
  font-size: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.cross-channel-v2-search-input:focus {
  outline: none;
  border-color: #4D5ECA;
  box-shadow: 0 0 0 3px rgba(77, 94, 202, 0.1);
}

.cross-channel-v2-search-input:-ms-input-placeholder {
  color: #adb5bd;
  font-style: italic;
}

.cross-channel-v2-search-input::placeholder {
  color: #adb5bd;
  font-style: italic;
}

.cross-channel-v2-search-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  color: #999;
  border-color: #e0e0e0;
}

.cross-channel-v2-search-input:disabled:-ms-input-placeholder {
  color: #999;
}

.cross-channel-v2-search-input:disabled::placeholder {
  color: #999;
}

.cross-channel-v2-search-submit-button {
  padding: 10px 16px;
  background-color: #4D5ECA;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.cross-channel-v2-search-submit-button:hover:not(:disabled) {
  background-color: #3449c7;
}

.cross-channel-v2-search-submit-button:disabled {
  background-color: #E0E1E2;
  cursor: not-allowed;
  color: #6c757d;
}

.cross-channel-v2-search-clear-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 24px;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  line-height: 1;
  z-index: 1;
}

.cross-channel-v2-search-clear-button:hover {
  color: #495057;
}

.cross-channel-v2-search-disabled-message {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 13px;
  color: #dc3545;
  font-style: italic;
}

.cross-channel-v2-filters-disabled-message {
  padding: 10px 12px;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #856404;
  font-size: 13px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .cross-channel-v2-search-form {
    max-width: 100%;
  }
}

.cross-channel-v2-tier-filters-container h3 {
  margin: 0;
  color: #495057;
  font-size: 16px;
  font-weight: 600;
}

.cross-channel-v2-toggle-header {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  color: #495057;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
  font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.cross-channel-v2-toggle-header:hover {
  color: #4D5ECA;
}

.cross-channel-v2-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 12px;
  color: #6c757d;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cross-channel-v2-toggle-header:hover .cross-channel-v2-toggle-icon {
  color: #4D5ECA;
}

.cross-channel-v2-toggle-text {
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.cross-channel-v2-clear-all-button {
  padding: 8px 16px;
  background-color: #475DDD;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.cross-channel-v2-clear-all-button:hover:not(:disabled) {
  background-color: #4D5ECA;
}

.cross-channel-v2-clear-all-button:disabled {
  background-color: #E0E1E2;
  cursor: not-allowed;
  opacity: 0.6;
  color: #6c757d;
}

.cross-channel-v2-tier-filters-grid {
  display: flex;
  flex-direction: column;
  grid-gap: 16px;
  gap: 16px;
  flex: 1 1;
  min-width: 0;
}

.cross-channel-v2-tier-filter-row {
  display: flex;
  align-items: flex-end;
  grid-gap: 12px;
  gap: 12px;
}

.cross-channel-v2-tier-filter-row .ui.dropdown {
  flex: 0 0 auto;
  width: 600px !important;
  max-width: 600px !important;
  min-width: 600px !important;
}

/* Hide the X button on individual selected values */
.cross-channel-v2-tier-filter-row .ui.multiple.dropdown > .label > .delete.icon {
  display: none !important;
}

.cross-channel-v2-clear-filter-button {
  padding: 11px 16px;
  background-color: #E0E1E2;
  color: #6c757d;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  margin-top: -2px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.cross-channel-v2-clear-filter-button:hover {
  background-color: #CACBCD;
  color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, 0.15) inset;
}

.cross-channel-v2-clear-filter-button:disabled {
  background-color: #E0E1E2;
  cursor: not-allowed;
  opacity: 0.45;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown .text {
  color: #6c757d;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown .text.placeholder {
  color: #adb5bd;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown.loading {
  opacity: 0.8;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown.loading .text {
  color: #6c757d;
  font-style: italic;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown.loading .dropdown.icon {
  display: none;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown.loading .menu {
  display: none !important;
}

.cross-channel-v2-tier-filters-grid .ui.dropdown.loading.active .menu {
  display: none !important;
}

/* Loading Overlay */
.cross-channel-v2-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.cross-channel-v2-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cross-channel-v2-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cross-channel-v2-loading-spinner p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.cross-channel-v2-chart-container {
  position: relative;
}

.cross-channel-v2-data-section {
  position: relative;
}

.cross-channel-v2-table-container {
  position: relative;
}

.cross-channel-v2-cumulative-toggle label {
  font-size: 16px !important;
  font-weight: bold !important;
}

.cross-channel-v2-cumulative-toggle-container {
  display: flex;
  align-items: center;
  margin: 10px;
  padding-left: 5px;
}

.cross-channel-v2-note-message {
  background: #f5f6f8;
  border-left: 4px solid #888888;
  padding: 12px;
  margin: 14px 0;
}

.cross-channel-v2-advanced-filters {
  display: flex;
  grid-gap: 16px;
  gap: 16px;
  align-items: flex-start;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #e0e0e0;
  width: 100%;
}

.cross-channel-v2-search-container {
  flex: 0 0 25%;
  width: 25%;
  padding-top: 17px;
}

.cross-channel-v2-filters-divider {
  width: 1px;
  background-color: #e0e0e0;
  align-self: stretch;
  min-height: 40px;
}

.cross-channel-v2-filters-section {
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
}

.cross-channel-v2-filters-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  grid-gap: 16px;
  gap: 16px;
}

.cross-channel-v2-clear-all-button-container {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  flex: 1 1;
  min-width: 0;
}

.cross-channel-v2-filters-disabled-message {
  margin-bottom: 12px;
}

.cross-channel-v2-no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
}

.cross-channel-v2-no-data-message {
  font-size: 16px;
  color: #6c757d;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
  margin: 0;
}

.filter-wrap-v3 .styled-dropdown-container {
  min-width: 220px;
}

.filter-wrap-v3 .styled-dropdown-container .ui.dropdown {
  min-width: 220px !important;
}

