@import url("https://fonts.googleapis.com/css2?family=Encode+Sans+Semi+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Manrope:wght@200..800&display=swap");
html {
  font-size: 62.5%;
}
body {
  color: #212026;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25em;
  letter-spacing: 0.015em;
  -webkit-text-stroke: 0.45px;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}

/* ============== GLOBAL VARIABLES ============== */
:root {
  --lavender: #9647b2;
  --teal: #29b1cc;
  --purp100: #FBFAFF;
  --purp200: #E4E1F2;
  --purp300: #B5ADD9;
  --purp400: #7869BF;
  --purp500: #5947B2;
  --purp600: #3A2699;
  --purp700: #302080;
  --purp800: #2B1F66;
  --purp900: #1E1259;
  --neutral: #F6F6F7;
  --neut100: #F1EEFC;
  --neut200: #a9a8b2;
  --neut300: #555459;
  --neut400: #212026;
  --body: "Manrope", sans-serif;
  --head: "Encode Sans Semi Condensed", sans-serif;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--head);
}
h1 {
  font-size: 28px;
  line-height: 1.5em;
  font-weight: 600;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 21px;
  line-height: 1.35em;
}
h4 {
  font-size: 18px;
}
p {
  line-height: 1.35em;
  font-size: 1.4rem;
}
p,
a,
strong,
em {
  font-family: var(--body);
}
strong {
  font-weight: 600;
}
a {
  color: var(--purp500);
  text-decoration: none;
}
a:hover {
  color: var(--neut400);
}
.hit h1 a,
.nav-menu a {
  color: var(--neut400);
  text-decoration: none !important;
}
.hit h1 a:hover {
  color: var(--neut200);
}
.instruction-p {
  font-size: 18px;
  margin-bottom: 40px;
}
.section-rt-space {
  padding-right: 60px;
}
.eyebrow {
  font-size: 1.4rem;
  color: var(--neut200);
  margin: 60px 0 5px 0;
  font-family: var(--body);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
/* =================== HEADER =================== */
#top-menu li a,
#side-main-menu li a {
  font-size: 12px;
  font-size: 1.2rem;
  font-family: var(--body);
  color: var(--neut400);
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#top-menu li a:hover,
#side-main-menu li a:hover {
  color: var(--purp500);
}
#top-menu .current_page_item a,
#side-main-menu .current_page_item a {
  color: var(--purp500);
}
.uk-navbar-container,
.uk-navbar-container:not(.uk-navbar-transparent) {
  background: rgba(251, 250, 255, 0.85);
  -webkit-box-shadow: 0px 4px 2px 0px rgba(186, 186, 186, 0.2);
  -moz-box-shadow: 0px 4px 2px 0px rgba(186, 186, 186, 0.2);
  box-shadow: 0px 4px 2px 0px rgba(186, 186, 186, 0.2);
}
.filter_menu-frame {
  margin-top:20px;
  padding: 20px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-box-shadow: 0px 4px 2px 0px rgba(186, 186, 186, 0.2);
  -moz-box-shadow: 0px 4px 2px 0px rgba(186, 186, 186, 0.2);
  box-shadow: 0px 4px 2px 0px rgba(186, 186, 186, 0.2);
}
/* =================== LOGGED OUT FORM & VIEW  =================== */

#login-container, #signup-container, #reset-container {
  box-sizing: border-box;
  padding: 30px 40px;
  background: var(--neutral);
  border-radius: 10px;
  position: relative;
  display: block;
  margin: 0 auto;
  width: 380px;
  top: calc(50vh - 300px);
  -webkit-box-shadow: 0px 4px 2px 0px rgba(186, 186, 186, 0.2);
  -moz-box-shadow: 2px 4px 2px 0px rgba(186, 186, 186, 0.2);
  box-shadow: 2px 4px 2px 0px rgba(186, 186, 186, 0.2);
  border: 1px solid var(--neut100);
}

#forgot-password {
  margin-top: 5px;
  color: var(--purp500);
  cursor: pointer;
  text-decoration: none;
}
#login-container p,
#signup-container p {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 0;
}
#login-form div {
  display: flex;
  margin-bottom: 10px;
  width: 100%;
}
#login-form {
  display: flex;
  flex-direction: column;
}
#login-form label {
  display: inline-block;
  width: 100px;
  text-align: right;
  margin-right: 10px;
}
#login-form input {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}
#login-form button,
#signup-form button {
  display: block;
  width: auto;
  box-sizing: border-box;
}
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  height: 40px;
  margin-top: 5px;
  margin-bottom: 15px;
  padding-left: 10px;
  border: 1px solid var(--neut200);
  border-radius: 6px;
  font-size: 1.4rem;
}
button[type="submit"] {
  cursor: pointer;
  background-color: #5947b2;
  color: #fff;
  border: 1px solid var(--purp500);
  border-radius: 5px;
  font-size: 1.6rem;
  padding: 10px 28px;
  letter-spacing: 0.025em;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.25em;
}
button[type="submit"]:hover {
  background: var(--neut400);
}
::placeholder,
::-moz-placeholder {
  color: var(--neut200) !important;
  font-size: 1.4rem;
}
.auth-container {
  padding: 20px 45px;
  border: 1px solid rgba(186, 186, 186, 0.02);
  border-radius: 12px;
}
.auth-container h1 {
  font-family: var(--head);
  font-weight: 600;
}
.btn-wrap {
  margin-bottom: 40px;
  text-align: right;
}
.switch-form {
  display: inline-block;
  color: var(--purp500);
  cursor: pointer;
  text-decoration: none;
}

/* =================== LOGGED IN VIEW =================== */
.client-logo-container {
  max-width: 115px;
}
.responsive-logo {
  max-width: 200px;
  max-height: 55px;
  margin: 5px 0;
  margin-left: 0;
}
.nav-logo-container { 
  max-width: 180px;
  margin : 0 0 63px 
}
.responsive-logo {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.responsive-logo[src*="logo"] {
  opacity: 1;
}
.usr-email, .usr-email .navbar-email {
  color: var(--neut300);
  margin-top: 10px;
  font-size: 1.6rem;
  font-family: var(--head);
  border-bottom: none!important;
}
.usr-email {
  line-height: 1.5em;
}
#global-spinner {
  background-color: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* =================== SIDEBAR IN VIEW =================== */
#nav-menu {
  padding-left: 0;
  list-style: none;
}
#admin-menu {
  position: absolute;
  bottom: 70px;
  width: 80%;
  min-height: 60px;
  padding-left: 0;
}
#logged-in-logout {
  padding: 0;
}
#nav-menu li a,
#admin-menu li a,
.uk-offcanvas-bar .nav-menu li a {
  box-sizing: border-box;
  padding: 15px 10px;
  width: 100%;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--neut300);
  letter-spacing: 0.035em;
}
#nav-menu li a:hover {
  background: var(--purp500);
  color: #fff !important;
  border-radius: 4px;
}
#logged-in-navbar {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
}
#admin-panel-item {
  margin: 10px 0;
}
.menu-sidebar {
  height: 100vh;
  background: var(--neutral);
  padding: 40px 25px 0;
}
.menu-sidebar .uk-navbar-container,
.menu-sidebar .uk-navbar-container:not(.uk-navbar-transparent) {
  box-shadow: none;
}
.menu-sidebar footer {
  position: absolute;
  bottom: 0;
  width: 80%;
}
.menu-sidebar .footer-wrap .uk-container {
  padding: 0;
}
.menu-sidebar .uk-navbar-container,
.uk-navbar-container:not(.uk-navbar-transparent) {
  background: transparent;
}
.menu-sidebar .nav-menu li,
.uk-offcanvas-bar .nav-menu li {
  border-bottom: 1px solid rgba(169, 168, 178, 0.15);
}
.menu-sidebar .nav-menu li:last-of-type,
.uk-offcanvas-bar .nav-menu li:last-of-type {
  border-bottom: none;
}
.uk-nav-sub li a {
  font-size: 1.35rem !important;
}
#admin-menu li .navbar-logout-btn {
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  border: none;
  height: 40px;
  border-radius: 4px;
  background: var(--purp500);
  color: var(--neut100)!important;
  font-family: var(--body);
}
#admin-menu li .navbar-logout-btn:hover {
  cursor: pointer;
  background: var(--neut400);
}
.nav-side-wrap {
  margin-top: 20px;
}
.selected-nav-item,
.insights-page #insights-menu-item {
  background-color: rgba(255, 255, 255, 0.644) !important;
  color: white !important;
  border-radius: 4px !important;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.2) !important;
  line-height: 1.5 !important;
}
.selected-nav-item a,
.selected-nav-item a:hover,
.insights-page #insights-menu-item a,
.insights-page #insights-menu-item a:hover {
  pointer-events: none;
  cursor: default;
  color: rgb(7, 7, 7) !important;
  text-decoration: none;
}
.selected-nav-item {
  background-color: rgba(255, 255, 255, 0.644) !important;
  color: white !important;
  border-radius: 4px !important;
  line-height: 1.5 !important;
}
.selected-nav-item a {
  color: rgb(7, 7, 7) !important;
  text-decoration: none;
}

.nav-logo.image_loaded {
  margin-bottom: 40px;
}
.uk-parent.uk-open {
  background: #f3f3f3;
  padding: 0 0 11px 0;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}
ul.uk-nav-sub {
  padding: 5px 0;
}
ul.uk-nav-sub li {
  width: 90%;
  margin: 0 auto;
}
.menu-icon {
  width:17px;
  color: var(--neut200);
  margin-right: 10px
 }
 #nav-menu li a:hover .menu-icon { 
  color: #fff;
}
.uk-navbar-right {
  padding-bottom:0!important;
}
/* =================== UPLOADS/ARTICLE ZOOMIN =================== */
.submit-upload-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: s;
  margin: 30px 0;
  box-sizing: border-box;
  width: 90%;
}
.article-card-title {
  font-weight: 600; 
  color: var(--purp800); 
  text-transform: uppercase; 
}
.text-clipped {
  position: relative;
  max-height: 300px;
  overflow: hidden;
}
.fade-overlay {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; 
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none; /* so it doesn't block clicks */
}
.article-summary { 
  border-radius: 15px;
  max-width:620px;
}
.article-content-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-txt {
  text-transform:uppercase;
  color: var(--purp400); 
  font-weight: 600;
}
.grey {
  color: var(--neut200);
}
.purple500 {
  background: var(--purp500);
}
.icon-audience {
  width: 18px;
  height: 16.2px;
  color: var(--purp400);
}
.icon-audience-grey {
  width: 18px;
  height: 16.2px;
  color: var(--neut200)!important;
}
.icon-type {
  width: 18px;
  height: 17.5px;
  color: var(--purp400);
}
.icon-type-grey {
  width: 18px;
  height: 17.5px;
  color: var(--neut200)!important;
}
.icon-tone {
  width: 18px;
  height: 15.48px;
  color: var(--purp400);
}
.icon-tone-grey {
  width: 18px;
  height: 15.48px;
  color: var(--neut200)!important;
}
.icon-safety {
  width: 15px;
  height: 17.5px;
  color: var(--purp400);
}
.icon-safety-grey {
  width: 15px;
  height: 17.5px;
  color: var(--neut200)!important;
}
.icon-voice {
  width: 15.31px;
  height: 18px;
  color: var(--purp400);
}
.icon-voice-grey {
  width: 15.31px;
  height: 18px;
  color: var(--neut200)!important;
}
.icon-share {
  width: 28px;
  height: 28px;
  color: var(--purp400);
}
.icon-share-grey {
  width: 28px;
  height: 28px;
  color: var(--neut200)!important;
}
.icon-add {
  width: 28px;
  height: 28px;
  color: var(--purp400);
}
.icon-add-grey {
  width: 28px;
  height: 28px;
  color: var(--neut200)!important;
}
.icon-arrow {
  width: 28px;
  height: 28px;
  color: var(--purp400);
}
.icon-arrow-grey {
  width: 28px;
  height: 28px;
  color: var(--neut200)!important;
}
.btn-small {
  line-height: 24px;
  border-radius: 4px;
  background: var(--purp500);
  padding: 0 20px;
}
.btn-small:hover {
  background: var(--purp800);
}
.recommendation-box {
  position: absolute;
  width: 45%;
  bottom: 120px;
  margin: 30px 0;
}
.recommendation-footer {
  position: absolute;
  width: 45%;
  bottom: 40px;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.recommendation-footer > div > p {
  margin-top: 10px;
}
.uk-close {
  color: var(--purp900);
  background: var(--neut200);
}
.uk-close:hover {
  color: var(--neut100);
  background: var(--neut400);
}
#remaining-uploads-count {
  font-weight: 600;
  font-size: 1.6rem;
}
#url-box {
  width: 90%;
  max-width: 100%;
  border-radius: 15px;
  padding: 15px;
  font-size: 16px;
  resize: vertical;
  box-sizing: border-box;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-container {
  text-align: center;
}

#progress-text {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #ccc;
  border-top: 6px solid var(--purp500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#global-progress {
  display: block !important;
  width: 320px;
  height: 30px;
  margin: 1rem auto 0;
  appearance: auto; /* Ensure native rendering */
  -webkit-appearance: progress-bar; /* For Safari/Chrome */
  accent-color: var(--purp500); /* fallback */
}

#global-progress::-webkit-progress-bar {
  background-color: #eee;
}

#global-progress::-webkit-progress-value {
  background-color: var(--purp500);
  transition: width 0.2s ease-in-out;
}

#global-progress::-moz-progress-bar {
  background-color: var(--purp500);
}

/* =================== ARTICLE CARDS =================== */
#content-toggle-form::before {
  content: "Show or hide:";
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}
#content-toggle-form {
  flex-direction: row;
  margin-top: 0;
}
#content-toggle-form label {
  margin: 0 0 0 20px;
  font-size: 1.2rem;
  text-transform: capitalize;
  letter-spacing: 0.05em;
}
#content-toggle-form label input {
  margin-right: 5px;
}
.content-toggle-form {
  background: var(--neutral);
  padding: 20px;
  margin-top: 7px;
}
.uk-checkbox:checked,
.uk-checkbox:indeterminate,
.uk-radio:checked,
.uk-checkbox:checked:focus,
.uk-radio:checked:focus {
  background-color: #7869bf;
  border: 1px solid #7869bf;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 30px;
  margin: 25px 200px 75px 200px;
  width: calc(100% - 40px);
  box-sizing: border-box;
}
.grid-content {
  padding: 40px;
}
.news-container {
  margin: 0 auto;
}
.articles-container {
  display: flex;
}
.news-grid,
.ais-Hits-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 30px;
  margin: 25px auto;
  width: 100%;
  box-sizing: border-box;
}
.news-card {
  background-color: white;
  padding: 15px;
  box-shadow: 1px 1px 6px rgba(85, 84, 89, 0.25) !important;
  border: 1px solid var(--neut100);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease-in-out;
}
.news-card:hover {
  transform: translateY(-5px);
}
.image-container {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.feed_by {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px 10px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  font-size: 12px;
  font-family: var(--head);
  border: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.news-content h3 {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.35em;
  color: var(--neut400);
}
.news-content h3 a {
  color: var(--neut400) !important;
  text-decoration: none !important;
  font-family: var(--head) !important;
}
.content-section {
  margin: 12px 0;
}
.score-container {
  display: flex;
  margin: 12px 0;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  font-size: 1.4rem;
}

.score-circles-container {
  display: flex;
  justify-content: center;
}

.score-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 2px;
}
.source,
.date,
.category,
.overtone_type,
.description,
.show-source_location,
.show-source_zip_code {
  font-size: 1.5rem;
  font-family: var(--body);
  font-weight: 400;
  color: var(--neut300);
  display: block;
  padding: 5px;
  margin: 5px 0;
  border-top: 1px solid var(--neut100);
}
.additional-metric span {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.metric-label, .score-label {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.125em;
}

.date-range {
  color: var(--neut300);
}
.description {
  line-height: 1.45em;
}
.source.skeleton,
.date.skeleton {
  color: transparent;
  border: 1px solid transparent;
}
.overtone_type_skeleton {
  display: inline-block;
  background-color: #ffffff;
  color: #00accc;
  font-size: 16px;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px 5px 5px 0;
  transition: all 0.3s ease;
}

.category_skeleton {
  display: inline-block;
  background-color: #ffffff;
  color: #9f54f0;
  font-size: 16px;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px 5px 5px 0;
  transition: all 0.3s ease;
}
.category:empty,
.overtone_type:empty {
  display: none;
}

.news-content {
  padding: 3px 3px 20px 3px;
  background-color: #fff;
  position: relative;
  z-index: 0;
}
.feedback-button {
  color: var(--lavender);
  font-size: 12px;
  cursor: pointer;
  background: var(--neut100);
  border: none;
  padding: 10px 0 10px 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--lavender);
  width: 100%;
  font-size: 1.2rem;
}
.even-stripe {
  background-color: #fff; /* Light background for even rows */
}

.odd-stripe {
  background-color: var(
    --neut100
  ); /* Slightly darker background for odd rows */
}

/* =================== FILTERS =================== */
.uk-offcanvas-bar {
  background: var(--neutral);
  color: var(--neut400);
}
.search-left-panel h2, .search-left-panel h3, .search-left-panel h4, .uk-offcanvas-bar h2,
.uk-offcanvas-bar h3, .uk-offcanvas-bar h4 { 
  color: var(--neut400)!important;
  font-weight: 600!important;
}
.search-left-panel h4 {
  margin-top:20px; 
}
.filter-btn {
  margin-left: 20px;
  padding: 0 30px;
  height: 44px;
  line-height: 44px;
}
.filter-btn:hover {
  background: var(--neut300);
  color: #fff !important;
}
.filter-off-button,
.filter-btn {
  background: #7869bf;
  color: #fff;
  border: 1px solid var(--purp500);
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 4px;
  font-family: var(--body);
}
.filter-button {
  background: #fbfaff;
  color: #1e1259;
  border: 1px solid #b5add9;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 4px;
  font-family: var(--body);
}
.uk-nav.drop-list {
  margin: 10px 0;
}
.uk-nav.drop-list a,
.uk-dropdown li a {
  font-size: 14px;
  font-family: var(--body);
  color: var(--neut300);
  text-transform: capitalize;
}
.double,
.dropdown-submenu .dropdown-menu {
  width: 100%;
  border: none !important;
  border-radius: 0 !important;
  padding: 20px !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.dropdown-submenu .dropdown-menu.show {
  max-height: 363px;
  overflow: auto;
}
.dropdown-submenu .dropdown-menu li {
  margin: 10px 0;
}
.dropdown-menu.show {
  left: 0;
}
.dropdown-menu.show li a {
  text-wrap: balance;
}
.dropdown-menu.show li a:focus {
  background: #f1eefc;
}
.form-check {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 5px;
}

.form-check .form-check-input {
  float: none;
  margin-left: auto;
  width: 26px;
}

.form-check-label {
  margin-right: 5px;
}
.metric-drop-label {
  text-align: center;
  width: 100%;
  margin: 5px 0 !important;
}
.metric-drop-label:nth-of-type(1) {
  margin-top: 0 !important;
}
.text-count p {
  font-size: 14px;
  color: #555459;
  letter-spacing: 1px;
  margin: 0;
}
.filter-sort-btns {
  align-items: center!important;
}
@media (max-width: 767px) {
  .btn-primary.dropdown-toggle::after {
    display: none;
  }
}

/* =================== SEARCH CARDS =================== */
#election-select {
  height: 40px;
  padding: 10px 15px;
  width: 66%;
  border: 1px solid var(--neut200);
  border-radius: 5px;
  margin-right: 5px;
}
#refresh-button {
  border: 1px solid var(--neut200);
  border-radius: 5px;
  background: var(--purp500);
  height: 40px;
  padding: 10px 15px;
  color: #fff;
  font-family: var(--body);
}
#clear-refinements {
  margin-top: 30px;
  margin-bottom: 30px;
}
#clear-refinements button:not(:disabled) {
  background: var(--neut400);
  padding: 20px 0;
  border-radius: 7px;
  color: #fff;
  font-family: var(--body);
  font-size: 14px;
  text-transform: capitalize;
}
#clear-refinements button:not(:disabled):hover {
  background: var(--neut100);
  color: var(--neut300);
}
#searchbox {
  width: 76%;
  box-sizing: border-box;
  flex: 1;
  margin-top: -20px;
}
.ais-Hits-item:first-of-type, .ais-InfiniteHits-item:first-of-type, .ais-Hits-item, .ais-InfiniteHits-item {
  border-radius: 15px!important;
  align-items: baseline!important;
}
.ais-RefinementList-item { 
  font-size: 1.4rem!important;
  margin: 5px 0;
}
.ais-RefinementList-count {
  padding: 4px 5px!important;
  font-size: 1.1rem!important;
}
.ais-RefinementList-checkbox {
  height: 14px!important;
  min-width:14px!important;
  color: var(--lavender)!important;
}
.ais-ClearRefinements-button:disabled[disabled] {
  font-size: 1.2rem;
  color: var(--neut200);
  background: var(--neut300);
}
.ais-Pagination-link {
  height: 40px!important;
  padding: 0 15px!important;
  font-size: 1.2rem!important;
}
.search-panel {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
#tone-label {
  margin: 2rem auto;
  text-align: left;
}
.ais-SearchBox-form:before {
  height: 20px !important;
  width: 20px !important;
  margin-top: 1px !important;
  background-repeat: no-repeat !important;
  left: .8rem !important;
}
.ais-SearchBox-form {
  flex-direction: row;
  width: 100%;
  height: 42px;
}
.ais-SearchBox-input {
  height: 44px;
  padding-left: 30px!important;
  font-size: 1.2rem!important;
}

.uk-offcanvas-overlay::before {
  background: rgba(0, 0, 0, 0.75);
}
.uk-offcanvas-bar hr {
  border-top-color: rgba(0, 0, 0, 0.2);
}
.uk-offcanvas-bar .uk-close {
  color: var(--neut400);
}
.uk-offcanvas-bar .uk-button-default {
  background: var(--purp500);
  font-family: var(--body);
  font-size: 14px;
  color: #fff;
  text-transform: none;
  text-transform: capitalize;
  border: none;
}
.search-left-panel .dropdown-container {
  margin-top: 30px;
}
.panel-title {
  margin-top: 30px;
  color: #555459 !important;
  font-weight: 700;
}
.article-concepts {
  text-align: right;
  letter-spacing: 0.055em;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.015em;
}
.articles-paragraph-label {
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.45em;
  color: var(--neut300);
}
.hit-img-wrap {
  width: 100%;
  height: 165px;
  overflow: hidden;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.seacrh-article-image {
  height: 200px;
  overflow: hidden;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
/*.drop-btn{ width: 100%; margin: 5px 0 20px; line-height: 1em!important; padding: 20px 0; } */
.panel-drop {
  width: 100%;
  margin: 5px 0 10px;
  line-height: 1em !important;
  padding: 14px 0;
  border-radius: 7px;
}
.panel-drop:hover {
  background: var(--neut300) !important;
  color: #fff;
}
.article-details {
  margin: 20px 0;
}
.article-details div {
  padding: 0;
}
.article-pub-date,
.article-concepts {
  font-size: 14px;
  font-family: var(--body);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--neut300);
}

/* =================== GLOBALS =================== */
button {
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 30px;
  letter-spacing: 1px;
  border-radius: 5px;
  color: #fff;
}
button:hover {
  background-color: var(--neut300);
  color: #fff;
}
button:active {
  background-color: var(--neut300);
  color: #fff;
}
.menu-sidebar .copyright {
  color: var(--neut300);
  text-align: left;
  margin-top: 1rem;
  width: 100%;
  display: block;
  font-size: 1.2rem;
}
.copyright {
  display: none;
}

/* =================== ORIGINAL CSS =================== */
.main-content {
  flex-grow: 1;
}

.content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#center-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 45vw;
  border: 1px solid #07a6fb;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  margin: 10% auto auto auto;
  margin-bottom: 10%;
}



a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

.navbar {
  display: none !important;
}

.nav-menu li {
  transition: all 0.3s ease-in-out !important;
}

.skeleton_image_nav {
  display: none;
}

.news-container {
  margin: 0 auto;
}

.news-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.news-card:hover {
  transform: translateY(-5px);
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.article-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s;
}

.image-container:hover .article-image {
  transform: scale(1.05);
}

.logo {
  display: inline-block;
  width: 500px;
  height: auto;
  margin: 0;
  padding: 10px;
  vertical-align: middle;
}

.skeleton-logo {
  background: #0069ff29;
  max-width: 20%;
  height: auto;
  margin-top: 5%;
  margin-left: 5%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skeleton-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #0069ff29, #fff, #0069ff29);
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.skeleton_image_nav {
  background-color: #0069ff29;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.skeleton_image_nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #0069ff29, #fff, #0069ff29);
  animation: loading 2s infinite;
}

.image_loaded {
  display: inline-block;
}

@media (max-width: 991px) {
  .skeleton-logo {
    max-width: 55%;
    height: auto;
    margin-top: 10%;
  }
}

@media (max-width: 767px) {
  .skeleton-logo {
    max-width: 40%;
    height: auto;
    margin-top: 5%;
    margin-left: 5%;
  }
}

@media (max-width: 575px) {
  .skeleton-logo {
    max-width: 30%;
    height: auto;
    margin-top: 5%;
    margin-left: 5%;
  }
}

.confidence-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #f0f0f0;
}

.confidence-bar {
  position: absolute;
  height: 100%;
}

.confidence-percentage {
  position: absolute;
  right: 0;
  bottom: 100%;
  font-size: 0.85em;
  color: #666;
  margin: 3px;
  z-index: 1;
}

.filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  padding: 20px;
  border: 1px solid #cccc;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  width: calc(100% - 400px);
  max-width: 100%;
  margin: 10px auto;
}

.date-range {
  display: block;
}

.date-range form {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.date-range label {
  font-size: 16px;
  margin: 0 10px 0 0;
}

.date-range input,
.date-range select {
  font-size: 16px;
  padding: 6px 12px;
  margin: 0 10px 0 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  outline: none;
}

.date-range button {
  font-size: 14px;
  font-weight: bold;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  outline: none;
}

.date-range button:hover {
  background-color: #0056b3;
}

.filter-container button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}

.filter-container button:hover {
  background-color: #0056b3;
  text-decoration: none;
}

.article-info {
  display: inline-block;
  margin: 0 20px;
  font-weight: bold;
  font-size: 1.1em;
}



.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 5px;
}

.pagination-frame {
  font-family: var(--body);
  width: calc(100% - 40px);
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  color: var(--neut300);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #cccccc;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 2px;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  color: #000;
  min-width: 40px;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  background-color: var(--neut300);
  color: #ffffff;
}

.button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  color: #777;
}

.button.active {
  background-color: var(--purp500);
  color: #ffffff;
}

#login-container {
  order: 2;
}

.login-container {
  flex-grow: 1;
  text-align: right;
}

#signup-container {
  order: 2;
}

#signup-form {
  display: flex;
  flex-direction: column;
}

#signup-form label {
  display: inline-block;
  width: 100px;
  text-align: right;
  margin-right: 10px;
}

#signup-form input, #reset-form input {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

#signup-form button,
#signup-form button {
  display: block;
  margin: 0 auto;
  width: auto;
  box-sizing: border-box;
}

#signup-form div, #reset-form div {
  display: flex;
  margin-bottom: 10px;
  width: 100%;
}

.logo-mini {
  height: 40px;
  width: auto;
}

.logo-container {
  flex-grow: 1;
  text-align: left;
}

.header {
  background-color: #333;
  color: #fff;
  padding: 15px 0;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header h1 {
  font-size: 2em;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.header .logo {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
}

.navbar-email {
  color: #ffffff;
  margin-right: 10px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: none;
  width: fit-content;
  text-align: center;
  border-radius: 25px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

#message-button {
  background-color: #ff0033;
  color: white;
  padding: 12px 24px;
  margin: 15px 0;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#message-button:hover {
  background-color: #ff5050;
  transform: scale(1.05);
}

#message-confirm-button-signup,
#message-decline-button-signup {
  background-color: #3a40e6;
  color: white;
  padding: 12px 24px;
  margin: 15px 0;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#message-confirm-button-signup:hover,
#message-decline-button-signup:hover {
  background-color: #4b51f3;
  transform: scale(1.05);
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.footer-animation {
  animation: slideInUp 0.8s ease-out forwards;
}

.page-wrapper {
  display: flex;
  flex-direction: row;
  flex: 1 0 auto;
}

.filter-list-item {
  padding: 25px;
}

.filter-list-item form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-list-item label {
  font-size: 14px;
  color: var(--neut400);
}

.filter-list-item input[type="date"],
.filter-list-item select {
  width: 100%;
  padding: 0.25rem 0.5rem;
  font-size: 14px;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.filter-list-item button {
  width: 100%;
  margin-right: 10px;
  padding: 10px 30px;
  font-size: 14px;
  color: #fff;
  background-color: #7869bf;
  border: 1px solid #7869bf;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 2px;
  font-family: var(--body);
}

.filter-list-item button:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.skeleton {
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: shimmer;
  animation-timing-function: linear;
  background: #f6f7f8;
  background: linear-gradient(to right, #eaf1fc 8%, #dce1fd 18%, #e8f0fa 33%);
  background-size: 1000px 104px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.news-card.skeleton {
  background-color: #e8f0fa;
  border: 1px solid #cccccc;
  border-radius: 15px;
  transition: transform 0.3s ease-in-out;
}

.news-card.skeleton:hover {
  transform: translateY(-5px);
}

.image-container.skeleton {
  width: 100%;
  height: 200px;
}

.news-content.skeleton {
  width: 100%;
  padding: 15px;
}

.news-content.skeleton > * {
  background-color: #eee;
  height: 20px;
  margin-bottom: 10px;
}

.news-content.skeleton h3.skeleton {
  width: 70%;
  height: 30px;
}

.news-content.skeleton .source.skeleton {
  width: 50%;
}

.news-content.skeleton .date.skeleton {
  width: 30%;
}

.news-content.skeleton .description.skeleton {
  width: 100%;
  height: 60px;
}

.news-content.skeleton .category.skeleton {
  width: 25%;
}

.confidence-bar-container.skeleton {
  width: 100%;
  height: 10px;
  background-color: #f0f0f0;
  position: relative;
}

.confidence-bar.skeleton {
  position: absolute;
  height: 100%;
  width: 60%;
}

.confidence-percentage.skeleton {
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 60px;
  height: 15px;
  margin: 3px;
}

.feed_by.skeleton {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 20px;
}

.popup-form-container {
  position: fixed;
  margin-top: 10px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.popup-form-background {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feedback-form {
  background: #9ac7ef;
  padding: 20px;
  width: 300px;
  border-radius: 15px;
  position: relative;
}

.close-button {
  padding: 10px;
  color: #fff;
  font-size: 20px;
  background-color: #000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feedback-form input[type="submit"] {
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.feedback-form input[type="submit"]:hover {
  background-color: #0056b3;
}

.score-div {
  display: flex;
  justify-content: space-between;
}

.score-div div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

.score-div input[type="radio"] {
  display: block;
  margin-bottom: 5px;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



.admin-container {
  display: flex;
}

.col-lg-8 {
  flex-grow: 1;
}

aside {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  color: #fff;
  width: 15%;
  height: 100vh;
  padding: 20px;
  background-image: linear-gradient(30deg, #0078bd, #77c1fd);
  transition: all 0.3s;
  overflow-y: auto;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 100px;
}

aside a {
  font-size: 1em;
  color: #fff;
  display: flex;
  align-items: center;
  margin-top: 25px;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 10px;
  padding: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

aside a:hover,
aside a.active {
  background: #fff;
  color: #0078bd;
  font-weight: 600;
  padding: 5px;
}

.sidebar-link-text {
  padding: 15px;
  margin-left: 5px;
}

.sidebar-list a.selected {
  background-color: #fbffe4;
  border: 2px solid #d4d4d4;
  border-radius: 5px;
  padding: 10px;
  transition: all 0.3s ease;
  color: #003a9d;
  font-weight: bold;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-list a.selected:hover {
  background-color: #e9ffbd;
  border-color: #c3c3c3;
  transform: none;
}

.sidebar-list a.selected i {
  color: #003a9d;
}

.sidebar-list a.selected i.fa {
  margin-right: 10px;
}

.sidebar-list a.selected .sidebar-link-text {
  font-weight: 600;
}

@media only screen and (max-width: 768px) {
  aside {
    width: 50px;
  }

  .sidebar-list a.selected i.fa {
    margin-right: 0px;
  }

  aside a {
    flex-direction: column;
    align-items: center;
    font-size: 2em;
  }

  aside a i {
    font-size: 24px;
  }

  .sidebar-link-text {
    font-size: 0;
    margin-left: 0px;
    padding: 0px;
  }

  aside a:hover .sidebar-link-text,
  aside a.active .sidebar-link-text {
    font-size: 10px;
  }
}

/* Edit button color */
.edit-button {
  background-color: blue;
}

.edit-button:hover {
  background-color: darkblue;
}

/* Delete button color */
.delete-button {
  background-color: red;
}

.delete-button:hover {
  background-color: darkred;
}
.table-container {
  padding: 10px;
  margin: 7% 5% 5% 20%;
  background-color: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

th {
  background-color: #35475e;
  color: white;
}

tr:nth-child(even) {
  background-color: #b3caee;
}

tr:hover {
  background-color: #eaeded;
}

td .button {
  display: inline-block;
  padding: 5px 15px;
  background-color: #35475e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

td .button:hover {
  background-color: #2c3e50;
}

.modal-user-feed {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content-user-feed {
  background-color: #fefefe;
  margin: auto;
  margin-bottom: 40px;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-content-user-feed h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #4a4a4a;
}

.modal-content-user-feed p {
  font-size: 1.2em;
  margin: 10px 0;
}

.modal-content-user-feed form {
  display: flex;
  flex-direction: column;
}

.modal-content-user-feed form label {
  font-size: 1.1em;
  margin: 5px 0;
  color: #4a4a4a;
}

.modal-content-user-feed form input {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #a0a3d1;
  width: 100%;
  font-size: 1em;
}

.modal-content-user-feed form button {
  padding: 10px 10px;
  margin-top: 10px;
  border: none;
  border-radius: 5px;
  background-color: #4caf50;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
}

.modal-content-user-feed form input::placeholder {
  font-size: 0.9em;
}

.modal-content-user-feed form button:hover {
  background-color: #45a049;
}

.modal-content-user-feed form button:active {
  transform: translateY(4px);
}

.uk-modal-close {
  font-size: 1.2rem;
}
#feed-name-form {
  display: block;
}
#feed-name-form h4 {
  padding-left: 35px;
}
.input-save {
  width: 100%;
  margin-top:10px;
}

.form-section {
  padding-bottom: 40px;
  padding-left: 35px;
  width: 100%;
  box-sizing: border-box;
}

.form-section label { 
  font-family: var(--head); 
  font-weight: 500; 
  font-size: 1.8rem; 
  margin-bottom: 5px;
}

.form-section:last-child {
  border-bottom: none;
  box-sizing: border-box;
  padding-bottom: inherit;
}

.learn-more-container a {
  display: inline-block;
  padding: 10px 20px;
  color: #5c5cea;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}

.learn-more-container a:hover {
  background-color: #5c5cea;
  color: #ffffff;
}

.is-invalid {
  border: 1px solid red;
}