Custom styles for Mira Frontend

/* Style input fields and textareas */
wc-lhc-form input[type="text"],
wc-lhc-form textarea,
wc-lhc-form .lhc-de-input-unit input {
  /* Mimic Bootstrap's .form-control styles */
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-form-control-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  appearance: none;
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

wc-lhc-form input[type="text"]:focus,
wc-lhc-form textarea:focus,
wc-lhc-form .lhc-de-input-unit input:focus {
    border-color: #86b7fe; /* Example focus color */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Example focus shadow */
}

/* Style labels */
wc-lhc-form label.lhc-question {
  /* Mimic Bootstrap's .form-label styles */
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: var(--bs-form-label-font-weight);
  color: var(--bs-form-label-color);
}

/* Style radio button groups and individual radio buttons */
wc-lhc-form .ant-radio-group {
  /* Adjust spacing and alignment for radio groups */
  display: flex; /* Example: display radio options in a row */
  gap: 1rem; /* Example: add space between radio options */
  align-items: center;
}

wc-lhc-form .ant-radio-wrapper {
   /* Style individual radio button wrappers */
   /* Mimic Bootstrap's .form-check styles if needed */
   display: flex;
   align-items: center;
   cursor: pointer;
}

wc-lhc-form .ant-radio {
    /* Style the radio button input and inner circle */
    margin-right: 0.375rem; /* Space between radio and label */
}

wc-lhc-form .ant-radio-inner {
   /* Style the radio button circle */
   width: 1em;
   height: 1em;
   border: 1px solid #d9d9d9;
   border-radius: 50%;
   position: relative;
   top: 0.2em;
   left: 0;
   display: block;
   background-color: #fff;
   transition: all .3s;
}

wc-lhc-form .ant-radio-input {
    /* Hide the default radio input */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

wc-lhc-form .ant-radio-checked .ant-radio-inner {
    border-color: var(--bs-primary);
}

wc-lhc-form .ant-radio-checked .ant-radio-inner::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0.5em;
    height: 0.5em;
    margin-top: -0.25em;
    margin-left: -0.25em;
    background-color: var(--bs-primary);
    border-radius: 50%;
    content: "";
    animation: antRadioEffect .3s ease-in-out;
}

@keyframes antRadioEffect {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}


/* Style date pickers */
wc-lhc-form .ant-picker {
  /* Style the date picker container */
  /* Mimic Bootstrap's .form-control for input-like appearance */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--bs-body-color);
  font-size: 1rem;
  line-height: 1.5;
  list-style: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: var(--bs-form-control-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

wc-lhc-form .ant-picker-input input {
  /* Style the date picker input field */
  /* Ensure it looks like a standard text input */
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-form-control-bg);
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  height: auto; /* Adjust height as needed */
}

wc-lhc-form .ant-picker-suffix {
    color: var(--bs-secondary-color); /* Style the calendar icon color */
    margin-right: 0.5rem;
}


/* Adjust layout for sections and groups */
wc-lhc-form .lhc-item-group > .lhc-layout-horizontal > .lhc-form-horizontal-table-title {
    margin-bottom: 1rem; /* Add space below section titles */
}

wc-lhc-form .lhc-form-horizontal-table {
    width: 100%; /* Ensure tables take full width */
    margin-bottom: 1rem; /* Add space below tables */
    border-collapse: collapse;
}

wc-lhc-form .lhc-form-horizontal-table th,
wc-lhc-form .lhc-form-horizontal-table td {
    padding: 0.75rem; /* Add padding to table cells */
    vertical-align: top;
    border-top: 1px solid var(--bs-border-color); /* Add borders between rows */
}

wc-lhc-form .lhc-form-horizontal-table th {
    text-align: left;
    font-weight: bold;
}

wc-lhc-form .lhc-data-row {
    /* Style for data rows in repeatable sections */
}

wc-lhc-form .lhc-button-padding {
    margin-top: 1rem; /* Add space above add/remove buttons */
}

wc-lhc-form .lhc-float-button.lhc-button {
    /* Style for add/remove buttons */
    /* Mimic Bootstrap button styles */
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: var(--bs-border-width) solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: var(--bs-border-radius);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: var(--bs-link-color); /* Example: make it look like a link button */
}

wc-lhc-form .lhc-float-button.lhc-button:hover {
    color: var(--bs-link-hover-color);
    text-decoration: underline;
}

/* Adjust spacing for individual form items */
wc-lhc-form .lhc-item-question {
    margin-bottom: 1rem; /* Add space below each question/item */
}

/* Ensure the web component container takes appropriate width */
#lhc-form-container {
    width: 100%;
}

/* Basic styling for the main form container within the web component */
wc-lhc-form form.lhc-form {
    padding: 1rem; /* Add some padding around the form content */
    border: 1px solid var(--bs-border-color); /* Optional: Add a border to the form */
    border-radius: var(--bs-border-radius);
    background-color: var(--bs-body-bg);
}

/* Style for required indicator */
wc-lhc-form .lhc-required {
    color: var(--bs-danger); /* Use Bootstrap danger color for required indicator */
    margin-left: 0.25rem;
}

/* Style for validation messages */
wc-lhc-form .lhc-item-messages {
    color: var(--bs-danger); /* Use Bootstrap danger color for error messages */
    font-size: 0.875em; /* Smaller font size for messages */
    margin-top: 0.25rem;
}

/* Style for autocomplete loading indicator */
wc-lhc-form .loading-indicator-container progress {
    /* Style the progress bar if needed */
    margin-left: 0.5rem;
}

.screen_reader_only{
    display:none;
}

/* Styles for LHC Forms Autocomplete Suggestion List (rendered in document body) */
.form_auto_complete {
    position: absolute !important;
    z-index: 9999 !important; /* Ensure it's above other content */
    border: 1px solid var(--bs-border-color) !important;
    background-color: var(--bs-body-bg) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    display: block !important; /* Force display */
    visibility: visible !important; /* Force visibility */
    opacity: 1 !important; /* Force opacity */
    /* Adjust positioning as needed - will be set by JS */
    top: 0;
    left: 0;
}

#completionOptionsScroller {
    max-height: 200px !important; /* Limit height and add scroll */
    overflow-y: auto !important;
    display: block !important;
    visibility: visible !important;
}

#completionOptions {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
}

.form_auto_complete li {
    padding: 0.5rem 0.75rem !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    color: var(--bs-body-color) !important;
    display: block !important;
    visibility: visible !important;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.form_auto_complete li:hover {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-body-color) !important;
}

.form_auto_complete li.selected {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/* Style for the "See more items" link */
#moreResults {
    padding: 0.5rem 0.75rem;
    text-align: center;
    cursor: pointer;
    color: var(--bs-link-color);
    border-top: 1px solid var(--bs-border-color);
}

#moreResults:hover {
    text-decoration: underline;
}

/* Style for the search count and hint */
#searchCount,
#searchHint {
    padding: 0.5rem 0.75rem;
    font-size: 0.875em;
    color: var(--bs-secondary-color);
}

#searchResults {
  display: none !important;
}

/* Additional LHC-Forms autocomplete selectors - ensure all possible dropdown elements are visible */
wc-lhc-form .lhc-autocomplete-container {
    position: relative !important;
}

wc-lhc-form .lhc-autocomplete-results,
wc-lhc-form .lhc-autocomplete-dropdown,
wc-lhc-form .autocomplete-results,
wc-lhc-form .autocomplete-dropdown {
    position: absolute !important;
    z-index: 9999 !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    background-color: var(--bs-body-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 6px 12px rgba(0,0,0,.175) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

wc-lhc-form .lhc-autocomplete-item,
wc-lhc-form .autocomplete-item {
    padding: 5px 10px !important;
    cursor: pointer !important;
    display: block !important;
    visibility: visible !important;
    color: var(--bs-body-color) !important;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

wc-lhc-form .lhc-autocomplete-item:hover,
wc-lhc-form .lhc-autocomplete-item.active,
wc-lhc-form .autocomplete-item:hover,
wc-lhc-form .autocomplete-item.active {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-body-color) !important;
}

/* Force visibility for any hidden autocomplete elements */
wc-lhc-form [class*="autocomplete"][style*="display: none"],
wc-lhc-form [class*="completion"][style*="display: none"] {
    display: block !important;
}

/* Ensure autocomplete containers have proper positioning context */
wc-lhc-form .lhc-de-input-unit {
    position: relative !important;
}
.logo-lg {
  display: flex;
  align-items: center;
}

.logo-lg img {
  margin-right: 8px;
}
/* Ensure items within navbar-header's direct d-flex children are centered */
.navbar-header > .d-flex {
  align-items: center;
  max-width: 100%;
}
#vertical-menu-btn {
  border: none !important;
  display: flex !important; /* Enable flex for centering icon */
  align-items: center !important; /* Vertically center icon */
  justify-content: center !important; /* Horizontally center icon */
  padding: 0 !important; /* Remove any padding that might affect alignment */
}
.alert-with-padding {
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size:1rem;
}

.main-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    /* overflow-x: hidden; */
  }
  
  @media (max-width: 620px) {
    .main-container {
      /* flex-direction: column-reverse;  Reverses the order of items in column layout */
      width: 100%;
      /* height: 80vh; */
    }
  }

  .page-topbar {
    max-width: 100%;
  }

  /* Responsive language buttons */
  .language-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  /* Make images responsive */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Global rule to prevent horizontal overflow */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Ensure body doesn't overflow */
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  /* Fix for modal footer on small screens */
  .modal-footer {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem;
  }

/* Fix for Bootstrap breadcrumb separator icon */
ol.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "\f054" !important; /* Font Awesome 5 Free - chevron-right */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important; /* Needed for solid icons */
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
}

/* Sidebar overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040; /* Bootstrap modal backdrop z-index */
  display: flex;
  justify-content: flex-end; /* Push the sidebar to the right */
}

.sidebar-panel {
  background-color: #fff;
  width: 40vw; /* Adjust width as needed */
  height: 100%;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  position: relative; /* For positioning close button */
}

.sidebar-panel.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.sidebar-body {
  padding: 15px;
  overflow-y: auto;
  height: calc(100% - 60px); /* Adjust based on header height */
}

.sidebar-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6c757d;
}

.sidebar-close-btn:hover {
  color: #343a40;
}

body[data-bs-theme="dark"] .sidebar-panel {
  background-color: var(--bs-body-bg); /* Use dark background */
  box-shadow: -2px 0 5px rgba(255, 255, 255, 0.2); /* Lighter shadow for dark mode */
}

body[data-bs-theme="dark"] .sidebar-header {
  background-color: var(--bs-body-bg); /* Use dark background */
  color: var(--bs-body-color); /* Use light text */
  border-bottom: 1px solid var(--bs-border-color); /* Darker border */
}

body[data-bs-theme="dark"] .sidebar-content { /* Assuming a sidebar-content class for inner content */
  color: var(--bs-body-color); /* Use light text */
}

/* Sidebar Card Styles for Admin Pages */
.sidebar-panel .card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sidebar-panel .card-body {
  padding: 1.25rem;
}

.sidebar-panel .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-panel .card-title.text-primary {
  color: var(--bs-primary) !important;
}

/* Sidebar card text and content styling */
.sidebar-panel .card-body p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #495057;
}

.sidebar-panel .card-body p strong {
  font-weight: 600;
  color: #2c3e50;
}

/* Dark mode support for sidebar cards */
body[data-bs-theme="dark"] .sidebar-panel .card {
  background-color: var(--bs-dark);
  border-color: var(--bs-border-color);
}

body[data-bs-theme="dark"] .sidebar-panel .card-title {
  color: var(--bs-light);
  border-bottom-color: var(--bs-border-color);
}

body[data-bs-theme="dark"] .sidebar-panel .card-body p {
  color: var(--bs-body-color);
}

body[data-bs-theme="dark"] .sidebar-panel .card-body p strong {
  color: var(--bs-light);
}

/* Invert logo colors in dark mode */
.inverted-image {
  filter: invert(100%); /* Full color inversion */
}
/* Admin Tools Bottom Left Positioning */
#sidebar-menu {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 40px);
}

#sidebar-menu > ul#side-menu {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}

#sidebar-menu > ul#side-menu::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Menu item (only last li) positioned at bottom left  */

.bottom-left-menu-item {
  position: fixed;
  bottom: 0;
  left: 0;
}

body[data-bs-theme="dark"] .bottom-left-menu-item {
  position: fixed;
  bottom: 0;
  left: 0;
}

body[data-sidebar-size="sm"] .bottom-left-menu-item {
  position: fixed !important;
  bottom: 0;
  left: 0;
}

body[data-sidebar-size=md] .bottom-left-menu-item {
  position: fixed !important;
  bottom: 0;
  left: 0;
}

/* Version positioned at bottom left  */

.bottom-left {
  width: 100%;
  z-index: 1000;
  background-color: #fbfaff;
}
/**
 * Step Progress Indicator Styles for Patient Check-In
 * This file provides styling for the step progress indicator in the check-in flow
 */

/* Step Progress Wrapper */
.step-progress-wrapper {
  margin-bottom: 2rem;
  padding: 1rem 0;
}

/* Step Progress Container */
.step-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

/* Line connecting steps */
.step-progress:before {
  content: '';
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--bs-border-color);
  transform: translateY(-50%);
  z-index: 0;
}

/* Step Item */
.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* z-index: 1; */
  flex: 1;
}

/* Step Item Icon */
.step-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bs-light);
  border: 2px solid var(--bs-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--bs-body-color);
  transition: all 0.3s ease;
}

/* Step Item Label */
.step-item-label {
  font-size: 0.875rem;
  color: var(--bs-body-color);
  text-align: center;
  transition: all 0.3s ease;
}

/* Active Step */
.step-item.active .step-item-icon {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.step-item.active .step-item-label {
  color: var(--bs-primary);
  font-weight: 600;
}

/* Completed Step */
.step-item.completed .step-item-icon {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
  color: #fff;
}

/* Clickable Step */
.step-item.clickable {
  cursor: pointer;
}

.step-item.clickable:hover .step-item-icon {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .step-item-label {
    font-size: 0.75rem;
  }
  
  .step-item-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 576px) {
  .step-item-label {
    display: none;
  }
  
  .step-progress:before {
    top: 16px;
  }
}

/* Feather icon spin animation */
@keyframes feather-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.feather-spin {
  animation: feather-spin 2s linear infinite;
}

/* Heart pulse animation */
@keyframes heart-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.heart-pulse {
  animation: heart-pulse 1.5s infinite;
  display: inline-block;
}

/* Failed Step */
.step-item.failed .step-item-icon {
  background-color: var(--bs-danger); /* Use Bootstrap danger color for failed */
  border-color: var(--bs-danger);
  color: #fff;
}

.step-item.failed .step-item-label {
  color: var(--bs-danger); /* Use Bootstrap danger color for failed */
  font-weight: 600;
}
/* Styles for SupportDeskPage */
.support-desk-container {
  padding: 20px;
  background-color: #f8f9fa; /* Light background */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.support-desk-header {
  background-color: #2c3e50; /* Dark blue from Etsy image */
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  margin: -20px -20px 20px -20px; /* Adjust to fill container */
}

.support-desk-header h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.search-bar-container {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.search-input {
  flex-grow: 1;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  color: #2c3e50;
  outline: none;
}

.search-button {
  background-color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  color: #2c3e50;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #f0f0f0;
}

.support-desk-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.tab-button {
  background: none;
  border: none;
  padding: 15px 25px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-button.active {
  color: #007bff; /* Bootstrap primary blue */
  border-bottom-color: #007bff;
  font-weight: 600;
}

.tab-button:hover:not(.active) {
  color: #0056b3;
}

.featured-articles-section {
  margin-bottom: 40px;
}

.featured-articles-section h3 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  font-size: 1.8rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.article-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.article-item:hover {
  transform: translateY(-5px);
}

.article-item a {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
  font-size: 1.1rem;
}

.article-item a:hover {
  text-decoration: underline;
}

.chatbot-section {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-section p {
  font-size: 1.1rem;
  color: #555;
}
/* Chatbot specific styles */
.chatbot-conversation {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  max-height: 400px;
  overflow-y: auto;
  background-color: #fefefe;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
  font-size: 1.2em;
  word-wrap: break-word;
}

.chat-message.bot {
  background-color: #ececec;  /* #6c99ab; Light blue for bot messages */
  align-self: flex-start;
}

.chat-message.user {
  background-color: #007bff; /* Primary blue for user messages */
  color: #fff;
  align-self: flex-end;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: flex-start;
}

.chat-option-button {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.chat-option-button:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

.chat-input-form {
  display: flex;
  margin-top: 15px;
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
}

.chat-input-field {
  flex-grow: 1;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 1rem;
  outline: none;
  margin-right: 10px;
}

.chat-input-field:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.chat-send-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.chat-send-button:hover {
  background-color: #0056b3;
}

/* AG-Grid Styles for cells outside viewport */
/* Force rendering of all cells including those outside viewport */
/* This is just an aesthetic fix for CasesPage. If hurting performance, disable */
.ag-theme-quartz .ag-center-cols-viewport {
  overflow-x: auto !important;
}

/* Fix for cells outside viewport */
.ag-theme-quartz .ag-center-cols-container {
  will-change: transform;
}

/* Custom form input - Responsive single character input boxes */
.custom-form-input-container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.25rem;
  max-width: 100%;
}

.custom-form-input {
  width: 45px !important;
  height: 45px !important;
  font-size: 20px !important;
  text-align: center;
  flex-shrink: 0;
}

.custom-form-input.prefix {
  background-color: #a3a3a3;
  color: #ffffff;
  cursor: not-allowed;
}

/* Tablet screens */
@media (max-width: 768px) {
  .custom-form-input-container {
    gap: 0.2rem;
  }
  
  .custom-form-input {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .custom-form-input-container {
    gap: 0.15rem;
    /* padding: 0 0.25rem; */
  }
  
  .custom-form-input.prefix {
    display: none;
  }
  .custom-form-input {
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
  }
}

/* Very small mobile screens */
@media (max-width: 360px) {
  .custom-form-input-container {
    gap: 0.1rem;
    padding: 0;
  }
  
  .custom-form-input {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
    margin: 0 2px !important;
  }
}

/* Main container image section responsive styles */
.main-container .position-relative {
  min-height: 400px;
}

@media (max-width: 576px) {
  /* Mobile: Reduce image container height */
  .main-container .position-relative {
    min-height: 200px !important;
    margin-top: 1rem;
  }
  
  /* Adjust image sizes on mobile */
  .main-container .position-relative img {
    width: 70% !important;
    max-width: 250px !important;
  }
  
  .main-container .position-relative img:nth-child(2) {
    width: 50% !important;
    max-width: 150px !important;
    bottom: -20px !important;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  /* Tablet: Medium image container height */
  .main-container .position-relative {
    min-height: 300px !important;
  }
}

.zoom-meeting-container.mobile .truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 150px;
}

/* DISABLE SURVEYJS POPUP */
.svc-creator__banner {
  display:none !important;
}

.shadow-lg.text-theme-text.rounded-full {
   z-index: 1050 !important;
}

/* ========================================
   Animated Gradient Generate Button
   ======================================== */

/* Generate button with gradient and stars */
.btn-generate-note {
  position: relative;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 25%, #d946ef 50%, #f43f5e 75%, #ef4444 100%);
  background-size: 200% 200%;
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
/* Animated gradient background */
.btn-generate-note:not(:disabled):not(.disabled) {
  animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated border glow */
.btn-generate-note::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef, #f43f5e, #ef4444);
  background-size: 400% 400%;
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-generate-note:not(:disabled):not(.disabled):hover::before {
  opacity: 1;
}

/* Sparkle effect overlay */
.btn-generate-note::after {
  content: '✨';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1.2);
  }
}

/* Hover effects */
.btn-generate-note:not(:disabled):not(.disabled):hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Active/pressed state */
.btn-generate-note:not(:disabled):not(.disabled):active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

/* Disabled state */
.btn-generate-note:disabled,
.btn-generate-note.disabled {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  background-size: 100% 100%;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
  animation: none;
}

.btn-generate-note:disabled::before,
.btn-generate-note.disabled::before {
  display: none;
}

.btn-generate-note:disabled::after,
.btn-generate-note.disabled::after {
  opacity: 0.4;
  animation: none;
}

/* Loading state spinner */
.btn-generate-note .spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* Icon styling */
.btn-generate-note i,
.btn-generate-note .fas {
  margin-right: 8px;
}

/* Pulsing border effect for emphasis */
.btn-generate-note.pulse-border {
  animation: gradientShift 3s ease infinite, pulseBorder 2s ease-in-out infinite;
}

@keyframes pulseBorder {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6), 0 0 30px rgba(217, 70, 239, 0.4);
  }
}
/**
 * ROI Calculator - Custom Styles
 *
 * Most styling uses Bootstrap classes.
 * This file only contains custom styles for visually interesting elements.
 */

/* ROI Calculator - Ensure Bootstrap heading styles work */
.roi-calculator-page h1,
.roi-calculator-page .h1 {
  font-size: calc(1.34375rem + 1.125vw);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.roi-calculator-page h2,
.roi-calculator-page .h2 {
  font-size: calc(1.3rem + 0.6vw);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.roi-calculator-page h3,
.roi-calculator-page .h3 {
  font-size: calc(1.278125rem + 0.3375vw);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.roi-calculator-page h4,
.roi-calculator-page .h4 {
  font-size: calc(1.25625rem + 0.075vw);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.roi-calculator-page h5,
.roi-calculator-page .h5 {
  font-size: 1.09375rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.roi-calculator-page h6,
.roi-calculator-page .h6 {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (min-width: 1200px) {
  .roi-calculator-page h1, .roi-calculator-page .h1 {
    font-size: 2.1875rem;
  }
  .roi-calculator-page h2, .roi-calculator-page .h2 {
    font-size: 1.75rem;
  }
  .roi-calculator-page h3, .roi-calculator-page .h3 {
    font-size: 1.53125rem;
  }
  .roi-calculator-page h4, .roi-calculator-page .h4 {
    font-size: 1.3125rem;
  }
}

/* Match heights for Ankr Investment cards */
.roi-calculator-page .ankr-investment-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.roi-calculator-page .ankr-investment-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Gradient header card */
.roi-header-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.roi-header-card .text-primary {
  color: white !important;
}

.roi-header-card .text-muted {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Highlight cards with gradient */
.roi-highlight-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roi-highlight-card .h2 {
  color: white !important;
}

.roi-highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* Selected capability card animation */
.capability-card-selected {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
  }
}

/* Capability toggle switch - larger and more prominent */
.capability-toggle {
  cursor: pointer;
  width: 50px !important;
  height: 28px !important;
  background-color: #cbd5e0 !important;
  border: 2px solid #cbd5e0 !important;
  background-image: none !important;
  transition: all 0.3s ease !important;
}

.capability-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25) !important;
  border-color: #667eea !important;
}

.capability-toggle:checked {
  background-color: #667eea !important;
  border-color: #667eea !important;
  background-image: none !important;
}

.capability-toggle:hover {
  border-color: #667eea !important;
}

/* Remove spinner arrows from number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Icon wrapper with subtle animation */
.capability-icon-wrapper {
  transition: transform 0.3s ease;
}

.capability-card-selected .capability-icon-wrapper {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Submit button with gradient and hover effect */
.roi-submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roi-submit-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.roi-submit-btn:active {
  transform: translateY(-1px);
}

/* Card hover effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  /* transform: translateY(-2px); */
}

/* Sidebar submenu toggle */
#sidebar-menu .mm-active > .has-arrow:after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
#sidebar-menu .has-arrow:after {
  content: "\f105";
  font-family: "Font Awesome 6 Pro";
  font-weight: 600;
  display: block;
  float: right;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
  font-size: 0.9rem;
  margin-left: -5px;
  margin-top: 1px;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li > a.has-arrow:after {
  display: none;
}

body[data-sidebar-size=sm] #sidebar-menu .mm-active > .has-arrow:after {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

body[data-sidebar-size=md] .vertical-menu .has-arrow:after,
body[data-sidebar-size=md] .vertical-menu .badge,
body[data-sidebar-size=md] .vertical-menu .sidebar-alert {
  display: none !important;
}


.metismenu {
  margin: 0;
}
.metismenu li {
  display: block;
  width: 100%;
}
.metismenu .mm-collapse {
  display: none;
}
.metismenu .mm-collapse:not(.mm-show) {
  display: none;
}
.metismenu .mm-collapse.mm-show {
  display: block;
}
.metismenu .mm-collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: 0.35s;
          transition-duration: 0.35s;
  -webkit-transition-property: height, visibility;
  transition-property: height, visibility;
}

/* #sidebar-menu ul li ul.sub-menu { */
  /* padding: 0 0 0 1rem; */
/* } */
#sidebar-menu ul li ul.sub-menu li a {
  /* padding: 0.4rem 3.3rem 0.4rem 1.5rem; */
  font-size: 0.85rem;
  color: var(--bs-sidebar-menu-sub-item-color);
}
#sidebar-menu ul li ul.sub-menu li a:hover {
  color: var(--bs-sidebar-menu-item-hover-color);
}
#sidebar-menu ul li ul.sub-menu li ul.sub-menu {
  padding: 0;
}
#sidebar-menu ul li ul.sub-menu li ul.sub-menu li a {
  padding: 0.4rem 4.5rem 0.4rem 1.5rem;
  font-size: 13px;
}

body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a {
  color: var(--bs-sidebar-dark-menu-sub-item-color);
}
body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a:hover {
  color: var(--bs-sidebar-dark-menu-item-hover-color);
}

body[data-sidebar-size=md] #sidebar-menu ul li ul.sub-menu li a {
  padding-right: 1.5rem;
}
body[data-sidebar-size=md] #sidebar-menu ul li ul.sub-menu li ul.sub-menu li a {
  padding-right: 1.5rem;
}

body[data-sidebar=brand] #sidebar-menu ul li ul.sub-menu li a {
  color: rgba(255, 255, 255, 0.5);
}
body[data-sidebar=brand] #sidebar-menu ul li ul.sub-menu li a:hover {
  color: #fff;
}

body[data-sidebar=brand][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li ul.sub-menu li a:hover {
  color: var(--bs-sidebar-menu-item-active-color);
}
body[data-sidebar=brand][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li ul.sub-menu li.mm-active {
  color: var(--bs-sidebar-menu-item-active-color) !important;
}
body[data-sidebar=brand][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li ul.sub-menu li.mm-active > a {
  color: var(--bs-sidebar-menu-item-active-color) !important;
}
/* ========================================
   Retell Phone Call Button Animations
   ======================================== */

/* Glowing animation for initiating calls */
@keyframes phone-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.5), 0 0 10px rgba(255, 193, 7, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.8), 0 0 25px rgba(255, 193, 7, 0.5);
    transform: scale(1.05);
  }
}

/* Pulsing animation for ongoing calls */
@keyframes phone-pulse-ongoing {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 64, 0, 0.6), 0 0 15px rgba(255, 85, 0, 0.4);
    background: linear-gradient(135deg, #ff6200 0%, #ff4000 100%);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.9), 0 0 35px rgba(255, 165, 0, 0.6);
    background: linear-gradient(135deg, #FFB84D 0%, #FFA500 100%);
  }
}

/* Initiate call button state */
.btn-phone-initiating {
  animation: phone-glow 1.5s ease-in-out infinite;
  border: 2px solid #ffc107 !important;
  font-weight: bold;
}

/* Ongoing call button state */
.btn-phone-ongoing {
  animation: phone-pulse-ongoing 2s ease-in-out infinite;
  /* border: 2px solid #ff5e00 !important; */
  color: white !important;
  font-weight: bold;
}

/* Completed call button state */
.btn-phone-completed {
  background: linear-gradient(135deg, #20c997 0%, #0a6b21 10%, #20c997 100%) !important;
  border: none !important;
}

/* Failed call button state */
.btn-phone-failed {
  border: 2px solid #dc3545 !important;
  animation: phone-glow 2s ease-in-out 3;
}
