/**
 * Copyright 2021 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* === Global styles === */
body {
  font-family: "Sarabun", serif;
  font-weight: 300;
  font-style: normal;
}
body.page-verify-email, body.page-login, body.page-reset-password {
  background: #E0EEFF;
  min-height:100vh;
}
.main-content {
  padding:0px;
}
.sub-text {
  font-size:50%;
}
.Sarabun-thin {
  font-family: "Sarabun", serif;
  font-weight: 100;
  font-style: normal;
}

.Sarabun-extralight {
  font-family: "Sarabun", serif;
  font-weight: 200;
  font-style: normal;
}

.Sarabun-light {
  font-family: "Sarabun", serif;
  font-weight: 300;
  font-style: normal;
}

.Sarabun-regular {
  font-family: "Sarabun", serif;
  font-weight: 400;
  font-style: normal;
}

.Sarabun-medium {
  font-family: "Sarabun", serif;
  font-weight: 500;
  font-style: normal;
}

.Sarabun-semibold {
  font-family: "Sarabun", serif;
  font-weight: 600;
  font-style: normal;
}

.Sarabun-bold {
  font-family: "Sarabun", serif;
  font-weight: 700;
  font-style: normal;
}

.Sarabun-extrabold {
  font-family: "Sarabun", serif;
  font-weight: 800;
  font-style: normal;
}

.Sarabun-black {
  font-family: "Sarabun", serif;
  font-weight: 900;
  font-style: normal;
}

.Sarabun-thin-italic {
  font-family: "Sarabun", serif;
  font-weight: 100;
  font-style: italic;
}

.Sarabun-extralight-italic {
  font-family: "Sarabun", serif;
  font-weight: 200;
  font-style: italic;
}

.Sarabun-light-italic {
  font-family: "Sarabun", serif;
  font-weight: 300;
  font-style: italic;
}

.Sarabun-regular-italic {
  font-family: "Sarabun", serif;
  font-weight: 400;
  font-style: italic;
}

.Sarabun-medium-italic {
  font-family: "Sarabun", serif;
  font-weight: 500;
  font-style: italic;
}

.Sarabun-semibold-italic {
  font-family: "Sarabun", serif;
  font-weight: 600;
  font-style: italic;
}

.Sarabun-bold-italic {
  font-family: "Sarabun", serif;
  font-weight: 700;
  font-style: italic;
}

.Sarabun-extrabold-italic {
  font-family: "Sarabun", serif;
  font-weight: 800;
  font-style: italic;
}
.Sarabun-black-italic {
  font-family: "Sarabun", serif;
  font-weight: 900;
  font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Sarabun", serif;
}
.uk-background-primary {
  background-color: #EC562C;
}
.uk-text-primary {
  color: #EC562C !important;
}
.uk-background-blue {
  background-color: #82B5A6;
  color:#fff;
}
.loading-screen {
  display:none;
  background: rgba(0, 0, 0, 0.75);
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index:999;
}
.loading-indicator {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
}
.text-link {
  font-family: "Sarabun", serif;
  font-weight: 700;
  font-style: normal;
  text-align:center;
  text-transform:none;
  background:none;
}
.text-link:hover {
  text-decoration: underline;
}
.delete-link {
  color:#b64323;
  font-weight: 300;
  display: inline-block;
  position: relative;
}
.delete-link:hover {
  color:#b64323;
}
.text-green {
  color:#82B5A6;
}
.text-green:hover {
  color:#60877c;
}
.text-orange {
  color:#EC562C;
}
.text-orange:hover {
  color:#b64323;
}
.text-white {
  color:#fff;
}
.bg-green {
  background:#82B5A6;
  border:none;
}
.bg-green:hover {
  background:#60877c;
  border:none;
  color:#fff;
}
.bg-orange {
  background:#EC562C;
  border:none;
}
.bg-orange:hover {
  background:#b64323;
  border:none;
  color:#fff;
}
.border-orange {
  border:1px solid #EC562C;
  color: #EC562C;
}
.border-orange:hover {
  border:1px solid #EC562C;
  background:#EC562C;
  color:#fff;
}
.border-green {
  border:1px solid #82B5A6;
  color: #82B5A6;
}
.border-green:hover {
  border:1px solid #82B5A6;
  background:#82B5A6;
  color:#fff;
}
.insights-label::after {
  content: "";
  position: relative;
  display: inline-block;
  width: 25px;
  height: 8px;
  left: 4px;
  top: -2px;
  background-image: url(assets/brandura-insights-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.diagnostics {
  display:none;
}
.icon-edit {
  background: #82B5A6;
  border: 1px solid #82B5A6;
  border-radius: 15px;
  color: #fff;
  padding: 3px;
  transition: all 0.25s ease-in-out;
}
.icon-edit:hover, .uk-open .icon-edit {
  background: #fff;
  border: 1px solid #82B5A6;
  color: #82B5A6;
}
.inactive-button {
  background:#ddd;
  color: #999;
  width: auto;
  height: 30px;
  border: 1px solid #999;
  padding: 10px 5px;
  margin: 2px 10px 0px;
}
.inactive-button:hover {
  background:#ddd;
  color: #999;
  border: 1px solid #999;
}
input, .uk-input, select, .uk-select, .uk-textarea, textarea {
  border-radius:20px;
}
.uk-checkbox {
  width:20px;
  height:20px;
  border-radius:10px;
}
.uk-checkbox:checked, .uk-checkbox:indeterminate, .uk-radio:checked {
  background-color: #82B5A6;
}
.uk-checkbox:focus,.uk-radio:focus {
  border-color: #82B5A6
}
.uk-checkbox:checked:focus,.uk-checkbox:indeterminate:focus,.uk-radio:checked:focus {
  background-color: #82B5A6
}
.page_container {
  max-width:none;
}
.uk-modal-dialog {
  border-radius:10px;
}
.uk-modal-footer {
  background:none;
}
.uk-button {
  border-radius:20px;
}
.uk-button-primary {
  background-color:#EC562C;
}
.uk-button-primary:hover {
  background-color:#ff5c2f;
}
.uk-notification {
  width:auto;
  max-width:50%;
  left: 50% !important;
  transform: translateX(-50%);
  margin-left: 0 !important;
}

.uk-notification-message {
  background: #fff;
  color: #666;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  border-radius: 10px;
  width: auto !important;
  max-width: min(50vw, 750px);
  min-width: 280px;
}
.uk-notification-message {
  background: #fff;
  color: #666;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  border-radius: 10px;
}
.uk-notification-message-primary {
  color:#EC562C;
}

.uk-notification-message-success {
  color: #126c00
}

.uk-notification-message-warning {
  color: #faa05a
}

.uk-notification-message-danger {
  color: #930000
}
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: 100;
}
.material-symbols-rounded {
  font-variation-settings:
  'FILL' 1,
  'wght' 100,
  'GRAD' 200,
  'opsz' 24
}
.material-symbols-rounded.nav-icon {
  margin-right:10px;
}
.uk-notification-message.uk-notification-message-danger {
  color:#930000;
  background: #ffe3e7;
}
.uk-notification-message.uk-notification-message-success {
  color:#126c00;
  background: #f1ffe7;
}
.uk-icon.success {
  color:#126c00;
}
.uk-icon.success {
  color:#126c00;
}
.uk-icon.warning {
  color:#930000;
}
.uk-accordion-title {
  cursor:pointer;
}
.uk-accordion-title::before {
  display:none !important;
}
.uk-open>.uk-accordion-title::before {
  display:none !important;
}
.uk-open>.uk-accordion-title h3::before {
    background-image: url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%3C%2Fsvg%3E);
}
.uk-accordion-title h3::before {
    content: "";
    width: 1.4em;
    height: 1.4em;
    margin-right: 10px;
    float: left;
    background-image: url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23666%22%20width%3D%221%22%20height%3D%2213%22%20x%3D%226%22%20y%3D%220%22%20%2F%3E%0A%3C%2Fsvg%3E);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.brand-drag-handle {
  cursor: move;
  margin-right: 5px;
}
.subfactor-title {
  text-transform: capitalize;
  background: #CAD8EA;
  border-radius: 15px;
  padding: 5px 10px;
  margin-bottom: 5px;
}
.subfactor-block > div {
  margin:0px 10px;
}
.subfactor-block li {
  margin-bottom:10px;
}
/* === Buttons === */
.uk-background-primary {
  background:rgba(236, 86, 44,1);
  color:#fff;
  border:none;
  transition:all 0.25s ease;
}
.uk-background-primary:hover {
  background:rgb(255, 92, 47);
  color:#fff;
}
.uk-background-primary:disabled, .uk-background-primary.uk-disabled {
  background-color: rgba(200, 200, 200, 0.5) !important;
    color: #999 !important;
    border: 1px solid #999 !important;
}
.add-content:hover, .add-company:hover, .add-brand:hover, .add-content.active, .add-company.active, .add-brand.active {
  background:rgb(255, 92, 47);
  color:#fff;
  cursor: pointer;
}
.add-content.active svg, .add-company.active svg, .add-brand.active svg {
  transform: rotate(45deg);
}
.add-content {
  padding: 8px;
  height: 50px;
  border-radius: 25px;
  font-size: 16px;
  width: 185px;
}
.add-content span {
  font-size: 34px;
  margin-right: 10px;
}

.form-wrap-login .btn, .form-wrap-signup .btn {
  width:100%;
}
.google-signin {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(60,64,67,.08);
  font-size: 14px;
  color: #3c4043;
  font-weight: 500;
  transition: ease-in-out 0.2s;
  width:100%;
  justify-content: center;
  margin:30px 0px;
  cursor:pointer;
}
.google-signin:hover {
  background: #f5f5f5;
}
.tp-signin > button {
  position:relative;
  display:block;
  margin:0px auto;
}
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}
.email-signin {
  max-width:350px;
  margin:0px auto;
  display:block;
  position:relative;
}
.account-header .header-icon {
  background: rgba(255, 255, 255, 0.5);
  width: 50px;
  height: 50px;
  text-align: center;
  vertical-align: middle;
  border-radius: 25px;
  display: inline-block;
  margin-left:10px;
}
.account-header a.header-icon:hover {
  background: rgba(255, 255, 255, 1);
  text-decoration: none;
}
.account-header a.header-icon:hover span {
  color:#EC562C;
  text-decoration: none;
}
.account-header .nav-icon {
  font-size:32px;
  display:block;
  margin-top:10px;
}
body.page-brands .brands-btn,
body.page-settings .settings-btn,
body.page-notifications .notifs-btn,
body.page-profile .profile-btn,
body.page-manage .profile-btn,
body.page-admin .profile-btn {
  background: rgba(255, 255, 255, 1);
}
body.page-brands .brands-btn span,
body.page-settings .settings-btn span,
body.page-notifications .notifs-btn span,
body.page-profile .profile-btn span,
body.page-manage .profile-btn span,
body.page-admin .profile-btn span {
  color: #EC562C;
}
.cta-button, .btn {
  border-radius:30px;
  padding:12px 24px;
  color:#fff;
  font-family: "Sarabun", serif;
  font-weight: 700;
  font-style: normal;
  text-align:center;
  font-size:14px;
  text-transform:none;
  line-height:1.75;
  cursor:pointer;
  border:none;
}
.cancel-btn {
  color:#999;
}
.submit-btn {
  color:#fff;
}
.domain_search button {
  color:#000;
  height:50px;
  width:50px;
}
button.add-content {
  width:auto;
  height:50px;
  padding:10px 20px;
  font-size:1em;
}
button.add-company, button.add-brand {
  width: 30px;
  height: 30px;
  padding: 10px 5px;
  margin: 2px 10px 0px;
}
button.add-content svg {
  margin-left:10px;
  transition: transform .25s ease-in-out;
}
button.add-company svg, button.add-brand svg {
  transition: transform .25s ease-in-out;
}

.domain-brand-attributes:hover {
  border:1px solid #EC562C;
  cursor: pointer;
  color:#EC562C;
  background:#fff;
}

.domain-refresh button {
  color:#fff;
  height:39px;
  width:39px;
  margin-left:20px;
  margin-right:6px;
}
.domain-refresh button:hover {
  border:1px solid #82B5A6;
  color:#82B5A6;
  background:#fff;
}
.add-domain-btn, .add-social-btn {
  margin-top: 5px;
}
.add-domain-btn svg, .add-social-btn svg {
  margin:2px 5px 0px 0px; 
}
.remove-competitor-btn, .remove-domain-btn, .remove-social-btn {
  padding: 0px;
  margin: 0px;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  color: #b64323;
  background: #ffcbbd;
  border: none;
  cursor: pointer;
}
.remove-competitor-btn:hover, .remove-domain-btn:hover, .remove-social-btn:hover {
  background: #d8a99d;
}
.remove-domain-btn, .remove-social-btn {
  position: relative;
  z-index: 999;
  margin-left: -36px;
}
.competitor-entry .uk-button-small, .add-competitor-btn {
  font-size: 12px;
  text-transform: none;
}
.content-actions .uk-button, .actions_share .uk-button,.competitor-actions .uk-button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
  color: #505050;
  border:none;
}
.refresh-icon svg {
  margin-top:-2px;
}
.content-actions .rescan-btn:hover, .competitor-actions .rescan-btn:hover, .content-refresh button:hover {
  background-color: rgba(130, 181, 166,0.25);
}
.content-actions .delete-btn:hover, .content-delete button:hover,.competitor-actions .delete-btn:hover, .competitor-delete button:hover {
  background-color: #ffcbbd;
  color: #b64323;
}
.delete-evidence-btn.is-selected {
  background-color: #ffcbbd;
  color: #b64323;
}
.account-btn {
  color:#000;
  height:50px;
  width:50px;
  background:rgba(255,255,255,0.5);
  border:none;
  transition: all 0.25s ease;
}
.account-btn:hover {
  color:#EC562C;
  background:rgba(255,255,255,1);
  /* box-shadow:0px 0px 10px rgb(236, 86, 44, 0.3); */
  border:none;
}

.legend-toggle-btn.active {
  background: #ececec;
  font-weight: bold;
}
.legend-toggle-btn {
  transition: background 0.15s;
}
/* === Login === */
.page-login .content-section, .page-reset-password .content-section {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}
.page-login .content-container, .page-reset-password .content-container {
  width: 100%;
}
.login-container, .signup-container {
  margin:0px auto;
  padding:40px 30px;
  background:#fff;
  border-radius:20px;
  max-width: 460px;
  box-shadow: 0px 10px 40px rgba(20, 40, 80, 0.08);
}
.login-header {
  margin-bottom: 8px;
}
.login-header h2 {
  font-weight: 700;
}
.form-wrap-login, .form-wrap-signup {
  width:100%;
  max-width:400px;
  margin:0px auto;
  text-align: left;
}
.form-wrap-signup {
  max-width: 350px;
  margin: 0px auto;
}
.form-wrap-login label, .form-wrap-login input, .form-wrap-signup label, .form-wrap-signup input {
  display:block;
  position:relative;
}
.form-wrap-login {
  margin-top:20px !important;
}
.form-wrap-login hr {
  margin:30px 0px;
}
.login-field, .signup-field {
  display:flex;
  align-items: center;
  position:relative;
  border:1px solid #ddd;
  border-radius:25px;
  padding:15px 20px;
  transition: border-color 0.2s ease;
}
.login-field:focus-within, .signup-field:focus-within {
  border-color: #EC562C;
}
.form-wrap-login input, .form-wrap-signup input, .login-field input, .signup-field input {
  border:none;
  font-size:0.875em;
  width:100%;
  font-weight:500;
  background:none;
}
.form-wrap-login input:focus, .form-wrap-login input:focus-visible, .form-wrap-login input:active,
.form-wrap-signup input:focus, .form-wrap-signup input:focus-visible, .form-wrap-signup input:active,
.login-field input:focus, .login-field input:focus-visible, .login-field input:active,
.signup-field input:focus, .signup-field input:focus-visible, .signup-field input:active {
  border:none;
  outline:none;
}
.password-toggle {
  cursor: pointer;
  color: #aaa;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin-left: 8px;
  user-select: none;
}
.password-toggle:hover {
  color: #666;
}
.forgot-password-link {
  text-align: center;
}
.create-account-module .uk-accordion-title::before {
  display:none !important;
}
.verify-container {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
  padding:60px 30px;
}

/* === Auth provider buttons & dividers === */
.auth-providers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: #9ca3af;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}
.auth-divider:not(:empty)::before {
  margin-right: 1em;
}
.auth-divider:not(:empty)::after {
  margin-left: 1em;
}
.sso-signin {
  text-align: center;
  margin-top: 16px;
}
.page-invitation-accept .header-wrap, .page-invitation-error .header-wrap {
  display:none;
}
/* === Header, navigation, logo styles === */
.app-header {
  background:#24272A;
  border-bottom:1px solid;
  height:50px;
}
.header-wrap {
  width:280px;
  background:#fff;
  min-height:100vh
}
.app-header {
  width:100%;
  margin-right:0px;
}
.tab-container {
  flex: 1 1 0;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}
.add-container {
  flex-shrink: 0;
}
.activity-rail-toggle-container {
  flex: 0 0 auto !important;
  width: auto !important;
}
.brand-tabs-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.brand-tabs-list::-webkit-scrollbar {
  display: none;
}

.brand-tab-item {
  white-space: nowrap;
}
.brand-tabs ul li {
  display:inline-block;
}
.brand-tabs ul li .brand-settings {
  display:none;
}
.brand-tabs ul li.selected .brand-settings {
  display:block;
}
.nav-auth {
  text-align:left;
}
.logo-container {
  text-align:center;
  width:50px;
  border-right:1px solid #666D77;
}
.logo-wrap a {
  display:block;
}
.logo-wrap img {
  width: 30px;
  height: auto;
  margin: 10px 0px;
}
.page-login .logo-wrap img {
  width:150px;
}
.page-verify-email .logo-container, .page-invitation-accept .logo-container, .page-invitation-error .logo-container, .page-login .logo-container, .page-reset-password .logo-container {
  width:125px;
  border:none;
}
.page-verify-email .logo-container .logo-wrap img,
.page-invitation-accept .logo-container .logo-wrap img,
.page-invitation-error .logo-container .logo-wrap img,
.page-login .logo-container .logo-wrap img,
.page-reset-password .logo-container .logo-wrap img {
  width:100%;
}
.nav-icon {
  width:20px;
  margin-right:5px;
}
.nav-wrap {
  position: relative;
  display: block;
  background:#373B40;
  max-width:200px;
  min-height: calc(100vh - 50px);
}
.nav-wrap li {
}
.nav-wrap li a {
  padding:15px 10px;
  font-size:1em;
  color:#E0EEFF;
  transition: all 0.25s ease;
}
.nav-wrap li a:hover {
  color:#fff;
  background:#484d54;
}
.nav-wrap li a span.nav-icon, .account-header .nav-icon {
  color: #a9b7c9;
  transition: all 0.25s ease;
}
.nav-wrap hr {
  border-top: 1px solid #666D77;
}
.brand-tabs ul {
  margin-bottom:0px;
  display: flex !important;
  padding-left:0px;
}
.brand-tabs .uk-accordion>:nth-child(n+2) {
    margin-top: 0px;
}
.brand-tabs ul li {
  cursor:pointer;
  vertical-align:top;
  margin-top:0px;
  border-right: 1px solid #666D77;
  padding: 10px 20px 10px 15px
}
.brand-tabs ul li.selected {
  background:#373B40;
}
.brand-tabs ul li:hover {
  background:#373B40;
}
.brand-tabs ul li .brand-name, .brand-tabs ul li span {
  color:#A9B7C9;
}
.brand-tabs ul li.selected .brand-name, .brand-tabs ul li.selected .brand-drag-handle span {
  color:#fff;
}
.brand-tabs ul li:hover .brand-name, .brand-tabs ul li:hover .brand-drag-handle span {
  color:#fff;
}
.brand-tabs ul li .brand-settings a:hover span {
  color:#fff;
  cursor:pointer;
}
.brand-settings a, .brand-settings a:hover {
  text-decoration:none;
}
.no-brands-found {
  padding:0px 10px;
}
/* Brand select button styles - visually identical to previous .brand-name div */
.brand-select {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.brand-select:focus {
  outline: none;
}
.brand-summary-card {
  background: #CAD8EA;
  border-radius: 20px;
  padding: 10px 20px;
  margin: 10px 0px !important;
  position: absolute;
  max-height: 80%;
  overflow-y: auto;
  width: 96%;
}
.brand-summary-card h4 {
  font-size: 0.875em;
  font-weight: 500;
}
/* Brand settings button styles - visually identical to previous anchor */
.brand-settings-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-block;
}
.brand-settings-btn span {
  display: block;
  margin-left: 15px;
  position:relative;
  bottom:-2px;
}
.page-brand .brand-settings-btn span {
  color:#EC562C;
}
.brand-settings-btn:hover span {
  color: #fff;
}
.add-container {
  padding: 13px;
  position: relative;
  border-left: 1px solid #666D77;
}
.add-container span {
  color:#A9B7C9;
}
.add-container span:hover {
  color:#fff;
  cursor:pointer;
}
.add-trigger {
  position:relative;
}
.add-dropdown {
  display:none;
  position:absolute;
  top:100%;
  right:0;
  margin-top:8px;
  background:#1e2732;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
  min-width:180px;
  z-index:1000;
  overflow:hidden;
}
.add-dropdown.show {
  display:block;
}
.add-dropdown-item {
  display:flex;
  align-items:center;
  padding:12px 16px;
  color:#A9B7C9;
  text-decoration:none;
  transition:background 0.2s, color 0.2s;
  gap:12px;
}
.add-dropdown-item:hover {
  background:#2a3441;
  color:#fff;
}
.add-dropdown-item span.material-symbols-rounded {
  font-size:20px;
}
.add-dropdown-text {
  font-size:14px;
  white-space:nowrap;
}
.account-header .nav-icon {
  color: #a9b7c9;
  margin: 9px 0px 0px;
  width:100%;
  display:block;
}
.account-header .notifs-btn span {
  margin-top: 11px;
}
.account-header .profile-btn span {
  font-size: 40px;
  margin-top: 5px;
}
.nav-wrap li a:hover span {
  background:none;
  color: #EC562C;
}
body.page-clarity .nav-item-clarity a,
body.page-audit .nav-item-audit a,
body.page-consistency .nav-item-consistency a,
body.page-differentiation .nav-item-differentiation a,
body.page- .nav-item-dashboard a,
body.page-intel .nav-item-intel a,
body.page-studio .nav-item-studio a,
body.page-activity .nav-item-activity a,
body.page-notifications .nav-item-notifications a,
body.page-brand .nav-item-brand a,
body.page-brands .nav-item-brands a,
body.page-brand .nav-item-brands a,
body.page-profile .nav-item-account a,
body.page-account .nav-item-account a,
body.page-profile .nav-item-profile a,
body.page-status .nav-item-status a,
body.page-acquisition-audit .nav-item-compliance a
{
  color:#fff;
}
body.page-clarity .nav-item-clarity a span.nav-icon,
body.page-audit .nav-item-audit a span.nav-icon,
body.page-consistency .nav-item-consistency a span.nav-icon,
body.page-differentiation .nav-item-differentiation a span.nav-icon,
body.page- .nav-item-dashboard a span.nav-icon,
body.page-intel .nav-item-intel a span.nav-icon,
body.page-studio .nav-item-studio a span.nav-icon,
body.page-activity .nav-item-activity a span.nav-icon,
body.page-notifications .nav-item-notifications a span.nav-icon,
body.page-brand .nav-item-brand a span.nav-icon,
body.page-brands .nav-item-brands a span.nav-icon,
body.page-brand .nav-item-brands a span.nav-icon,
body.page-account .nav-item-account a span.nav-icon,
body.page-profile .nav-item-account a span.nav-icon,
body.page-profile .nav-item-profile a span.nav-icon,
body.page-status .nav-item-status a span.nav-icon,
body.page-acquisition-audit .nav-item-compliance a span.nav-icon
{
  background:none;
  color: #EC562C;
}
.uk-nav .uk-label {
  display: inline-block;
  margin-left: 2px;
  margin-top: 2px;
}
.data-box {
  position:relative;
  margin-bottom:12px;
  background:#fff;
  padding:20px;
  border-radius:10px;
}
.factor-report-container > ul {
  padding:0px;
  margin:0px;
  list-style:none;
}
.recommendations-container .data-box {
  padding:15px;
}
.data-box-label {
  font-weight:700;
  position:relative;
  display:block;
  margin-bottom:12px;
  text-transform:uppercase;
  line-height:1;
}
.score-container {
  margin-right:10px;
  max-width:360px;
}

[data-tooltip] {
  position: relative;
  z-index: 9999999;
  cursor: pointer;
}

[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

[data-tooltip]:before {
  position: absolute;
  bottom: 80%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -30px;
  padding: 7px;
  width: 60px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

[data-tooltip]:after {
  position: absolute;
  bottom: 80%;
  left: 50%;
  margin-left: 1px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
  z-index: 9999999;
}
.score-actions li {
  margin-bottom:15px;
}
/* === Add Content === */
.process_content, .get_content {
  position:relative;
}
.content-options {
  margin:0px;
}
.content-options li {
  padding:10px;
  margin-top:0px !important;
  border-bottom:1px solid #d0d0d0;
}
.domain-input {
  text-align:left;
}
.domain_url {
  border: 1px solid #333;
  border-radius:25px;
  height:50px;
  font-size:0.9em;
  padding:0px 20px;
  width:360px;
}
.brand-attributes, .content-attributes {
  background:#fff;
  border-radius:5px;
  margin:10px 0px;
  box-shadow:0px 0px 5px #ccc;
}
.content-attributes {
  position: absolute;
  top: 48px;
  left: 0px;
  width: 600px;
  z-index: 1;
}
.brand-attributes > div, .content-attributes > div {
  padding:10px;
}
.brand-attributes h3, .brand-attributes h3 {
  font-size:12px;
  text-transform:uppercase;
  color:#666;
}
.domain-refresh {
  position:relative;
  display:inline-block;
  background:#fff;
  border-radius:25px;
  height:50px;
  font-size: 0.9em;
  padding:0px 0px 0px 25px;
}
.domain-refresh span {
  position:relative;
  display:inline-block;
  margin-top: 14px;
}
.url_details {
  margin:0px 10px;
}
.process_content_trigger {
  border-radius:20px;
}
.conntent-request-section {
  position:relative;
  width:90%;
  max-width:900px;
  margin:30px auto;

}
.conntent-request-container {
  width:100%;
}
.conntent-request-container > ul.uk-tab {
  margin-bottom:20px;
}
.get_content_trigger {
  border-radius:25px;
  padding:0px;
  height:50px;
  width:50px;
  top: 5px;
  right: 5px;
}
.get_content_trigger.loading .material-symbols-rounded {
  display: none;
}
.get_content_trigger.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spinner 0.7s linear infinite;
  margin-top:12px;
}
@keyframes btn-spinner {
  to { transform: rotate(360deg); }
}
.content-icon {
  font-size:40px;
}
.content-icon:hover {
  color:#EC562C
}
.conntent-request-container .uk-tab>*>a {
  padding:5px;
}
.conntent-request-container .uk-tab>*>a:hover {
  color: #EC562C;
  text-decoration: none;
}
.conntent-request-container .uk-tab>.uk-active>a, .conntent-request-container .uk-tab>*>a:hover {
  color: #EC562C;
  border-color:none;
  background: #fff;
  border-radius: 40px;
  display: block;
  width: 40px;
  height: 40px;
  border: none;
  padding: 5px;
}
.conntent-request-container .uk-tab>.uk-active>a span {
  color: #EC562C;
  border-color:none;
}
.conntent-request-container .uk-tab>.uk-active>a .content-icon {
  color: #EC562C;
}
.content-form-container {
  position:relative;
}
/* More-options dropdown on web/search tabs */
.form-actions {
  gap: 6px;
  flex-shrink: 0;
}
.more-options-wrap {
  position: relative;
}
.more-options-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8ecf0;
  border: none;
  cursor: pointer;
  color: #666;
  transition: background .15s, color .15s;
}
.more-options-btn:hover { background: #d0d5db; color: #333; }
.more-options-btn span { font-size: 20px; }
.more-options-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  padding: 14px 16px;
  min-width: 230px;
  z-index: 100;
}
.more-options-dropdown.open { display: block; }
.more-options-section {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.more-options-section:last-child { border-bottom: none; padding-bottom: 0; }
.more-options-section:first-child { padding-top: 0; }
.more-options-label {
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #999;
  margin-bottom: 8px;
}
.more-options-section .switcher-container { margin-bottom: 0; }
.more-options-section .recurrence-frequency { margin-top: 8px; width: 100%; }
.pdf-details, .social-details,
.email-details, .copy-details, .image-details, .video-details {
  background: #fff;
  padding: 20px;
  margin: 10px 0px;
  border-radius: 30px;
}
/* image-details and video-details also carry .input_wrapper which sets padding:5px and height:50px — override both */
.image-details.input_wrapper,
.video-details.input_wrapper {
  padding: 20px;
  height: auto;
}
#capture-content .content-form-container {
  background: #fff;
  padding: 20px;
  margin: 10px 0px;
  border-radius: 30px;
}

/* Social Platform Cards Grid */
.social-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 800px;
}

.platform-card {
  background: #f8f9fa;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.platform-card:hover,
.platform-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
  outline: none;
}

.platform-card.selected {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.platform-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.platform-name {
  font-weight: 600;
  font-size: 16px;
  color: #1f2937;
}

.platform-status {
  font-size: 12px;
}

.platform-status .uk-label {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Platform-specific colors for labels - using higher specificity instead of !important */
.social-details .platform-status .uk-label-primary,
.social-details .uk-alert .uk-label-primary {
  background-color: #3b82f6;
  color: white;
}

.social-details .platform-status .uk-label-success,
.social-details .uk-alert .uk-label-success {
  background-color: #10b981;
  color: white;
}

.social-details .platform-status .uk-label-danger,
.social-details .uk-alert .uk-label-danger {
  background-color: #ef4444;
  color: white;
}

.social-details .platform-status .uk-label-warning,
.social-details .uk-alert .uk-label-warning {
  background-color: #f59e0b;
  color: white;
}
/* Capture with Brandura — platform selector grid */
.capture-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  max-width: 800px;
}

.capture-platform-card {
  background: #f8f9fa;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.capture-platform-card:hover,
.capture-platform-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-color: #3b82f6;
  outline: none;
}

.capture-platform-card.selected {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 4px 10px rgba(59,130,246,0.2);
}

.capture-platform-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capture-platform-icon svg {
  width: 100%;
  height: 100%;
}

.capture-platform-name {
  font-weight: 600;
  font-size: 13px;
  color: #1f2937;
}

/* Capture session log */
.capture-log-item {
  padding: 10px 0;
}

.get_web_urls, .web_urls_results {
  width:100%;
}
.action_buttons button {
  margin-left:5px;
}
.action_buttons button.get_content_trigger_cancel:hover {
  background:#444;
}
.content-form-field .uk-input, .content-form-field .uk-select.content_status {
  font-size:18px;
  font-weight:500;
  background:none;
  border:none;
}
.input-field .content_source {
  margin-top:5px;
}
.brand-select-container {
  height:30px;
  top:-62px;
  background: #fff;
  padding: 20px 10px;
  border-radius: 20px;
}
.input_wrapper {
  background:#fff;
  padding:5px;
  height:50px;
  border-radius:30px;
  position:relative;
}
.textarea_wrapper {
  height:auto;
}
.textarea_wrapper textarea.uk-input {
  height:300px;
  background:#f5f5f5;
  margin-top:0px;
  border-radius: 25px;
}
.content-form-field .uk-placeholder {
  margin-top:0px;
}
.conntent-request-container .uk-tab {
  margin-left:0px;
}
.conntent-request-container .brand-details {
  border:none;
}
.url_input_box {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  margin: 8px 0px;
  background: #fff;
  border-radius: 10px;
}
.url_input > input, .url_filter_box #select_all_content, .content_checkbox, .select_all_content {
  width: 20px;
  height: 20px;
}
.content_checkbox {
  margin-right:10px;
}
.url_filter_box {
  padding:10px;
  width:100%;
}
.url_filter_box .url_input {
  margin-right:10px;
}
.web_content_brand_select select,
.web_content_brand_select select:active,
.web_content_brand_select select:focus  {
  background:none;
  border:none;
  background-image:none;
  font-weight:700;
}
.web_content_brand_select .uk-select:not([multiple]):not([size]) {
  background:none;
  border:none;
  background-image:none;
}
.switcher-container {
  width: 160px;
  background: #eee;
  border-radius: 25px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 5px;
  height:50px;
}
.switcher-btn {
  z-index: 2;
  width: 50%;
  text-align: center;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}
.switcher-knob {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 50%;
  height: 50px;
  background: #82B5A6;
  border-radius: 25px;
  transition: left 0.3s;
  z-index: 1;
}
.switcher-btn.active {
  color: #fff;
}
.switcher-btn.disabled {
  color: #aaa;
  cursor: default;
}
.url_select_description {
  margin-left:5px;
  padding-left:5px;
  border-left:1px solid #999;
}
.content-type-container .get_pdf_content .submit-button, .content-type-container .get_linkedin_content .submit-button {
  text-align:right;
}
/* === Account === */
.account-dropdown {
  padding:0px;
}
.account-dropdown li {
  padding: 5px 15px;
  border-bottom: 1px solid #e0e0e0
}
.account-dropdown li:hover {
  background:#f5f5f5;
}
.account-dropdown li:last-child, .account-dropdown li:first-child {
  border-bottom: none;
}
.account-dropdown li.user-name {
  padding: 15px;
  background:#82B5A6;
  color:#fff;
}
.account-dropdown li.user-name div {
  display:block;
}
/* === Subscribe === */
.subscription-section {
  max-width:850px;
  margin:0px auto;
}
.subscribe-card .uk-card  {
  border-radius:10px;
}
.subscribe-card .uk-card-title  {
  font-size:16px;
  font-weight:700;
}
.subscribe-card > .uk-card {
  padding:30px;
}
.subscribe-card-header .plan-price {
  font-size:3.5em;
  font-weight:700;
  line-height:1;
  color:#000;
}
.Enterprise-card .plan-price {
  font-size: 1.5em;
  line-height: 1.2;
}
.subscribe-card-header p.plan-term {
  margin:10px 0px 0px;
  padding:0px;
}
.plan-description {
  margin:20px 0px;
}
.subscribe-card-details ul {
  list-style:none;
}
.subscribe-card-details ul li {
  font-weight:500;
}
.more-plan-details {
  margin-top:30px !important;
}
/* === Profile === */
.profile-section .uk-card {
  border-radius:10px;
}
.profile-container {
  background:#fff;
  border-radius:10px;
}
/* === Reporting Container === */
.uk-tab::before {
  display:none;
}
.uk-tab>.uk-active>a {
  border-color: #EC562C;
}
.clarity-factor-results > .clarity-heading, .consistency-factor-results > .consistency-heading, .differentiation-factor-results > .differentiation-heading {
  margin-bottom:15px;
}
.reporting-container {
  background-color:#E0EEFF;
  min-height: calc(100vh - 50px);
}
/* Activity Rail — UIkit offcanvas panel */
#activity-rail .uk-offcanvas-bar {
  width: 320px;
  background: #373B40;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.activity-rail-close {
  color: rgba(255, 255, 255, 0.6);
}
.activity-rail-close:hover {
  color: #fff;
}
.activity-rail-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 12px;
  background: #484d54;
  border-bottom: 1px solid #666D77;
}
.activity-rail-icon {
  color: #EC562C;
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}
.activity-rail-title {
  font-weight: 700;
  font-size: 0.95em;
  color: #fff;
}

/* Header icon buttons — compute + activity */
.activity-rail-toggle-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  gap: 4px;
}
.compute-usage-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}
.compute-usage-btn span {
  color: #999;
  font-size: 22px;
  font-variation-settings: 'FILL' 0;
  transition: color .15s;
}
.compute-usage-btn:hover span { color: #EC562C; }
.activity-rail-toggle-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}
.activity-rail-toggle-btn span {
  color: #EC562C;
  font-size: 24px;
  font-variation-settings: 'FILL' 1;
}

/* Activity rail panel body */
.activity-rail-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.activity-rail-controls {
  padding: 12px 16px;
}
.activity-rail-load-more {
  width: 100%;
}
.activity-rail-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 16px;
}
.activity-rail-bar .activity-list {
  max-width: 100%;
}
.activity-item .uk-badge {
  display:none;
}
.scores-overtime .data-box-label {
  margin-bottom:0px;
}
.score-card .score-number {
  font-size:40px;
  font-weight:700;
  color:#000;
}
.score-card-title {
  font-weight:700;
  font-size:1.25em;
}
.score-card-body {
  font-size:.875em;
  font-weight:300;
}
.score-card {
  padding: 15px 10px 10px;
  margin-right:20px;
}
.score-reccos li, .score-insights li {
  margin-bottom:10px;
}
.data-modal-trigger {
  position: absolute;
  right: -20px;
  top: 0px;
}
.data-box-modal-close {
  position:absolute;
  top:20px;
  right:20px;
  cursor:pointer;
}
.data-box-modal .uk-modal-title {
  font-size:1.25em;
}
.actions_impact {
  width:13%;
  min-width:100px;
}
.actions_share {
  min-width:30px;
  margin-left:20px;
}
.actions_share .uk-button {
  display:block;
  width:100%;
  text-align:right;
}
.actions_share .uk-button:hover {
  color:#EC562C;
}
.actions_text {
  width:82%;
}
/* === Homepage === */
.home .score-container {
  max-width:370px;
}
.score-factors .score-number > div {
  font-size:36px;
  position:absolute;
  top:28px;
  left:0px;
  width:100%;
  text-align:center;
  display:inline-block;
}
.circle_percent {
  position:relative;
}

/* === Factors === */
.factor-report-container {
  max-width:100%;
}
.power-score {
  position:relative;
  margin:0px auto;
  text-align:center;
  width:260px;
  height:260px;
}
.score #power_score {
  position: relative;
  margin: auto;
  display: block;
  font-size: 140px;
  line-height:1.2;
  left: 0px;
  width: 100%;
  color:#000;
}
.power-score .score-change {
  position: relative;
  display:inline-block;
  background:#009951;
  color:#fff;
  padding:2px 5px;
  margin:0px auto;
  border-radius:10px;
  font-size: 12px;
  padding:2px 8px;
}
.power-score .score > div {
  font-size:7em;
  font-weight:700;
  line-height: 0.75;
  color:#000
}
.change-arrow {
  display:inline-block;
  position:relative;
  top:-2px;
}
.change-arrow.up {
  color:#4CE504;
}
.change-arrow.down {
  color:#FF470B;
}
.landscape-score {
  position:absolute;
  top:15px;
  right:35px;
  width:50px;
  height:50px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius:50%;
  font-size:25px;
  color:#ccc;
  text-align:center;
  line-height:50px;
}
.chart-area {
  padding:20px;
  background:#fff;
  border-radius:5px;
}
.power-score .score {
  position: absolute;
  left: 0px;
  width: 100%;
  text-align: center;
  top: 36%;
}
/* === Text === */
.uk-grid.score-factors {
  margin-top:10px;
}
.score-factors .uk-card-default {
  box-shadow: none;
  margin-bottom:10px;
  background:none;
}
.score-factors .circle_percent {
  width:100px;
  height:100px;
  margin:-12px auto 0px;
  position: relative;
}
.chart-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.score-card-wrap {
  background:#fff;
}
.score-card .uk-card-body {
  padding:40px 10px;
}
.score-factors .uk-card-title {
  text-transform: capitalize;
}
/* === Company and Brand Forms === */
.brand_details_wrap {
  position:relative;
  margin:0px 30px 0px;
}
.brand-summary-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.brand-summary-icon {
  transition: transform 0.3s ease;
}
.brand-summary-icon.rotated {
  transform: rotate(180deg);
}
.brand-summary-content {
  margin-top: 1rem;
}
.content_filter_box {
  padding-bottom:10px;
  width:100%;
  border-bottom:1px solid #ddd;
}
.list-companies, .list-brands {
  position:relative;
  width:100%;
}
.list-content {
  position:relative;
  padding:0px;
  margin:10px 30px 30px;
}
.list-companies .uk-background-primary, .list-brands .uk-background-primary, .list-users .uk-background-primary {
  border-radius:20px;
}
.active_brands {
  list-style:none;
  padding:0px;
}
.active_companies .uk-accordion-title, .active_brands .uk-accordion-title, .active_users .uk-accordion-title {
  position:relative;
  overflow: auto;
  min-height:30px;
  padding:30px;
}
.active_companies .uk-accordion-title::before, .active_brands .uk-accordion-title::before, .active_users .uk-accordion-title::before {
  display: none;
}
.active_companies .uk-accordion-title span, .active_brands .uk-accordion-title span, .active_users .uk-accordion-title span {
  position: absolute;
  right: 20px;
}
.active_companies li .uk-accordion-title:hover span, .active_brands li .uk-accordion-title:hover span, .active_users li .uk-accordion-title:hover span {
  background: #fff;
  border: 1px solid #82B5A6;
  color: #82B5A6;
  border-radius: 15px;
  padding: 3px;
}
.company_details {
  position: relative;
  display: block;
  width: 100%;
}
.company_details_trigger {
  border-radius:20px;
}
.new_brand_form .uk-modal-dialog {
  width:80%;
}
.content-list-item {
  background:#fff;
  border-radius:10px;
  padding:10px;
  font-size:.8em;
}
.content-delete {
  text-align:right;
}
.company_wrapper, .brand_wrapper {
  position:relative;
}
.brand_wrapper {
  margin-top:0px;
}
.delete-link-wrap {
  text-align: right;
  position: absolute;
  right:0px;
  width:100px;
}
.delete_content_trigger, .delete-link {
  color:#b64323;
  background:none;
  border:none;
  text-align:right;
  cursor:pointer;
  padding:5px 15px;
  border-radius:13px;
  transition: all 0.25s ease;
}

.delete_content_trigger:hover, .delete-link:hover {
  background:#ffcbbd;
}
.notice_box {
  background:#fff;
  border-radius:10px;
  box-shadow:10px 0px 25px 20px rgba(0,0,0,0.05);
  width:100%;
  max-width:960px;
  display:block;
  margin:0px auto;
}
.notice_content {
  text-align:center;
  width:90%;
  max-width:800px;
  margin:0px auto;
  padding:60px 0px;
}
.notice-icon.warning {
  color:#930000
}
.notice-icon.success {
  color:#126c00
}
.evidence-container .notice_box {
  padding:50px 0px;
  background:none;
  box-shadow:none;
}
.disabled-content {
  width: auto;
  height: 50px;
  border: 1px solid #999;
  padding: 10px 20px;
  opacity:0.5;
}
.disabled-content svg {
  margin-left:10px;
}
.brand_name, .separator_bar {
  background: #CAD8EA;
  border-radius: 21px;
  padding: 5px;
  margin-bottom: 10px;
}
.brand_name h3, .separator_bar h3 {
  margin: 0px;
  font-size: 0.875em;
  font-weight: 500;
  margin-left:0px;
}
.brand_bar_notice {
  padding-top:5px;
}
.competitor-entry .comp-details {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 15px;
  background-color: #fafafa;
}

.competitor-suggestions {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: white;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
  border-bottom: none;
}
.suggestion-item:hover {
  background-color: #f8f8f8;
}
.domains-container, .social-urls-container {
  min-height: 40px;
}
.ts-control {
  border:none;
  background:none;
  padding:10px;
}
.ts-wrapper.multi .ts-control > div {
  padding: 5px 10px;
  border-radius: 15px;
}
.ts-wrapper.uk-select {
  background-image:none !important;
  height:auto !important;
  padding:0px !important;
}
.team-member-emails .uk-label {
  text-transform:lowercase;
}
.delete-brand-confirmation .uk-notification-close {
  display: none !important;
}
/* === Brand Status Indicator === */
.brand-status-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.brand-status-indicator.idle {
  color: #82B5A6;
}

.brand-status-indicator.loading {
  color: #82B5A6;
}

.brand-status-indicator.error {
  color: #9a000f;
}

.brand-status-indicator.warning {
  color: #EC562C;
}
.brand-status-indicator:hover {
  background: rgba(255, 255, 255, 1);
}
.brand-status-indicator.permission-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.brand-status-indicator.permission-disabled:hover {
  background: rgba(255, 255, 255, 0.8);
}
/* === Admin === */
.page-admin .active_users a:before {
  display:none;
}
.page-admin .active_users li {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
}
.page-admin .page_container > .users-wrapper {
  width: 100%;
  display: block;
}
.users_wrapper {
  margin-top:0px;
  position:relative;
}
.user_details_wrap {
  padding: 0px 30px 30px;
  margin-top: 0px;
}
.active_users {
  width:100%;
  display:block;
}

/* === Content Progress Bar Styles === */
#content-progress-bar {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 15px;
  margin-top: 20px;
}

#content-progress-bar .uk-progress {
  height: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

#content-progress-bar .uk-progress::-webkit-progress-bar {
  background-color: #e9ecef;
  border-radius: 5px;
}

#content-progress-bar .uk-progress::-webkit-progress-value {
  background-color: #EC562C;
  border-radius: 5px;
  transition: width 0.3s ease;
}

#content-progress-bar .uk-progress::-moz-progress-bar {
  background-color: #EC562C;
  border-radius: 5px;
}

#progress-status {
  color: #6c757d;
  font-weight: 500;
}

/* Enhanced file upload styling */
.js-upload {
  border: 2px dashed #dee2e6;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.js-upload:hover {
  border-color: #EC562C;
}

.js-upload.dragover {
  border-color: #EC562C;
  background-color: #fff5f3;
}

/* === Clarity Evidence / Content Cards === */
.content-name-descrip {
  padding-left:20px;
}
.content-name-descrip > span {
  display:block;
}
.content-actions, .competitor-actions {
  gap: 8px;
  margin-left: 0px;
  margin-bottom: 0px;
  max-width:50px;
}
.competitor-name-descrip {
  padding-left:20px;
}
.competitor-title {
  font-weight: 700;
  font-size: 1em;
  color:#000;
  display:block;
}
.competitor-domain {
  font-size: 0.875em;
  color: #666;
  display:block;
}
.comp-domain, .comp-social {
  display: inline-block;
  margin-right: 8px;
}


/* Tab styling enhancements */
.scores-overtime .uk-tab {
  border-bottom: none;
  margin-bottom: 10px;
}
.scores-overtime .uk-tab::before {
  display:none;
}

.scores-overtime .uk-tab > li > a {
  padding: 10px 20px;
  color: #8D98B1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight:700;
  font-size:0.875em;
  border-bottom:none;
}

.scores-overtime .uk-tab > li.uk-active > a {
  color: #000;
  border-bottom:none;
}

.scores-overtime .uk-tab > li > a:hover {
  color: #EC562C;
}
.content-content span, .content-details span {
  display:block;
}
.content-details span {
  font-size:12px;
}
.content-title {
  font-weight: 700;
  font-size: 1em;
  color:#000;
}
.content-actions svg, .actions_share svg, .competitor-actions svg {
  width:20px;
}
.content-type {
  width:60px;
  height:60px;
  border-radius:50%;
  background: #E0EEFF;
  font-size:0.875em;
  text-align:center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-details {
  padding-left: 10px;
}
.competitor_refresh_box form {
  display: inline-block;
  margin: 0px;
}
.competitor_refresh_box form .uk-icon {
  top: -2px;
  position: relative;
}

/* === Clarity Loading Experience === */
.content_list, .competitors_list {
  width:90%;
  max-width:960px;
  margin:0px auto;
  background: #E0EEFF;
  padding: 40px;
  border-radius: 10px;
}
.content_filter_box, .competitor_filter_box {
  margin:0px 0px 5px;
  text-align: left;
  width:100%;
}
.content_input_box, .competitor_input_box {
  background:#fff;
  border-radius:10px;
  margin:0px 0px 5px;
  text-align: left;
  width:100%;
}
.content_input_box > div, .content_filter_box > div, .competitor_input_box > div, .competitor_filter_box > div {
  padding:10px;
}
.content_input_box > div.content_meta, .competitor_input_box > div.content_meta {
  padding-right:20px;
}
.content_input, .competitor_input {
  width:10px;
}
.content_type {
  text-transform: capitalize;
  margin:0px 10px;
}
.checked_count {
  margin-left:10px;
  display:inline-block;
  position:relative;
}
/* Clarity-specific loading overlay */
.clarity-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.clarity-loading-overlay.show {
  display: flex;
}

.clarity-loading-content {
  text-align: center;
  max-width: 400px;
  padding: 40px;
}

.clarity-loading-spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.clarity-loading-message {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  font-family: "Sarabun", sans-serif;
}

.clarity-loading-step {
  font-size: 14px;
  color: #666;
  font-family: "Sarabun", sans-serif;
}
.process_content_cancel {
  background:#82B5A6;
  border-color:#82B5A6;
  color:#fff;
}

.process_content_cancel:hover {
  background:#fff;
  border-color:#82B5A6;
  color:#82B5A6
}
/* Skeleton Layout */
.skeleton-container {
  display: none;
  animation: pulse 1.5s ease-in-out infinite alternate;
}

.skeleton-container.show {
  display: block;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

.skeleton-header {
  height: 60px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 10px;
  margin-bottom: 30px;
}

.skeleton-brand {
  margin-bottom: 40px;
}

.skeleton-brand-name {
  height: 30px;
  width: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 8px;
  margin-bottom: 20px;
}

.skeleton-score-section {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.skeleton-score-container {
  flex: 0 0 360px;
}

.skeleton-score-box {
  height: 280px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 10px;
  margin-bottom: 15px;
}

.skeleton-insight-box {
  height: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 10px;
}

.skeleton-content-section {
  flex: 1;
}

.skeleton-tabs {
  height: 40px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 5px;
  margin-bottom: 20px;
}

.skeleton-score-card {
  height: 120px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 10px;
  margin-bottom: 15px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* data-box skeleton loading state */
.data-box.is-loading {
  background: linear-gradient(90deg, #d6e4f8 25%, #CAD8EA 50%, #d6e4f8 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border: none;
}
.data-box.is-loading > * {
  visibility: hidden;
}
.data-box-skeleton-score   { min-height: 328px; }
.data-box-skeleton-insights { min-height: 450px; }
.data-box-skeleton-subfactor { height: 137px; }
.data-box-skeleton-tab-item  { height: 130px; }
.data-box-skeleton-evidence  { height: 200px; }
.data-box-skeleton-score-card { height: 114px; }
.data-box-skeleton-radar { height: 600px; }
.data-box-skeleton-compare { height: 300px; }
.data-box-skeleton-timeseries { height: 533px; }

.scores-factors-results .data-box.is-loading {
  margin-right: 20px;
}

.uk-switcher .data-box.is-loading {
  margin-bottom:10px;
}

.clarity-heading, .consistency-heading, .differentiation-heading {
  font-size: .875rem;
  font-weight:700;
  color:#000;
  text-transform: uppercase;
}
.unprocessed-content-title, .competitors-title {
  font-size:1.25em;
}
.unprocessed-content-modal .content_list {
  width:100%;
}
.unprocessed-content-modal .uk-modal-dialog, .competitors-modal .uk-modal-dialog {
  width:960px;
}
/* Content area transitions */
.clarity-content {
  transition: opacity 0.3s ease;
}

.clarity-content.loading {
  opacity: 0.3;
  pointer-events: none;
}

.clarity-content.loaded {
  opacity: 1;
  pointer-events: auto;
}
.score-actions ol {
  list-style:none;
}
.actions_impage {
  text-align:center;
  justify-content: center;
}
.actions_impact_box {
  background:#E0EEFF;
  border-radius:50%;
  height:72px;
  width:72px;
  margin:10px auto;
  text-align:center;
}
.actions_impact_box > div {
  color:#EC562C;
  font-weight:700;
  font-size:36px;
  line-height:1;
  height:100%;
  width:100%;
  position: relative;
  top: -3px;
  left: -2px;
}
.actions_impact_box span {
  font-size:18px;
}
/* Impact Badges */
.uk-badge-high {
  background-color: #f0506e;
  color: white;
}

.uk-badge-medium {
  background-color: #faa05a;
  color: white;
}

.uk-badge-low {
  background-color: #32d296;
  color: white;
}

.uk-badge-minimal {
  background-color: #666;
  color: white;
}
.factor-badge {
  font-weight:700;
}

/* Impact Visualization */
.impact-meter {
  width: 30px;
  height: 60px;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.impact-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 0 0 2px 2px;
  transition: height 0.3s ease;
}

.impact-high {
  background: linear-gradient(to top, #f0506e, #ff6b7a);
}

.impact-medium {
  background: linear-gradient(to top, #faa05a, #ffb574);
}

.impact-low {
  background: linear-gradient(to top, #32d296, #4dd4a4);
}

.impact-minimal {
  background: linear-gradient(to top, #666, #888);
}

.factor-label {
  background-color: #f8f8f8;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}
/* === Audit Page Styles === */

.audit-content .uk-heading-medium {
  color: #1e87f0;
  font-weight: 500;
}

.audit-content .uk-heading-small {
  color: #333;
  font-weight: 600;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Brand selector styling */
#brand-selector {
  border-radius:20px;
}
.brand_selector_container {
  display: flex;
  align-items: center;
  text-align: center;
}
.brand_selector_box {
  position:relative;
}
.brand_selector_box .loading-indicator {
  top: 0px;
  left: auto;
  right:0px;
  margin-left: auto;
  margin-right:-80px;
  margin-top:-20px;
}
.audit-brand-select-container, .audit-results-container {
  max-width:100%;
}
/* Content grid card styling */
.audit-results .content-box {
  padding:10px;
  border-radius:5px;
  background:#fff;
}
.audit-content .uk-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.content-section .uk-table {
  background:#fff;
  border-radius:10px;
}
.content-name-link {
  text-transform: none;
  text-align: left;
}
.content-section .uk-table tbody tr:nth-child(odd) {
  background:#f5f5f5;
}
.content-section .uk-table tbody tr:hover {
  background:#ffd;
}
.audit-content .uk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.audit-content .uk-card-title {
  font-size: 1.1rem;
  font-weight: 600;
}
.color_audit_results .data-box {
  padding:0px;
  border-radius: 5px;
  overflow: hidden;
}
.color-grid .color-box {
  width:100px;
  margin:5px;
}
.color-grid .color-box .color-fill {
  width:100%;
  height:100px;
  border-radius:10px;
  margin-bottom:5px;
}
.color_audit_results .uk-progress {
  display:none;
}
/* Score label styling */
.audit-content .uk-label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Images grid styling */
#images-grid img {
  border-radius: 4px;
  transition: transform 0.2s ease;
}

#images-grid img:hover {
  transform: scale(1.05);
}

/* Colors grid styling */
#colors-grid .uk-card {
  transition: transform 0.2s ease;
}

#colors-grid .uk-card:hover {
  transform: translateY(-2px);
}

/* Loading spinner styling */
#loading-spinner {
  padding: 40px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .audit-content .uk-heading-medium {
    font-size: 1.5rem;
  }
  
  .audit-content .uk-heading-small {
    font-size: 1.2rem;
  }
  
  #brand-selector {
    width: 100%;
  }
}
/* Source copy-to-clipboard cell */
.source-copy-cell {
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  display: inline-block;
  vertical-align: middle;
}

.copied-tooltip-temp {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  transform: translateX(-50%);
}

.copied-tooltip-temp .copied-check {
  color: #32d296;
  margin-right: 4px;
}
/* === Dashboard Page Styles === */
.page- .score-factors .score-card {
  padding:0px;
  margin:0px;
}
.page- .score-factors .circle_percent {
  width: 80px;
  height: 80px;
  margin: 0px auto 0px;
  position: relative;
}
.page- .score-factors .score-number > div {
  top: 17px;
}
.page- .score-card-wrap {
  margin: 5px;
  padding: 5px;
  border-radius: 10px;
}
.page- .score-viz {
  margin-right: 10px;
}
.legend-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: #eaeaea;
  border-radius: 5px;
  width: 100%;
  position: relative;
  margin-bottom:10px;
}
.legend-switch input {
  display: none;
}
.legend-slider {
  width: 36px;
  height: 18px;
  background: #ccc;
  border-radius: 18px;
  position: relative;
  margin-right: 8px;
  transition: background 0.2s;
  margin: 10px;
}
.legend-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.legend-switch input:checked + .legend-slider {
  background: #82B5A6;
}
.legend-switch input:checked + .legend-slider:before {
  transform: translateX(18px);
}
.legend-label {
  font-size: 14px;
}
.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  content: "";
  position:absolute;
  right:0px;
}
.legend-item-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.legend-item-wrapper .legend-switch {
  flex: 1;
  margin-bottom: 0;
}
.legend-intended-btn {
  background: none;
  border: 1px solid #bbb;
  border-radius: 3px;
  font-size: 11px;
  padding: 2px 6px;
  cursor: pointer;
  color: #888;
  white-space: nowrap;
  margin-left: 6px;
  line-height: 1.4;
}
.legend-intended-btn.active {
  background: #82B5A6;
  border-color: #82B5A6;
  color: white;
}

/* Radar DoD toggle pills */
.radar-dod-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  padding: 0 4px;
}
.radar-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1.5px solid #82B5A6;
  background: transparent;
  color: #82B5A6;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.radar-pill:hover {
  background: rgba(130,181,166,0.12);
}
.radar-pill-active {
  background: #82B5A6;
  color: #fff;
}

/* DoD legend summary (replaces brand list in DoD mode) */
.dod-legend-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 4px;
  font-size: 12px;
}
.dod-lead { color: rgb(34,197,94); font-weight: 600; }
.dod-lag  { color: rgb(239,68,68);  font-weight: 600; }
.dod-legend-hint {
  font-size: 10px;
  color: #999;
  margin-top: 4px;
  line-height: 1.4;
}
.dashboard-insights-heading img {
  width: 25px;
  margin-left: 5px;
  position: relative;
  margin-top: -2px;
}
.data-actions button {
  background: #82B5A6;
  border:none;
  border-radius:17px;
  width:34px;
  height:34px;
  padding:0px;
  margin:0px 2px;
  cursor: pointer;
}
.data-actions button span {
  color:#fff;
  margin:0px auto;
}
.data-actions button:hover {
  background:#67c7aa;
}
/* === Progress Indicator Styles === */
.progress-indicator {
  cursor: default;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.progress-indicator .progress-icon {
  color: #82B5A6;
  animation: pulse-color 1s linear infinite;
  margin-top: 0px;
}

.progress-indicator.active .progress-icon {
  animation: pulse-color 1s linear infinite;
}

@keyframes pulse-color {
  0% {
    color: #67c7aa;
  }
  50% {
    color: #4c8c79;
  }
  100% {
    color: #67c7aa;
  }
}

/* Pulse effect for the progress indicator */
.progress-indicator.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(30, 135, 240, 0.2);
  transform: translate(-50%, -50%);
  animation: pulse-progress 2s ease-out infinite;
}

@keyframes pulse-progress {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}
/* === Notifications Styles === */
.notification-item {
    padding: 15px 0;
}

.notification-item.unread {
    background-color: #f8f9fa;
    border-left: 4px solid #82B5A6;
}

.notifications-list {
    max-height: none;
}

.mark-read-btn {
    transition: all 0.3s ease;
}

.mark-read-btn:hover {
    background-color: #82B5A6;
    color: white;
}
.list-notifications .list-title {
  margin-bottom:30px;
}
/* === Activity Page === */
.activity-list {
  max-width: 900px;
}
.activity-item {
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #484d54;
}
.activity-item p.uk-margin-remove-bottom {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-item:hover {
  background: #5a5f66;
}
.data-box {
  transition: background-color 0.2s ease;
}
/* === AI brand Chat Widget Styles === */
.brand-chat-input-wrap {
  background:#fff;
  position:relative;
  display:block;
  border-radius: 30px;
  padding:10px;
  /* 450px textarea max + 20px vertical padding */
  max-height: 470px;
  overflow: hidden;
}
.brand-chat {
    margin: 1rem 0;
}
.brand-chat textarea {
  background:none;
  border:none;
  resize: none;
  width: 100%;
  min-height: 36px;
  max-height: 450px;
  line-height: 1.4;
  overflow-y: hidden;
}
.brand-chat-input-wrap .uk-grid-small.uk-flex-middle {
  align-items: flex-end;
}
.brand-chat-input-wrap .uk-width-expand {
  display: flex;
  align-items: flex-end;
}
.brand-chat-thread {
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  flex-direction: column-reverse;
  overflow-y: auto;
}
.brand-chat-input-wrap button {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  padding: 0px;
  padding-top: 5px;
  align-self: flex-end;
  flex: 0 0 auto;
}
.brand-upload-btn {
  margin-left:15px;
}
.brand-message {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
}

.brand-message-user {
  background-color: rgba(255,255,255,0.5);
  margin-left: 13rem;
  border-radius:20px;
}

.brand-message-assistant {
    background-color: rgba(236,86,44,0.1);
    border-radius:20px;
    margin-right: 13rem;
}
.brand-message-loading {
    background-color: rgba(236,86,44,0.1);
    border-radius:20px;
    margin-right: 13rem;
    opacity: 0.7;
}
.brand-message-loading .loading-indicator {
    position: relative;
    top: auto;
    left: auto;
    margin: 0;
    width: 80px;
    height: 80px;
}
.brand-loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}
/* CSS fallback spinner animation */
@keyframes brand-spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.brand-loading-spinner::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(236,86,44,0.2);
    border-top-color: #EC562C;
    border-radius: 50%;
    animation: brand-spinner 0.8s linear infinite;
}
.brandura-icon {
  top: -20px;
  left: -14px;
  width: 40px;
  background: #fff;
  height: 40px;
  border-radius: 20px;
  text-align: center;
}
.brandura-icon img {
  width: 26px;
  margin: auto;
  vertical-align: middle;
  margin-top: 7px;
}
.brand-message-error {
    background-color: #fee;
    border: 1px solid #fcc;
}
.brand-speak-btn {
  background:none;
  color:#EC562C;
}
.brand-message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.brand-message-time {
    color: #6c757d;
    font-size: 0.75rem;
}

.brand-message-content {
    line-height: 1.5;
    white-space: pre-wrap;
}

.brand-brand-preview {
  height: 0px;
  overflow: hidden;
  margin: 0px;
}

.brand-brand-preview h4 {
    margin-bottom: 0.5rem;
}

.brand-speak-btn.listening {
    background-color: #f44336;
    color: white;
    animation: pulse 1s infinite;
}
.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
  }
  
.message-user {
  background-color: #f8f8f8;
  margin-left: 40px;
  text-align: right;
}

.message-assistant {
  background-color: #e8f4fd;
  margin-right: 40px;
}

.message-role {
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 5px;
}

.message-content {
  color: #333;
  line-height: 1.5;
}

.follow-up-question {
  display: inline-block;
  margin: 5px 5px 5px 0;
  padding: 5px 10px;
  background-color: #1e87f0;
  color: white;
  border-radius: 15px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.follow-up-question:hover {
  background-color: #0f7ae5;
}

.brand-field {
  margin-bottom: 10px;
  padding: 8px;
  background-color: #f8f8f8;
  border-radius: 4px;
}

.brand-field-label {
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 3px;
}

.brand-field-value {
  color: #333;
  font-size: 13px;
}

.confidence-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  margin-left: 5px;
}

.confidence-high {
  background-color: #32d296;
  color: white;
}

.confidence-medium {
  background-color: #faa05a;
  color: white;
}

.confidence-low {
  background-color: #f0506e;
  color: white;
}

#chatMessages::-webkit-scrollbar {
  width: 8px;
}

#chatMessages::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#chatMessages::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

#chatMessages::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@keyframes pulse {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.7;
  }
}

.brand-accept-btn {
  margin: 0px auto;
}

/* Competitor Rollup Findings Styles */
.competitor-rollup-data {
  padding: 15px;
  margin-top: 15px;
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  border-radius: 4px;
}

.rollup-item {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.rollup-item:last-child {
    border-bottom: none;
}

.rollup-key {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.rollup-value {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.reveal-findings-btn {
    background-color: #82B5A6;
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reveal-findings-btn:hover {
    background-color: #6a9d8a;
    color: white;
}


/* Evidence Card Styles */
.evidence-card {
  position: relative;
}

.evidence-score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}

.evidence-score {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.evidence-score canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.evidence-score .score-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-weight: bold;
  color: #333;
  margin-top:2px;
}

.evidence-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evidence-meta .content-detail {
  display: block;
  font-size: 14px;
}

/* Subfactor Chips */
.subfactor-chips {
  gap: 8px;
}

.subfactor-chip {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 6px 10px 6px 6px;
  gap: 6px;
}

.chip-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #82B5A6;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

.chip-label {
  font-size: 12px;
  color: #666;
}

/* Evidence Details Panel */
.evidence-details-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.evidence-details-panel.open {
  opacity: 1;
}

.evidence-panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.evidence-panel-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 500px;
  max-width: 90vw;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.evidence-details-panel.open .evidence-panel-container {
  transform: translateX(0);
}

.evidence-panel-header {
  position: sticky;
  top: 0;
  background-color: white;
  padding: 15px 20px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.evidence-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  transition: color 0.2s ease;
}

.evidence-panel-close:hover {
  color: #333;
}

.evidence-panel-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.evidence-details-header {
  margin-bottom: 30px;
}

.evidence-meta-small {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.evidence-meta-small span {
  font-size: 12px;
  color: #999;
}

.evidence-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333;
}

.evidence-source {
  display: block;
  font-size: 14px;
  color: #82B5A6;
  text-decoration: none;
  margin-bottom: 15px;
  word-break: break-all;
}

.evidence-source:hover {
  text-decoration: underline;
}

.evidence-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.evidence-section {
  margin-bottom: 30px;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #333;
}

/* Evidence Accordion Styles */
.evidence-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.evidence-accordion-item {
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.evidence-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.evidence-accordion-header:hover {
  background-color: #f0f0f0;
}

.evidence-accordion-header[aria-expanded="true"] {
  background-color: #f5f5f5;
}

.accordion-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.subfactor-score-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #82B5A6;
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

.subfactor-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-transform: capitalize;
}

.accordion-icon {
  font-size: 20px;
  color: #666;
  transition: transform 0.3s ease;
}

.evidence-accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.evidence-accordion-content {
  overflow: hidden;
}

.accordion-body {
  padding: 15px;
  background-color: white;
}

.subfactor-section {
  margin-bottom: 20px;
}

.subfactor-section:last-child {
  margin-bottom: 0;
}

.subfactor-section strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.subfactor-section ul,
.subfactor-section ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.subfactor-section li {
  margin-bottom: 6px;
}

/* Content Audit Styles */
.audit-subsection {
  margin-bottom: 20px;
}

.audit-subsection h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
}

.audit-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
}

.audit-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.audit-images img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
}

.audit-colors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.color-item {
  gap: 10px;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  flex-shrink: 0;
}

/* Expand button styling */
.expand-evidence-btn {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
}

.expand-evidence-btn:hover {
  background-color: #e5e5e5;
}

.expand-evidence-btn:focus {
  outline: 2px solid #82B5A6;
  outline-offset: 2px;
}

/* Content actions stacking */
.content-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.content-actions > div {
  width: auto;
}

/* Findings tab table */
.differentiation-findings-table {
  padding: 8px 0;
}

/* ---- Opportunities Tab ---- */
.differentiation-opportunities-table {
  padding: 8px 0;
}

/* Shared scroll wrapper for findings/opportunities tables */
.differentiation-table-scroll-wrapper {
  max-height: 480px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.opportunities-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.opportunities-table thead th {
  white-space: nowrap;
  font-weight: 600;
  text-transform: capitalize;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid #e5e5e5;
}

.opportunities-dimension-col {
  min-width: 120px;
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff;
}

.opportunities-factor-col {
  min-width: 170px;
}

.opportunities-dimension-label {
  white-space: nowrap;
  vertical-align: top;
  padding-top: 10px;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}

.opportunities-table tbody td {
  border-right: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.opportunities-table tbody td:last-child {
  border-right: none;
}

.opportunities-table tbody tr:last-child td {
  border-bottom: none;
}

.opportunities-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.opportunities-table tbody tr:nth-child(even) td.opportunities-dimension-label {
  background: #f8f9fa;
}

.opportunities-cell {
  vertical-align: top;
  font-size: 0.85em;
  position: relative;
}

.opportunities-cell.has-scroll::after,
.findings-cell.has-scroll::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.85));
  pointer-events: none;
  z-index: 2;
}

.opportunities-cell-inner {
  max-height: 150px;
  overflow-y: auto;
}

.opportunity-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.opportunity-badge {
  flex-shrink: 0;
  font-size: 0.7em;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.opportunity-badge-differentiated {
  background: #82B5A6;
  color: #fff;
}

.opportunity-badge-overlap {
  background: #b5a682;
  color: #fff;
}

.opportunity-badge-missed {
  background: #e07b54;
  color: #fff;
}

.opportunity-badge-whitespace {
  background: #5a82b5;
  color: #fff;
}

.opportunities-legend {
  gap: 12px;
  margin-bottom: 12px;
  line-height: 2;
}

.findings-table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.findings-table thead th {
  white-space: nowrap;
  font-weight: 600;
  text-transform: capitalize;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid #e5e5e5;
}

.findings-brand-col {
  min-width: 130px;
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff;
}

.findings-factor-col {
  min-width: 180px;
}

.findings-brand-name {
  white-space: nowrap;
  font-weight: 500;
  vertical-align: top;
  padding-top: 10px;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}

.findings-table tbody td {
  border-right: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.findings-table tbody td:last-child {
  border-right: none;
}

.findings-table tbody tr:last-child td {
  border-bottom: none;
}

.findings-table tbody tr:nth-child(even):not(.findings-active-brand-row) {
  background: #f8f9fa;
}

.findings-table tbody tr:nth-child(even):not(.findings-active-brand-row) td.findings-brand-name {
  background: #f8f9fa;
}

.findings-active-brand-row {
  background: #f0f7f5;
}

.findings-active-brand-row td.findings-brand-name {
  background: #f0f7f5;
}

.findings-cell {
  vertical-align: top;
  font-size: 0.85em;
  position: relative;
}

.findings-cell-inner {
  max-height: 150px;
  overflow-y: auto;
}

.findings-insights-list {
  margin: 4px 0;
  padding-left: 18px;
  list-style: disc;
}

.findings-insights-list li {
  margin-bottom: 4px;
  line-height: 1.4;
}

/* Dashboard date range picker */
.dashboard-date-range-picker {
  flex-shrink: 0;
}

.dashboard-date-range-picker .dashboard-date-input {
  width: 130px;
  font-size: 0.8em;
  padding: 2px 6px;
  height: 30px;
}

/* Subfactor "See content with recommendations" link */
.subfactor-see-content {
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  margin-top: 10px;
}

.see-recommendations-link {
  color: #EC562C;
  font-size: 13px;
  cursor: pointer;
  display:block;
  text-align:center;
  font-weight:700;
}

.see-recommendations-link:hover {
  opacity: 0.8;
}

.see-recommendations-link.permission-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  color: #999;
  pointer-events: none;
}

/* Recommended Content Modal */
.recommended-content-modal-dialog {
  max-width: 90vw;
}

.rc-content-panel {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 16px;
  min-height: 200px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  max-height: 60vh;
  overflow-y: auto;
}

/* === Status Page === */
.status-content {
  padding: 0;
}
.status-results-container {
  padding: 0 16px 16px;
}
.status-section {
  margin-bottom: 24px;
}
/* Section headings */
.status-group-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95em;
  color: #373B40;
  padding: 10px 0 6px;
  border-bottom: 2px solid #EC562C;
  margin-bottom: 8px;
  margin-top: 16px;
}
.status-group-heading--done {
  border-bottom-color: #009951;
}
.status-group-icon {
  font-size: 18px;
  font-variation-settings: 'FILL' 1;
  color: #EC562C;
}
.status-group-heading--done .status-group-icon {
  color: #009951;
}
/* Accordion list */
.status-accordion {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.status-accordion > li {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  overflow: hidden;
}
.status-accordion > li.uk-open {
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
/* Accordion title (task header) */
.status-task-title {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: inherit;
}
.status-task-title::before {
  display: none; /* hide default UIkit chevron */
}
.status-task-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.status-task-icon-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Spinner colour override */
.status-task-spinner .uk-spinner svg circle {
  stroke: #EC562C;
}
/* Status icon */
.status-task-icon {
  font-size: 24px;
  font-variation-settings: 'FILL' 1;
}
.status-task-icon--done {
  color: #009951;
}
.status-task-icon--error {
  color: #f0506e;
}
.status-task-icon--cancelled {
  color: #999;
}
.status-task-info {
  flex: 1;
  min-width: 0;
}
.status-task-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.status-task-name {
  font-weight: 600;
  font-size: 0.95em;
  word-break: break-word;
}
.status-task-type {
  font-size: 0.75em;
  color: #888;
  background: #f4f4f4;
  border-radius: 4px;
  padding: 1px 6px;
}
/* Status label badge */
.status-task-label {
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 8px;
  background: #ccc;
  color: #fff;
}
.status-task-label--processing {
  background: #EC562C;
}
.status-task-label--success,
.status-task-label--completed {
  background: #009951;
}
.status-task-label--error {
  background: #f0506e;
}
.status-task-label--cancelled,
.status-task-label--canceled {
  background: #999;
}
/* Progress bar */
.status-task-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.status-task-progress-bar {
  flex: 1;
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
}
.status-task-progress-fill {
  height: 100%;
  background: #EC562C;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.status-task-progress-fill--done {
  background: #009951;
}
.status-task-progress-pct {
  font-size: 0.75em;
  color: #888;
  white-space: nowrap;
}
.status-task-time {
  margin-top: 2px;
}
/* Meta row: time + token inline display */
.status-task-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.status-task-meta-row .status-task-time {
  margin-top: 0;
}
.status-task-meta-action {
  margin-left: auto;
}
/* Inline token counter (placed to the right of the time div) */
.status-task-tokens-inline {
  white-space: nowrap;
}
/* Cancel link for in-process tasks */
.status-task-cancel {
  background: none;
  border: 0;
  padding: 0;
  color: #f0506e;
  font: inherit;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.status-task-cancel:hover,
.status-task-cancel:focus {
  color: #c0304a;
  text-decoration: underline;
}
/* Token usage row */
.status-task-tokens {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.78em;
  color: #555;
}
.status-token-icon {
  font-size: 14px;
  color: #EC562C;
  font-variation-settings: 'FILL' 1;
  flex-shrink: 0;
}
.status-token-total {
  font-weight: 600;
}
.status-token-detail {
  color: #888;
}
.status-token-cost {
  color: #009951;
  font-weight: 600;
}
/* Accordion content – activity log */
.status-accordion .uk-accordion-content {
  padding: 0 16px 14px;
  margin: 0;
}
.status-log-scroll {
  height: 220px;
  overflow-y: auto;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 8px 10px;
  background: #fafafa;
  font-size: 0.82em;
}
.status-log-entry {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.4;
}
.status-log-entry:last-child {
  border-bottom: none;
}
.status-log-entry--error .status-log-msg {
  color: #f0506e;
}
.status-log-entry--success .status-log-msg {
  color: #009951;
}
.status-log-msg {
  flex: 1;
  word-break: break-word;
}
.status-log-meta {
  flex-shrink: 0;
  color: #aaa;
  font-size: 0.85em;
  white-space: nowrap;
}
.status-log-tokens {
  color: #EC562C;
  font-weight: 600;
}
