h1 {
  font-size: 35px;
}

th a {
  font-weight: normal;
}

button {
  background: #992FED;
  border: 1px solid #FFFFFF;
  border-radius: 5px !important;
  color: #FFFFFF;;
}

button.active,
button:hover,
button:focus {
  background: #FFFFFF !important;
  border: 1px solid #444444;
  color: #444444 !important;
}

.form-element.form-text {
  border-radius: 8px;
  line-height: 20px;
  font-size: 16px; 
}

.region .block {
  padding-left: 60px;
  padding-right: 60px;
}

header {
  background: none !important;
  border-bottom: 3px solid #D3D3D3;
  padding-top: .9rem !important;
}


header #block-civicv1-sitebranding {
  padding-right: .2rem !important;
}

header #block-civicv1-sitebranding a {
  display: block;
  height: 5.3rem;
  margin-bottom: .9rem;
}

header #block-civicv1-sitebranding img {
  height: 60px;
  padding: 1.1rem .4rem;
}

header .region-header .block {
  float: left;
}

header .region-header #block-civicv1-promethiaadminmenu-2,
header .region-header #block-civicv1-anonusersmenus-2 {
  margin-bottom: 1rem;
  padding-left: 1rem;
}

header .region-header .block-we-megamenu,
header .region-header .block-menu {
  float: right;
}

header .region-header .block-we-megamenu .navbar-we-mega-menu {
  background: none;
}



header .region-header .block-menu ul {
  list-style: none !important;
  margin-top: 1rem;
}

header .region-header .block-menu li,
header .region-header .block-we-megamenu li {
  border-left: none;
  list-style: none !important;
}

header .region-header .block-menu li a,
header .region-header .block-we-megamenu li a {
  background: none;
  color: #000000;
  font-size: 15px;
}

header .region-header .block-menu li {
  float: left;
  min-height: 3rem !important;
}

header .region-header .block-menu li a {
  font-weight: 700;
  padding: 1.125rem 1.5625rem;
  text-decoration: none;
  text-transform: uppercase;
}

header .region-header .block-menu li a:hover,
header .region-header .block-menu li a:active,
header .region-header .block-menu li a:focus,
header .region-header .block-menu li a:focus-visible {
  background: #e5e5e5;
  color: #666666;
}



.layout-container {
  margin-left: 0 !important;
  margin-right: 0 !important;
}


.pager__link.is-active:focus,
.pager__link.is-active:focus-visible,
.pager__item--current:focus,
.pager__item--current:focus-visible {
  background: #003ecc !important;
  color: #ffffff !important;
}

#block-civicv1-primary-local-tasks {
  border-bottom: 1px solid #DDDDDD;
  padding-bottom: .5rem;
}

#block-civicv1-primary-local-tasks .is-horizontal .tabs__tab a.tabs__link {
  color: #646F79;
  font-size: 14px;
  font-weight: normal;
  padding: .5rem 1rem;
  min-height: unset;
  margin: 0 1rem;
  text-transform: uppercase;
}

#block-civicv1-primary-local-tasks .is-horizontal .tabs__tab .tabs__link.is-active::before {
  border-bottom: none;
}

#block-civicv1-primary-local-tasks .is-horizontal .tabs__tab a:hover,
#block-civicv1-primary-local-tasks .is-horizontal .tabs__tab a:active,
#block-civicv1-primary-local-tasks .is-horizontal .tabs__tab a.is-active {
  color: #FFFFFF;
  background: #992FED;
  border-radius: 5px;
}

.block-page-title-block {
  border-bottom: 1px solid #DDDDDD;
  padding-bottom: 2rem;
  padding-top: 2.5rem;
}

form.node-form label {
  font-weight: normal;
  text-transform: uppercase;
}

form.node-form .layout-form {
  grid-template-columns: auto !important;
}

form.node-form .layout-form .layout-region {
  margin-inline: initial;
  width: initial;
}

form.node-form .layout-form .layout-region--main {
  width: 100%;
}

form.node-form .layout-form .layout-region--secondary {
  display: none;
}

form.node-form fieldset {
  border-radius: 10px;
  border: 1rem solid #F1F5F8;
  outline: 1px solid #DDDDDD;
  padding: .85rem .85rem;
}

form.node-form .fieldset__label {
  font-size: 25px;
}

form.node-form #edit-group-color-options .claro-details__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

form.node-form #edit-group-color-options .field--type-color-field-type {
  flex: 1 1 calc(25% - 16px);
  box-sizing: border-box;
  min-width: 200px;
}

form.node-form .vertical-tabs ul.vertical-tabs__menu {
  width: 10rem !important;
}

form.node-form .vertical-tabs .vertical-tabs__panes {
  margin-inline-start: 10rem !important;
}

.view-display-id-chat_statistics .views-exposed-form {
    position: absolute;
    top: -15rem;
    right: 4px;
    border: none;
    box-shadow: none;
    zoom: .6;
}

/* Promethia Admin - Stats Summary Grid */
.promethia-stats-grid {
  border-bottom: 1px solid #dddddd;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 2.2rem;
  padding-bottom: 2rem;
}

.promethia-traffic-chart-outer,
.promethia-traffic-hour-bar-heading-outer-2,
.promethia-stats-grid .promethia-stats-item {
  background-color: #F1F5F8; /* Light-grey background for outer container */
  border-radius: 10px;       /* Outer container border radius set to 10px */
  border: 1px solid #d6d6d6;
}

.promethia-traffic-chart-outer,
.promethia-traffic-hour-bar-heading-outer-2 {
  margin-bottom: 3rem;
}

.promethia-traffic-chart-outer .promethia-traffic-chart,
.promethia-traffic-hour-bar-heading-outer-2 .promethia-traffic-hour-bar-heading-outer,
.promethia-stats-grid .promethia-stats-inner {
  margin: 11px;               /* Reduced margin to minimize extra vertical space */
  padding: 12px;             /* Inner padding for spacing */
  background-color: #ffffff;    /* White background for inner content */
  border-radius: 10px;       /* Inner container border radius set to 10px */
  border: 1px solid #d6d6d6;
  min-height: 70px;          /* Ensures inner element is tall enough */
  display: flex;
  flex-direction: column;
  justify-content: left;   /* Center content vertically */
  align-items: left;       /* Center content horizontally */
}

.promethia-traffic-chart-outer .promethia-traffic-chart,
.promethia-traffic-hour-bar-heading-outer-2 .promethia-traffic-hour-bar-heading-outer {
  margin: 16px;
}

.promethia-stats-grid .promethia-stats-label {
  font-size: 8px;            /* Reduced font size for label */
  text-transform: uppercase;
  margin-bottom: 5px;
  white-space: nowrap;       /* Prevents wrapping */
}

.promethia-stats-grid .promethia-stats-value {
  font-size: 30px;
  font-weight: bold;
  white-space: nowrap;       /* Prevents value from stacking */
}

/* BEGIN DAY CHART STYLES */
.promethia-traffic-outer {
  background-color: #F1F5F8;
  border: 1px solid #D6D6D6;
  border-radius: 10px;
  margin-bottom: 4rem;
  padding: 0; /* We'll do actual content padding inside .inner */
}

.promethia-traffic-inner {
  background-color: #fff;
  border-radius: 10px;
  padding: 12px;
  /* The inner container that holds the actual .promethia-traffic-chart */
}

/* The main chart container (the actual .promethia-traffic-chart) */
.promethia-traffic-chart {
  position: relative;
}

/* Title, big %, small % row, etc. */
.promethia-traffic-chart-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.promethia-traffic-chart-header .title {
  font-size: 8px;
  text-transform: uppercase;
  font-weight: bold;
  margin-right: 10px;
}

.chart-percentage-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.big-change {
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.small-change {
  font-size: 8px;
  border: 1px solid #3F7D6E;
  color: #3F7D6E;
  background-color: #EEFDF9;
  border-radius: 10px;
  padding: 2px 4px;
}

/* The SVG wrapper, tooltip, etc. */
.chart-svg-wrapper {
  width: 100%;
  overflow: hidden;
  /* We'll rely on the code to set up the svg (600x250) with preserveAspectRatio */
}

.traffic-svg {
  width: 100%;
  height: 250px;
}

/* Y-axis lines, day labels, etc. */
.day-label {
  font-size: 8px;
  text-transform: uppercase;
  fill: #000;
  font-weight: normal;
}
.day-label.bold {
  font-weight: bold;
}

/* Horizontal dotted lines for Y-axis */
.dotted-line {
  stroke: #D6D6D6;
  stroke-dasharray: 2,4;
  stroke-width: 1;
}

.graph-line {
  fill: none;
  stroke: #692C90;
  stroke-width: 1;
}

.graph-area {
  fill: #FAF4FF;
}

/* Hollow circles, bigger invisible circle for hover in JS code. */
.tooltip {
  position: absolute;
  background-color: #fff;
  border: 1px solid #692C90;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  display: none;
  pointer-events: none;
}

.pager .pager__items .pager__item--mini {
  padding-top: .4rem !important;
}

/* user page */
body.path-user label,
body.path-user h4 {
  color: #000000 !important;
}

/* Views Admin */
body.path-admin #edit-displays span.label {
  color: #000000 !important;
}

/* Chatbot Promo Page Styles */
body.view-chatbot-promo-promo-page header {
  border-bottom: none;
}

body.view-chatbot-promo-promo-page #block-civicv1-primary-local-tasks {
  display: none;
}

body.view-chatbot-promo-promo-page #block-civicv1-page-title {
  background: linear-gradient(50.79deg, rgba(17, 17, 17, 0.97) 26.91%, rgba(153, 47, 237, 0.9) 158.36%);
  height: 386px;
}

body.view-chatbot-promo-promo-page #block-civicv1-page-title h1.page-title {
  background: linear-gradient(90deg, #6FF5FF 0%, #992FED 100%);
  background-clip: text;
  -webkit-background-clip: text; /* Safari/Chrome compatibility */
  color: transparent;
  font-family: Inter, sans-serif;
  font-weight: 900;
  font-size: 76px;
  hyphens: none;
  line-height: 82px;
  letter-spacing: 0px;
  max-width: 632px;
  overflow-wrap: break-word;
  padding-top: 2rem;
  white-space: normal;
  word-break: normal;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

body.view-chatbot-promo-promo-page .region-content .block {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.view-chatbot-promo-promo-page .page-content {
  margin-bottom: 0 !important;
}

body.view-chatbot-promo-promo-page .view-header,
body.view-chatbot-promo-promo-page .view-footer {
  padding-left: 60px;
  padding-right: 60px;
}

body.view-chatbot-promo-promo-page .view-header {
  max-width: 872px;
  margin-bottom: 2rem;
}

body.view-chatbot-promo-promo-page h2 {
  font-size: 50px;
}

body.view-chatbot-promo-promo-page .view-header p,
body.view-chatbot-promo-promo-page .view-footer p,
body.view-chatbot-promo-promo-page .view-header ul li,
body.view-chatbot-promo-promo-page .view-header a {
  font-size: 23px;
}

body.view-chatbot-promo-promo-page .view-header ul {
  list-style: none;
}

body.view-chatbot-promo-promo-page .view-header ul li {
  padding: .75rem;
}

body.view-chatbot-promo-promo-page .view-header ul li:before {
  content: "✓";
  color: #992FED;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1.5em;
  padding-right: 2rem;
}



body.view-chatbot-promo-promo-page .promethia-chatbot.chat-container {
  bottom: 3rem !important;
  position: fixed !important;
  right: 4rem !important;
}

body.view-chatbot-promo-promo-page .view-footer {
  background: #000000;
  border-radius: 10px;
  color: #ffffff;
  padding-bottom: 4rem;
  padding-top: 3rem;
}

body.view-chatbot-promo-promo-page .view-footer a {
  color: #ffffff;
}

body.view-chatbot-promo-promo-page .view-footer h2 {
  background: linear-gradient(90deg, #6FF5FF 0%, #992FED 100%);
  background-clip: text;
  -webkit-background-clip: text; /* Safari/Chrome compatibility */
  color: transparent;
  font-family: Inter, sans-serif;
  font-weight: 900;
  font-size: 52px;
  hyphens: none;
  letter-spacing: 0px;
  margin-bottom: 3rem;
  max-width: 632px;
  overflow-wrap: break-word;
  white-space: normal;
  word-break: normal;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

body.view-chatbot-promo-promo-page .view-footer a.promo-button {
  background: #6FF5FF;
  border-radius: 10px;
  color: #000000;
  font-weight: bold;
  margin-right: 3.5rem;
  padding: 1rem 3rem;
  text-decoration: none;
  text-transform: uppercase; 
}

body .view-display-id-all_conversations_block td.start-ago {
  min-width: 18rem;
}

body .promethia-elastic-search-form .button {
  position: relative;
  top: -.55rem;
}

#block-civicv1-promethiarecentchatbotusage tr.activity-high {
  background-color: #d4edda;
}

#block-civicv1-promethiarecentchatbotusage tr.activity-medium {
  background-color: #eaf0d4;
}

#block-civicv1-promethiarecentchatbotusage tr.activity-low {
  background-color: #fff3cd;
}
