@import url("bootstrap.f0837cf5af8e.css");

/* Language: css */
.bg-batteryos {
  background-color: transparent;
}

/* 
 * Scale the entire site to 90% by reducing base font-size.
 * Since Bootstrap uses rem units (relative to root), this proportionally
 * scales all typography and spacing across all browsers.
 * Default browser font-size is 16px, so 90% = 14.4px base.
 */
html {
  font-size: 90%;
}

body {
  font-family: Inter, sans-serif !important;
}

a,
a:hover,
a:visited {
  text-decoration: inherit;
  color: inherit;
}

.font-imfell {
  font-family: "IM Fell English", sans-serif !important;
}

.nav-link {
  border: 1px solid transparent;
}

.ul-footer {
  list-style-type: none;
  padding-inline-start: 0;
}

.qux-card-with-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 4px;
  height: 100%;
  width: 100%;
  font-size: 1rem;
  min-height: 64px;
}

.split-splash {
  margin-top: 6rem;
}

@media screen and (max-width: 767px) {
  .split-splash {
    margin-top: 2rem;
  }
}

@media screen and (min-width: 768px) {
  .fs-md-5 {
    font-size: 1.25rem !important;
  }
}

h1,
.h1 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 1em;
}

footer {
  font-size: 0.875rem;
}

.cursor-pointer {
  cursor: pointer;
}

/* BatteryOS Logo Spinner */
.spinner {
  width: 48px;
  height: 48px;
  position: relative;
}

.spinner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><rect fill="%2334BA49" opacity="1" x="22" y="4" width="4" height="10" rx="2"/><rect fill="%2334BA49" opacity="0.92" x="22" y="4" width="4" height="10" rx="2" transform="rotate(30 24 24)"/><rect fill="%2334BA49" opacity="0.84" x="22" y="4" width="4" height="10" rx="2" transform="rotate(60 24 24)"/><rect fill="%2334BA49" opacity="0.76" x="22" y="4" width="4" height="10" rx="2" transform="rotate(90 24 24)"/><rect fill="%2334BA49" opacity="0.68" x="22" y="4" width="4" height="10" rx="2" transform="rotate(120 24 24)"/><rect fill="%2334BA49" opacity="0.60" x="22" y="4" width="4" height="10" rx="2" transform="rotate(150 24 24)"/><rect fill="%2334BA49" opacity="0.52" x="22" y="4" width="4" height="10" rx="2" transform="rotate(180 24 24)"/><rect fill="%2334BA49" opacity="0.44" x="22" y="4" width="4" height="10" rx="2" transform="rotate(210 24 24)"/><rect fill="%2334BA49" opacity="0.36" x="22" y="4" width="4" height="10" rx="2" transform="rotate(240 24 24)"/><rect fill="%2334BA49" opacity="0.28" x="22" y="4" width="4" height="10" rx="2" transform="rotate(270 24 24)"/><rect fill="%2334BA49" opacity="0.20" x="22" y="4" width="4" height="10" rx="2" transform="rotate(300 24 24)"/><rect fill="%2334BA49" opacity="0.12" x="22" y="4" width="4" height="10" rx="2" transform="rotate(330 24 24)"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  animation: spin 1s linear infinite;
}

/* Lightning bolt in center (static) - exact logo path */
.spinner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M23.6 17.9L18.9 24.3C18.7 24.5 18.8 24.8 19.0 24.9C19.1 25.0 19.2 25.0 19.4 25.0L24.5 25.0C24.8 25.0 25.0 25.2 25.0 25.5C25.0 25.5 25.0 25.5 25.0 25.6L24.5 29.2C24.5 29.5 24.7 29.7 24.9 29.8C25.1 29.8 25.3 29.7 25.4 29.6L30.1 23.2C30.3 23.0 30.2 22.7 30.0 22.6C29.9 22.5 29.8 22.5 29.7 22.5L24.5 22.5C24.2 22.5 24.0 22.3 24.0 22.0C24.0 22.0 24.0 22.0 24.0 21.9L24.5 18.3C24.5 18.0 24.3 17.8 24.1 17.7C23.9 17.7 23.7 17.8 23.6 17.9Z" fill="%233A3A3A"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

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

/* Fullscreen loading overlay with centered spinner */
#loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#loading.d-none {
  display: none !important;
}

#loading:not(.d-none) {
  display: flex;
}

/* Overlay helper */
.overlay-fullscreen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(138, 136, 136, 0.5);
  z-index: 1000;
}

.overlay-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Charts: shared utilities */
.legend-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  padding: 1px 4px;
  color: #fff;
}

.chart-title {
  font-weight: 600;
}

.aspect-ratio-16-9 {
  position: relative;
  aspect-ratio: calc(16/9);
}

.aspect-ratio-16-9.cover {
  width: 100%;
}

.aspect-ratio-16-9.contain {
  flex-grow: 1;
}


.aspect-ratio-16-9>canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.aspect-ratio-16-9 .subscription-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  /* semi-opaque white */
  backdrop-filter: blur(8px);
  /* blur background */
  -webkit-backdrop-filter: blur(8px);
  /* Safari support */
}

.custom-aspect-ratio {
  position: relative;
  width: 100%;
}

.custom-aspect-ratio>canvas {
  position: absolute;
  inset: 0;
}

.overlay-panel {
  position: absolute;
  inset: 0;
  display: none;
  background: rgba(138, 136, 136, 0.35);
  z-index: 10;
}

/* Fullscreen modals: remove excess padding/height and make content flex to avoid overflow */
.modal-fullscreen .modal-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.modal-fullscreen .modal-body {
  flex: 1 1 auto;
  padding: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#modal-btn-toolbar,
.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
  padding: .5rem .75rem;
}

/* Ensure the 16:9 box scales to available space without overflowing */
.modal-fullscreen .modal-body .aspect-ratio-16-9 {
  width: 100%;
  max-height: 100%;
}

.modal-fullscreen .modal-body .aspect-ratio-16-9>canvas {
  width: 100% !important;
  height: 100% !important;
}

/* If any charts still use this legacy class, let them fill the wrapper */
.modal-chart-container {
  width: 100%;
  height: 100%;
}

/* Chart cards */
.chart-card .card-header {
  padding: .5rem .75rem;
  min-height: 44px;
}

.chart-card .card-header .title {
  margin: 0;
  line-height: 1.25;
}

.chart-card .card-header .btn {
  line-height: 1;
}

.chart-card .legend-label {
  display: inline-flex;
  align-items: center;
  height: 1.25rem;
  line-height: 1;
  padding: 0 .375rem;
  border-radius: .25rem;
}

.chart-card .custom-aspect-ratio {
  height: 320px;
  padding-top: 0;
}

@media (min-width: 768px) {
  .chart-card .custom-aspect-ratio {
    height: 360px;
  }
}

/* Page header (owner name) aligned with chart headers */
.owner-title {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
}

/* Dropdowns */

.dropdown.bos-dropdown {
  width: max-content;
}

.scrollable-menu {
  height: auto;
  max-height: 201px;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Buttons */

.disabled {
  opacity: 0.5 !important;
  pointer-events: none;
}

/* Report Cards */

.report-card {
  overflow: hidden;
}

.report-card .overlay {
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: end;
  background: linear-gradient(to top,
      #198754 0%,
      #198754C0 12.5%,
      #19875440 37.5%,
      #19875420 50%,
      #19875400 75%);
  color: #fff;
}

.report-card .overlay.coming-soon {
  cursor: auto;
  background: linear-gradient(to top,
      #6c757d 0%,
      #6c757dC0 12.5%,
      #6c757d40 37.5%,
      #6c757d20 50%,
      #6c757d00 75%);
}

/* Report Thumbnail */

.report-thumbnail {
  cursor: pointer;
  overflow: hidden;
}

.report-thumbnail .overlay.hover {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  align-content: center;
  text-align: center;
  background-color: #198754C0;
  color: #fff;
  transition: opacity 0.25s ease-in-out;
}

.report-thumbnail:hover .overlay.hover {
  opacity: 1;
}

/* ========================================
   Utility classes (migrated from odin/site.css)
   ======================================== */

/* Disable pointer events */
.no-hover {
  pointer-events: none !important;
}

/* Remove focus box-shadow */
.no-focus {
  box-shadow: none !important;
}

/* Form focus states - remove box shadow for cleaner look */
.form-control:focus,
.form-select:focus {
  box-shadow: none;
}

/* Responsive button groups */
@media screen and (min-width: 576px) {
  .btn-sm-group {
    flex-direction: row;
  }

  .btn-sm-group>.btn-sm-group:not(:first-child),
  .btn-sm-group>:not(.btn-check:first-child)+.btn {
    margin-left: -1px;
  }

  .btn-group-vertical .btn-sm-group {
    border-radius: unset;
  }

  .btn-sm-group>.btn-sm-group:not(:last-child)>.btn,
  .btn-sm-group>.btn.dropdown-toggle-split:first-child,
  .btn-sm-group>.btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: var(--bs-btn-border-radius);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .btn-sm-group>.btn-sm-group:not(:first-child)>.btn,
  .btn-sm-group>.btn:nth-child(n+3),
  .btn-sm-group>:not(.btn-check)+.btn {
    border-radius: var(--bs-btn-border-radius);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

/* Select2 border radius fixes */
.select2-container--bootstrap-5 .select2-selection {
  border-radius: 0.375rem !important;
}

.select2-container--bootstrap-5.select2-container--open.select2-container--below .select2-selection {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
  border-bottom-left-radius: 0.375rem !important;
  border-bottom-right-radius: 0.375rem !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
  border-color: inherit;
  box-shadow: none !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-color: inherit;
  box-shadow: none !important;
}

/* added bootstrap-5 theme to select2 dropdown so it handles all the styling */
/* .input-group>.select2-container--bootstrap-5 .select2-selection,
.input-group>.select2-container--bootstrap-5 .select2-dropdown {
  border-radius: 0 !important;
} */

.input-group>.select2-container--bootstrap-5 .select2-selection:last-child {
  border-top-right-radius: 0.375rem !important;
  border-bottom-right-radius: 0.375rem !important;
}

.input-group>.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.input-group>.select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-bottom-right-radius: 0 !important;
}

/* Form container max-width */
.bos-rightside-content-form {
  margin: 0 auto 2.5rem auto !important;
  max-width: 1200px !important;
}

/* Account section styling */
.account_section {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.account_section:first-child {
  margin-top: 0;
}

#account {
  --account-border-radius: 0.50rem;
}

#ratecard .row:first-of-type {
  border-top-left-radius: var(--account-border-radius);
  border-top-right-radius: var(--account-border-radius);
}

#ratecard .row:last-of-type {
  border-bottom-left-radius: var(--account-border-radius);
  border-bottom-right-radius: var(--account-border-radius);
}

/* Aspect ratio helpers */
.ratio-5x2 {
  --bs-aspect-ratio: 40%;
}

@media screen and (min-width: 768px) and (orientation: landscape) {
  .ratio-md-5x2 {
    --bs-aspect-ratio: 40%;
  }
}

/* Font utilities */
.font-roboto {
  font-family: Roboto, sans-serif !important;
}

.font-roboto-flex {
  font-family: "Roboto Flex", sans-serif !important;
}

/* Text utilities */
.text-orange {
  color: orange !important;
}

.text-highlight {
  background-color: yellowgreen;
  margin: -0.25rem;
  padding: 0.25rem;
  border-radius: 0.125rem;
}

/* Pricing plan feature styling */
.plan-feature-price {
  background-color: rgb(0, 64, 128, 0.05);
}

.plan-feature-price:first-of-type {
  background-color: rgb(0, 64, 128, 0.25);
}

/* Responsive min-width */
@media screen and (min-width: 992px) {
  .col-lg-min {
    min-width: 360px;
  }
}

/* Active item highlight */
.item-active {
  background-color: #D4D4D4 !important;
  color: #fff !important;
}

.table-listview thead {
  background: #34BA4980 !important;
}

/* ========================================
   BatteryOS Green Branding Overrides
   Change primary color from Bootstrap blue to BatteryOS green
   ======================================== */

/* Override Bootstrap primary color variables */
:root {
  --bs-primary: #198754;
  --bs-primary-rgb: 25, 135, 84;
  --bos-bg-light: #f0faf4;
  --bos-bg-medium: #e3f5eb;
  --bos-green: #198754;
  --bos-green-rgb: 25, 135, 84;
}

/* =============================================
   SECTION SYSTEM — Consistent spacing & colors
   ============================================= */

/* Alternating section backgrounds */
.section-white {
  background: #ffffff;
}

.section-tinted {
  background: var(--bos-bg-light);
}

.section-heading {
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-heading-underline {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-heading-underline::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--bos-green);
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* Shared typography */
.lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #495057;
}

/* Common Hero Gradient (used in Home and Solutions) */
.bg-hero-gradient {
  background: linear-gradient(170deg, #ffffff 0%, var(--bos-bg-medium) 60%, #d0f0db 100%);
}

/* btn-primary override */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  --bs-btn-bg: #198754;
  --bs-btn-border-color: #198754;
  --bs-btn-hover-bg: #157347;
  --bs-btn-hover-border-color: #146c43;
  --bs-btn-active-bg: #146c43;
  --bs-btn-active-border-color: #13653f;
  --bs-btn-disabled-bg: #198754;
  --bs-btn-disabled-border-color: #198754;
}

/* btn-outline-primary override */
.btn-outline-primary {
  --bs-btn-color: #198754;
  --bs-btn-border-color: #198754;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #198754;
  --bs-btn-hover-border-color: #198754;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #198754;
  --bs-btn-active-border-color: #198754;
}

/* bg-primary override */
.bg-primary {
  background-color: #198754 !important;
}

/* Progress bar override */
.progress-bar.bg-primary {
  background-color: #198754 !important;
}

/* btn-check:checked + btn-outline-primary styling */
.btn-check:checked+.btn-outline-primary,
.btn-check:active+.btn-outline-primary {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
}

/* btn-outline-custom - custom button style for Odin forms */
.btn-outline-custom {
  --bs-btn-color: #000;
  --bs-btn-border-color: #ced4da;
  --bs-btn-border-radius: 0.375rem;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #e9ecef;
  --bs-btn-hover-border-color: #ced4da;
  --bs-btn-focus-shadow-rgb: 25, 135, 84;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #d3d8de;
  --bs-btn-active-border-color: #ced4da;
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: #ced4da;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ced4da;
  --bs-gradient: none;
}

/* Checked state for btn-outline-custom - BatteryOS green filled background */
.btn-check:checked+.btn-outline-custom,
.btn-check:active+.btn-outline-custom {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
}

/* List group active states */
.list-group-item.active {
  background-color: #198754;
  border-color: #198754;
}

/* Nav pills active states */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #198754;
  color: #fff;
}

/* Accordion button focus state */
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
  border-color: #75d99a;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

/* Prevent focus state flickering on dropdown and collapse elements */
/* bug - hover effect(transparent bg) when dropdown button is active. */
.dropdown-item:focus,
.dropdown-item:active,
[data-bs-toggle="collapse"]:focus,
[data-bs-toggle="collapse"]:active,
[data-bs-toggle="dropdown"]:focus,
[data-bs-toggle="dropdown"]:active {
  outline: none;
  box-shadow: none;
  /* background-color: transparent; */
}

/* Only show highlight on hover, not on focus */
.dropdown-menu .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Custom CSS to change the disabled button's opacity - dropdown-secondary-btn (custom class name) */
.dropdown-secondary-btn:disabled,
.dropdown-secondary-btn.disabled {
  opacity: 1 !important;
}

/* Pagination Overrides */
.pagination .page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.pagination .page-link i {
  color: var(--bs-primary);
}

/* --- Brand Theme Alignment --- */

/* Navbar Glassmorphism */
.navbar-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


/* Team Cards */
.team-card {
  background: #f8faf9;
  border: 1px solid rgba(25, 135, 84, 0.08);
  /* bos-green low opacity */
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-align: center;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(25, 135, 84, 0.2);
}

.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.team-card .name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #212529;
}

.team-card .title {
  display: block;
  font-size: 0.95rem;
  color: #198754;
  /* bos-green */
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.team-card .company {
  display: block;
  font-size: 0.85rem;
  color: #6c757d;
}

/* =============================================
   BATTERYOS LAYOUT OVERRIDES 
   Prevents qux base styles from breaking dashboard
   ============================================= */

/* 1. Remove the forced beige body background from qux */
body {
  background-color: var(--bs-body-bg, #f8faf9) !important;
}

/* 2. Fix the sidebar being distorted by qux's 1rem padding */
.navbar.sidebar {
  padding: 0;
}

/* 3. Fix the logo size being enlarged by qux's 2.5rem static height */
.navbar-brand img {
  height: 32px;
  width: auto;
}

/* =============================================
   CUSTOMER LOGO SECTION
   ============================================= */
.customer-logos-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.customer-logo {
  max-width: 240px;
  max-height: 150px;
  width: auto;
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.customer-logo:hover {
  transform: scale(1.05);
}