:root {
  --border-style: none;
  --line-width: 0px;
  --attack-on-reputation-color: #d9dd65;
  --justification-color: #b5c4f1;
  --simplification-color: #419fc6;
  --call-color: #e15e8b;
  --manipulative-color: #f2ac59;
  --distraction-color: #3c3b3a;
  --neutral-color: #a9a9a9;
}

.attack-on-reputation {
  --color: var(--attack-on-reputation-color);
  --border-color: var(--attack-on-reputation-color);
}

.justification {
  --color: var(--justification-color);
  --border-color: var(--justification-color)
}

.simplification {
  --color: var(--simplification-color);
  --border-color: var(--simplification-color)
}

.call {
  --color: var(--call-color);
  --border-color: var(--call-color)
}

.manipulative-wording {
  --color: var(--manipulative-color);
  --border-color: var(--manipulative-color)
}

.distraction {
  --color: var(--distraction-color);
  --border-color: var(--distraction-color)
}

.neutral {
  --color: var(--neutral-color);
}

.no-border {
  border: none;
}

.no-border:focus {
    outline: none;
  }

fieldset {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.ecl-container-menu { 
  background-image: linear-gradient(#005898, #89a1f4) !important;
}

.ecl-u-type-paragraph-nav {
  display: inline;
}

.ecl-header__nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 40px;
  vertical-align: middle !important;
}
  
.ecl-header__nav-item {
  display: inline;
  margin-right: 20px;
  vertical-align: middle !important;
  text-decoration: none;
}

a:hover {
  text-decoration: none !important;
}
  
.ecl-header__nav-link {
  background-color: linear-gradient(#062e5e, #89a1f4) !important;
  text-decoration: none;
  color: #fff;
}
  
.ecl-header__nav-link:hover {
  text-decoration: underline;
}

.with-border {
  --border-style: 1px solid white;
}

.ecl-box-border {  
  border:1px solid #808080;
  height:5rem;
  margin:1rem;
  padding:0.5rem;
  width:9rem;
  color: #808080;
}

.ecl-u-box-sizing-content {
  box-sizing: content-box !important;
}

.ecl-u-d-inline-block {
  display: inline-block !important;
}

.ecl-box-title {
  padding-bottom: 20px !important;
  display: block; 
}

.ecl-box-active {
  border-bottom: 5px solid blue;  
}



/* Text result format*/
.result-text-underline {
  position: relative;
  display: inline;
  padding-bottom: 0.2em;
  text-decoration: none;
  background: linear-gradient(to right, var(--color, black) 100%, transparent 0) no-repeat bottom left;
  background-size: 100% 3px;
  font: var(--f-l);
 }

 .result-text-simple {
  font: var(--f-l);
  line-height: 2.1em !important;
 }

 .result-tooltip {
  position: absolute;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
 }

.tooltip-container {
  display: flex;
  align-items: center; 
  height: 100%; 
}

.tooltip-content {
  display: flex;
  flex-direction: column; 
  flex: 1;
}

.ecl-tooltip-title {
  margin: 0px;
}

.ecl-ul-tooltip {
  list-style-type: none; 
  margin: 0px; 
  padding: 0px;
}

.ecl-li-tooltip {
  list-style: none; 
  font: var(--f-xs);
}

.wtCharts {
  border-radius: 5px;
  margin-top: 10px;
}

/* Main Menu */
.ecl-menu:not(.ecl-menu--forced-mobile) .ecl-menu__item::before, .ecl-menu:not(.ecl-menu--forced-mobile) .ecl-menu__item:last-child::after {
	content: "";
	background-color: #fff;
	display: block;
	flex-shrink: 0;
	margin-bottom: var(--s-xs);
	margin-top: var(--s-xs);
	width: 0px !important;
}

.ecl-menu__list {
  display: flex;
  justify-content: left; /* Ensures even spacing */
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ecl-menu__item {
  /*flex: 1; /* Makes sure all items take equal space */
  display: flex;
  justify-content: center;
  align-items: center;
}

.ecl-menu__link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 120px !important; /* Ensures links take full width */
  padding: 10px 0; /* Adjust vertical padding */
}

.banner-home {
  background: linear-gradient(to left, #8f94db 0%, #201e48 30%, #201e48 70%, #8f94db 100%);
}

.ecl-banner__title-text, .ecl-banner__description-text {
  color: #fff;
}

.ecl-button--ghost {
  color: #fff !important;
}

.button-active {
  border: 2px solid #051036!important;
}

.ecl-button.disabled {
  background-color: #ccc;  /* Greyed out */
  color: #666;
  cursor: not-allowed;
  pointer-events: none;  /* Prevents clicking */
  opacity: 0.6;  /* Makes it visually different */
}
.persuasion-box {
  border: 0.5px solid #404040;
  display:flex;
  width: 10rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
}

@media(min-width:999px) {
  .ecl-banner__content {
    margin-top: 0;
  }
  .ecl-banner__title {
    font: var(--f-l);
    font-style: italic;
    font-weight: bold;
  }
  .ecl-banner__container {
    padding-bottom: 1%;
    padding-top: 1%;
  }
  .ecl-banner__description {
    font: var(--f-s);
  }  
}

.responsive-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* No wrapping on large screens */
  margin: 0.5rem 0;
  gap: 0.5rem; /* Space between items */
}

.ecl-form-label {
  position: absolute;
  top: -12px;
  left: 1rem;
  padding: 0 0.5rem;
  z-index: 1;
  background-color: white;
  margin-left: 10px !important;
}

/* Each Box */
.responsive-box {
  border: 1px solid #404040;
  border-bottom: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12rem;
  height: 3rem;
  color: #000;
  font: normal normal 700 0.875rem/1rem Arial, sans-serif;
  text-align: center;
}

/* 📱 Mobile: Stack items in a centered column */
@media (max-width: 600px) {
  .responsive-container {
      flex-direction: column; /* Stack vertically */
      align-items: center; /* Center items */
  }
  .responsive-box {
      width: 100%; /* Full width on small screens */
      max-width: 10rem; /* Prevents items from being too wide */
  }
}

.tooltip-cell {
  padding-top: 0;
  padding-bottom: 0;
}

.no-border {
  border: none !important;
}

.result-paragraph {
  margin-top: 5px;
  margin-bottom: 15px;
  line-height: 2.1rem;
}

.text-alert {
  margin-bottom: 0;
  margin-top: 0;
}


/* Filter buttons */
.ecl-button-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 50px;
  justify-content: center;
}

.filter-button {
  position: relative;
  color: #000000 !important;
  white-space: nowrap;
  text-align: center;
  border: 1px solid #9eb5f2;
  font: var(--f-l) !important;
  min-width: 200px;
  max-width: 100%;
  padding-bottom: 18px !important;
  padding-top: 16px !important;
}

.ecl-button.disabled {
  background-color: #ccc;  /* Greyed out */
  color: #666;
  cursor: not-allowed;
  pointer-events: none;  /* Prevents clicking */
  opacity: 0.6;  /* Makes it visually different */
}

.filter-button::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;  /* Keeps some spacing from sides */
    height: 8px; /* Simulated bottom border thickness */
    background: linear-gradient(to top, var(--border-color) 50%, var(--border-color) 50%);
    transition: height 0.3s ease-in-out;
}

.filter-button:hover {
  border: 2px solid #051036!important;
  background-color: #fff !important;
}

@media (max-width: 600px) {
  .ecl-button-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecl-button {
    width: 100%;
  }
}


/* Fieldset style*/
.table-holder {
  display: flex;
  flex-direction: column; 
  min-width: 300px;
  border: 1px solid #ccc;
  padding-top: 10px; 
  padding-left: 10px;
  position: relative;
}

.textfield-input {
  resize: none;
  width: 95%;
  overflow: hidden;
  padding-top: 10px;
  width: 100%;
  min-height: 100px;
  height: auto;
  overflow: hidden !important;
  resize: none;
  font: var(--f-l);
  margin-top: 30px;
}

.result-prefix {
  font-size: 0.8em;
  line-height: 1.6;
  margin-right: -5px;/* Adjust as needed */
  position: relative;
  top: 0.7em;
}

.result-prefix .bullet {
  font-size: 2em;
  top: 0.3em;
  position: relative;/* Increase size of the bullet */
  margin-left: 3px;
  color: var(--color, black);
  margin-right: 0;
}

.footer-note-underline {
  font-size: 0.4em;
  top: -5px;
  position: relative;
  color: #000;
  margin-right: 3px;
}

.column-text {
  border-right: 1px solid #ccc;
  width: 75%;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.ecl-table {
  width: 100%;
  height: 100%;
  table-layout: fixed;
}

.ecl-table-responsive {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-top: -0.7em !important;
}

.ecl-table__cell {
  border-inline-start: none !important;
}

.ecl-table__cell:last-child {
  border-inline-end: none !important;
}

/* Alert */
.ecl-notification {
  border-radius: 5px;
}

.icon-wrapper {
  height: 2rem;
  display: flex;
  align-items: center;
}

.icon-wrapper svg {
  height: 100%;
  width: auto;
}

/* Form Input */
.ecl-popover-text-limit {
  position: absolute;
  top: -12px;
  left: 0;
  margin-top: 6px;
  z-index: 1000;
  width: max-content;
  display: none;
}

/* Progress modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.ecl-spinner__circle {
  stroke: #ffffff; /* White color for the spinner */
}

.ecl-spinner__text {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 18px;
}

.modal.show {
  display: flex;
}

.ecl-button--primary {
  min-width: 120px;
  font: var(--f-l) !important;
}

/* Text styling */
.text-with-footer {
  display: inline;
  flex-direction: column;
  vertical-align: text-bottom;
}

.main-text {
  display: inline;    
  line-height: 2.1em !important;
  margin-left: 0;
  padding-left: 0;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--color, black);
  text-underline-offset: 6px;
  font: var(--f-l);
}

.footer-bar, .footer-note {
  display: inline-flex;
  align-items: flex-end;
  vertical-align: bottom;
  height: 2em;
  font-size: 0.8em;
  position: relative;
  top: 0.3em;
}

.footer-note {    
  margin-right: 5px;    
}

.bullet-note {
  margin-right: -15px;    
  position: relative;
  font-size: 1.6rem;
  color: var(--color);
  margin-left: 4px;
}



