/*BEGINNING OF SOLUTIONS PARTNER MODAL*/
.tab-nav {
  display: flex;
  margin-top: 10px;
  width: 90%;
}

.tab-button {
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  margin-bottom: 0px !important;
}

.tab-button.active {
  border-bottom: 3px solid #09988F;
  background: #09988F;
}

.tab-content {
  display: none;
  padding: 20px 10px;
}

.tab-content.active-tab {
  display: block;
  border-radius: 25px;
  border-top-width: 3px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: rgb(9, 152, 143);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
}

.search-layout {
  display: flex;
  gap: 20px;
}

.filter-section {
  width: 20%;
  position: sticky;
  top: 15%;
  align-self: flex-start;
  height: fit-content;
  z-index: 2;
}

.partner-grid-section {
  width: 85%;
  border-left: 1px solid #ddd;
  padding-left: 2%;
}

.partner-services {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  padding-left: 20px;
  margin: 8px 0;
  font-size: 0.95rem;
}

.partner-services li {
  list-style-type: disc;
  margin-left: 0;
  padding-left: 0;
}

.partner-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  max-width: 200px;
  word-wrap: break-word;
}

.partner-card:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.partner-name {
  font-weight: 600;
  font-size: 1rem;
  color: #017ba0;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.partner-name:hover {
  color: #09988F;
}

.partner-meta {
  font-size: 10px;
  color: #333;
  white-space: pre-line;
}

.partner-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.search-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#partnerSearchInput {
    padding: 10px;
    width: 95%;
    margin-right: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.results-count {
    padding-left: 2%;
    font-style: italic;
    padding-bottom: 2%;
}

#sortBySelect {
    padding: 10px;
    width: 40%;
    margin-right: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.partner-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pagination-controls {
  margin-top: 20px;
  text-align: center;
}

.partner-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center;
}

.partner-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 600px;
  max-width: 90%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.partner-modal-content .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.pagination-controls button {
  padding: 6px 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  max-width: 75px;
  font-weight: 500;
  margin: 0px !important;
}

.pagination-controls button:hover:not(:disabled):not(.active) {
  background: #09988F;
}

.pagination-controls button.active {
  background: #D452D5;
  color: white;
  font-weight: bold;
  pointer-events: none;
  cursor: default;
  box-shadow: none !important;
}

.pagination-controls button:disabled {
  opacity: 0.5;
  cursor: default;
}

.pagination-controls .pagination-ellipsis {
  padding: 6px 10px;
  color: #999;
  min-width: 30px;
  text-align: center;
}

.partner-details-row {
    margin: 2px;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    border-radius: 5px;
    font-size: 8px;
    color: #333;
    gap: 10px;
    min-height: 36px;
    padding: 3px;
}
.partner-details-labeled {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.partner-detail-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-label {
  font-size: 10px;
  color: #888;
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.checkbox-wrapper {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.checkbox-wrapper input[type="checkbox"] {
  margin: 0;
  vertical-align: middle;
}

.checkbox-wrapper label {
  margin: 0;
  line-height: 1.2;
  font-size: 14px;
  word-wrap: break-word !important;
  white-space: normal;
  max-width: 90%;
  font-weight: 400 !important;
}

.checkbox-filter-group {
    margin-left: 30px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
  margin-left: 10%;
}

#filter-hourlyRate {
  margin-top: 6px;
}

.location-search-input {
  width: 100%;
  padding: 6px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.location-filter-container {
    width: 80%;
    margin-left: 10%;
}

.service-area-filter-container {
    width: 80%;
    margin-left: 10%;
}

.location-checkbox-list {
    height: 400px;
    overflow-y: auto;
    background: #09988f29;
    padding: 4%;
    border-radius: 12px;
}

.selected-location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.location-tag {
  display: inline-block;
  background: #e4f0fb;
  padding: 4px 8px;
  margin: 2px;
  border-radius: 6px;
  font-size: 0.9em;
}

.remove-tag {
  margin-left: 6px;
  cursor: pointer;
  color: #555;
}

.category-tag {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px;
  background-color: #f0f0f0;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-tag:hover {
  background-color: #e0e0e0;
}

.category-tag.active {
  background-color: #017BA0;
  color: white;
  font-weight: bold;
}

.expandable-section {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.expand-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 16px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: bold;
  color: #00495f;
  position: relative;
  padding-left: 3%;
}

.expand-btn:hover {
    background: #fff !important;
}

.expand-btn::after {
  content: '+';
  position: absolute;
  right: 10px;
  font-size: 18px;
  transition: transform 0.2s ease;
  padding-right: 3%;
}

.expand-btn.expanded::after {
  content: '–';
}

.expand-content {
  display: none;
  padding: 10px 0 0 10px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  color: #00495f;
  padding-right: 10%;
}

.expand-content.visible {
  display: block;
}

.overlay-header-solutions-title {
    font-size: 24px;
    color: #017BA0;
}

.overlay-header-solutions-title:hover {
    color: #09988F;
}

#serviceAreaDropdown {
    height: 400px;
    overflow-y: auto;
    background: #09988f29;
    padding: 4%;
    border-radius: 12px;
}

#industrySearchInput {
    padding: 10px;
    width: 100%;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin: 4% 0%;
}

.insight-panel {
    border-radius: 12px;
    padding: 3%;
    border: 1px solid #000;
    margin: 2%;
    color: #00495f;
}

/*END OF SOLUTIONS PARTNER MODAL*/

/* COMPANY SEARCH SECTION */

.co-search-results-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    display: none;
    margin: 3%;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.styled-table th {
    background-color: #017BA0;
    color: white;
    text-transform: uppercase;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.coSearchBtn {
    background-color: #017BA0;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    margin: 5px;
    transition: background-color 0.3s ease;
    border: #017BA0;
    width: auto;
    font-weight: 400;
}

.styled-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.detailsTable {
    width: 100%;
    margin-top: 2%;
    border-collapse: collapse;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 12px;
    margin-bottom: 5%;
}

.disabled-btn {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 20px !important;
    height: 40px !important;
    margin: 2% !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    letter-spacing: 1px !important;
    -webkit-transition: all 0.4s !important;
    -o-transition: all 0.4s !important;
    -moz-transition: all 0.4s !important;
    transition: all 0.4s !important;
    outline: none !important;
    border: none !important;
    overflow: visible !important;
    touch-action: manipulation !important;
    background: #ccc !important;
    color: #666 !important;
    opacity: 0.5 !important;
    filter: grayscale(100%) !important;
    cursor: not-allowed !important;
    width: auto;
}

/* END OF COMPANY SEARCH SECTION */


/* BEGIN POTENTIAL PARTNER SECTION */

.results-block {
    display: block;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 3%;
}

.result-pp-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.pp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}


.pp-category-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.pp-category-label, .pp-relationship-label {
    font-size: 18px;
    font-weight: bold;
    color: #595959;
    margin: 1% 0%;
}

.pp-category-value {
    font-size: 16px;
    font-weight: bold;
    color: #7952D5;
    margin: 1% auto;
}

.pp-relationship-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pp-relationship-value {
    font-size: 16px;
    font-weight: bold;
    background-color: #d4edda;
    color: green;
    margin: 1% auto;
    padding: 5px 10px;
    border-radius: 5px;
}

.pp-description {
    font-size: 16px;
    color: #595959;
    margin: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.pp-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.pp-edit-btn-whitepaper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 30px;
    border-radius: 12px;
    background: #017ba0;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    outline: none !important;
    border: none;
    overflow: visible;
    touch-action: manipulation;
    margin-right: 10px;
    margin-left: 10px;
    width: 30%;
}

.pp-edit-btn-topcos {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 30px;
    border-radius: 12px;
    background: #017ba0;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    outline: none !important;
    border: none;
    overflow: visible;
    touch-action: manipulation;
    margin-right: 10px;
    margin-left: 10px;
    width: 30%;
}

.pp-download-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 30px;
    border-radius: 12px;
    background: #017ba0;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    outline: none !important;
    border: none;
    overflow: visible;
    touch-action: manipulation;
    margin-right: 10px;
    margin-left: 10px;
    width: 100%;
}

.all-strong-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.topCompanies {
    text-align: left;
    width: 100%;
}

/* END OF POTENTIAL PARTNER SECTION */

/* BEGIN ADVANCED PRACTICE BUILDER SECTION */

.advanced-pb-container {
    margin: 0% 3% 3% 3%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 18px;
}

.advanced-pb-header {
    font-size: 34px;
    font-weight: bold;
    color: #017BA0;
    text-align: left;
    margin-bottom: 15px;
}

.advanced-pb-description {
    color: #595959;
    font-size: 18px;
    margin-bottom: 20px;
}

.advanced-pb-tech-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;           
    gap: 1%;
    margin: 0% 3% 3% 3%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 18px;
}

.advanced-pb-tech-selection .adv-section-title {
    grid-column: 1 / -1;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 20px;
    color: #9b9b9b;
}

.advanced-pb-tech-selection fieldset {
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  min-width: 0;
  width: 100% !important;
}

@media (max-width: 1100px) {
    .advanced-pb-tech-selection {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .advanced-pb-tech-selection {
        grid-template-columns: 1fr;
    }
}

.advanced-pb-container-selection {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1%;
    margin: 0% 3% 3% 3%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 18px;
}

.adv-input-textbox {
    width: 95%;
    padding: 6px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.adv-sol-textbox {
    width: 95%;
    padding: 6px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.adv-dropdown {
    width: 95%;
    padding: 6px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.adv-prac-build-co_conf-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.adv-prac-build-co_conf-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 35%;
}

.adv-prac-build-co_conf-modal-content input {
    width: 85%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.adv-prac-builder-co_conf-modal-buttons {
    margin-top: 20px;
}

.adv-co_conf-primary-button {
    background-color: #31708f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.adv-co_conf-secondary-button {
    background-color: #ddd;
    margin-left: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #555555;
}

.adv-select_cat_modal {
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10002;
}


/* END ADVANCED PRACTICE BUILDER SECTION */


#premiumServices:hover {
    cursor: pointer;
}

.submenu-angle {
    position: relative;
    display: block;
    padding: 13px 15px;
    color: #444;
    outline-width: 0;
    transition: all .3s ease-out;
    font-size: 16px;
    font-weight: 400;
}

.integration-remove-btn {
    color: grey;
    transition: color 0.2s ease;
}

.integration-remove-btn:hover {
    color: red;
}
.modal-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    background-color: white;
    position: absolute;
    bottom: 0;
    z-index: 10;
    width: 100%;
}
.integratedCoTooltip {
    position: absolute;
    z-index: 9999;
    background-color: #555;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s;
}
#productPlansBody td:not(:last-child) {
    border-right: 1px solid #ddd;
}
#productPlansBody td {
    vertical-align: top;
    padding: 12px 16px;
}
#productPlansBody tr:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}
#productPlansTable tbody tr:nth-child(odd) {
    background-color: #fafafa;
}
#productPlansTable tbody tr:nth-child(even) {
    background-color: #ffffff;
}
#productPlansTable tbody tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.2s ease-in-out;
}
#productPlansBody td {
    padding: 12px 16px;
}
.category-tooltip {
    font-size: 14px;
    max-width: 300px;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}
.prac-build-co_conf-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}
.prac-build-co_conf-modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.prac-build-co_conf-modal-content input {
    width: 85%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.prac-builder-co_conf-modal-buttons {
    margin-top: 20px;
}
.co_conf-primary-button {
    background-color: #31708f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.co_conf-secondary-button {
    background-color: #ddd;
    margin-left: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #555555;
}

.search-container-selection {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1%;
}
fieldset {
    width: 30%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin: 0 1% 20px 1%;
    flex-grow: 1;
    background-color: #fff;
}
#practiceBuilderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none; /* will be set to flex when triggered */
    justify-content: center;
    align-items: center;
}

.practice-builder-modal {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}
.practice-builder-modal .close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
}
.popup {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 80%;
    max-width: 600px;
}
.popup-content {
    position: relative;
}
.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}
.summary-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); 
    z-index: 9999;
    display: none;
}
.summary-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-height: 80vh;
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.popup-content-scroll {
    overflow-y: scroll;
    max-height: 65vh;
    width: 100%;
    padding-right: 8px;
    margin-top: 24px;
}
.popup-content-scroll::-webkit-scrollbar {
    width: 8px;
}
.popup-content-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}
.popup-content-scroll::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
.summary-popup .close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}
.summary-popup .close-btn:hover {
    color: #000;
}
.summary-popup h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}
.summary-popup b {
    color: #006690;
    font-weight: 600;
}
.summary-popup p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 12px;
}
.summary-popup div:not(:last-child) {
    margin-bottom: 18px;
}
.summary-popup::-webkit-scrollbar {
    width: 8px;
}
.summary-popup::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}
.summary-popup::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
.dlBtn button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    /*width: 45%;*/
    height: 50px;
    border-radius: 12px;
    background: #017BA0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    border:none;
    margin-left:5px;
    text-decoration:none !important;
    cursor: pointer;
}
.dlBtn button:hover {
    background: #09988F;
}

#searchLimitModal {
    z-index:1000000;
}
#closeLimitModal {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 50px;
    border-radius: 12px;
    background: #979797;
    font-size: 16px !important;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    border: none;
    margin-left: 5px;
    margin-top: 0PX !important;
    text-decoration: none !important;
    cursor: pointer;
}

#closeLimitModal:hover {
    background: #565656;
}

#upgradeBtn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 50px;
    border-radius: 12px;
    background: #017BA0;
    font-size: 16px !important;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    border:none;
    margin-left:5px;
    margin-top: 0PX !important;
    text-decoration:none !important;
    cursor: pointer;
}
#upgradeBtn:hover {
    background: #09988F;
}
.button-disabled {
    background-color: rgb(153, 209, 156) !important;
    color: green !important;
    border: 1px solid #99d19c !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transition: none !important;
}
.more-actions-container {
    position: relative;
    width: 35%;
    display: flex;
}
.more-actions-button {
    padding: 10px 16px;
    border: 1px solid #dce4e8;
    border-radius: 6px;
    background-color: #f9fafb;
    color: #017ba0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    appearance: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 0 5px;
    width: 45%;
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
}
.more-actions-button:hover {
    background-color: #d9dee2;
}
.more-actions-button:focus {
    border-color: #09988F;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.loading-overlay {
    display: none;
    justify-content: center;
    align-items: center;
    /*color: #ffffff;*/
    font-size: 18px;
    font-weight: bold;
    flex-direction: column;
    position: fixed;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}
.loading img {
    width: 50px;
}
.disabled-button {
    background-color: #ccc !important;
    color: #777 !important;
    border: none !important;
    cursor: not-allowed !important;
    opacity: 0.5;
    pointer-events: auto !important;
    box-shadow: none !important;
}
.jvp-output-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.jvp-output-box h4 {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}
.jvp-output-box p,
.jvp-output-box ul {
    font-size: 15px;
    color: #555;
}
.jvp-ctas {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.jvp-ctas button {
    flex: 1 1 calc(25% - 16px);
    min-width: 220px;
    background-color: #e9f8ff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 6px;
    color: #003a61;
}
.jvp-ctas button:hover {
    background-color: #d5f0ff;
}
.category-box-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}
.category-box {
    flex: 1 1 calc(25% - 16px);
    min-width: 220px;
    background-color: #e9f8ff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.category-box:hover {
    background-color: #d5f0ff;
}
.category-box h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #003a61;
}
.category-box p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}
.selected-category-confirmation {
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #005580;
    background: #e6f5ff;
    border-radius: 8px;
}
.strength-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}
.strength-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.05);
    padding: 16px;
    text-align: left;
    width: 30%;
    font-family: inherit;
    margin: 8px;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    text-align: center;
    border: 1px solid #ccc;
}
.strength-card:hover {
    box-shadow: 0px 4px 8px rgba(0,0,0,0.08);
}
.strength-card h3 {
    font-size: 16px;
    color: #017BA0;
    margin-bottom: 6px;
}
.strength-card.strong {
    background-color: #e6f4ea;
    border-left: 6px solid #28a745;
}
.strength-card.strong h3 {
    color: #28a745;
}
.strength-card.moderate {
    background-color: #fff8e1;
    border-left: 6px solid #ffc107;
}
.strength-card.moderate h3 {
    color: #ff9800;
}
.strength-card.weak {
    background-color: #fdecea;
    border-left: 6px solid #f44336;
}
.strength-card.weak h3 {
    color: #f44336;
}
.strength-card p {
    font-size: 14px;
    color: #555;
}
.sticky-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    padding: 20 20 15 20;
    border-bottom: 1px solid #ccc;
}
.sticky-footer {
    display: flex; 
    justify-content: space-between; 
    margin-top: 30px;
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 10;
    padding: 15px 20px;
    border-top: 1px solid #ccc;
}
#getStartedModal,
#techWorkflowModal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
#techWorkflowContent {
    background: white;
    border-radius: 12px;
    padding: 0 30 0 30;
    width: 80%;
    max-height: 90vh;
    overflow-y: auto;
}
#getStartedModal,
#solWorkflowModal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
#solWorkflowContent {
    background: white;
    border-radius: 12px;
    padding: 0 30 0 30;
    width: 80%;
    max-height: 90vh;
    overflow-y: auto;
}
.workflow-stage {
    margin-top: 20px;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.workflow-stage.collapsed {
    opacity: 0.4;
    pointer-events: none;
}
.workflow-stage.collapsed h3 {
    font-style: italic;
    font-weight: 400;
}
.selected-category {
    background-color: #017BA0;
    color: #fff;
    font-weight: bold;
    border: 2px solid #014d66;
}
.selection-summary {
    font-size: 16px;
    color: #017BA0;
    padding: 10px;
    background-color: #f4f9fc;
    border-radius: 8px;
    border: 1px solid #cceaf1;
}
.change-selection {
    margin-left: 10px;
    font-size: 12px;
    color: #017BA0;
    cursor: pointer;
    text-decoration: underline;
}
.change-selection:hover {
    color: #09988F;
    text-decoration: none;
}
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}
.select_cat_modal {
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10002;
}
.related-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: space-between;
}
.related-category-box {
    flex: 1 1 calc(32% - 10px);
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 240px;
}
.related-category-box:hover {
    background-color: #e6f5fa;
}
.autocomplete-search {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.alpha-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    padding-left: 10%;
    padding-right: 10%;
    justify-content: center;
}

.alpha-filter-bar button {
    background-color: #f6f8fa;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #017BA0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 5% !important;
}

.alpha-filter-bar button:hover {
    background-color: #e0e0e0;
}
#alphaFilterBar button::after {
    margin-left: 6px;
    color: #999;
}
#alphaFilterBar button:last-child::after {
    content: "";
}
.company-grid {
    display: grid;
    flex-wrap: wrap;
    justify-content: space-evenly;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    gap: 15px;
}
.company-box {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    min-width: 200px;
    margin: 5px;
}

.company-box:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.competitor-flag {
    display: inline-block;
    margin-left: 6px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: red;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    cursor: default;
    position: relative;
}
.competitor-flag:hover::after {
    content: "This company shares a category with yours and may be competitive.";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}
.category-name {
    font-weight: 600;
    font-size: 16px;
    color: #017BA0;
}
.category-desc {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}
.category-count {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
button {
    background-color: #017BA0;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    margin: 5px;
    transition: background-color 0.3s ease;
    border: #017BA0;
    width:46%;
}
button:hover {
    background-color: #09988F;
}
.modalGoBack {
    width: 25%; 
    margin-left: 13%; 
    min-height: 55px;
    font-size:22px;
    background-color: #D452D5;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}
.modalGoBack:hover {
    background-color: #FF791A;
}
.modalStartOver {
    width: 25%; 
    margin-right: 15% !important; 
    min-height: 55px;
    font-size:22px;
    background-color: #D452D5;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}
.modalStartOver:hover {
    background-color: #FF791A;
}
.upgradeBtn {
    background-color: #D452D5;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    margin: 5px;
    transition: background-color 0.3s ease;
    border: #017BA0;
    width:48%;
}
.upgradeBtn:hover {
    background-color: #FF791A;
}
.header {
    font-size: 22px;
    font-weight: 700;
    color: #555;
    font-family: 'Montserrat';
}
.learnMoreModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.learnMoreModal-content {
    background-color: #f4f4f4;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.closeLearnMoreModal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.closeLearnMoreModal:hover,
.closeLearnMoreModal:focus {
    color: black;
    text-decoration: none;
}

.learnMoreModal-action-btn {
    background-color: #017BA0;
    color: white;
    padding: 12px 20px;
    margin-top: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
    width:100%;
}

.learnMoreModal-action-btn:hover {
    background-color: #09988F;
}
.compInsightsWrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.compInsightsBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    background: #555;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
    border: none;
}

.compInsightsBtn:hover {
    background: #999;
}

.compInsightBtnTooltip {
    position: fixed;
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9999;
}
.learnMoreBtn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    background: #555;
    font-size: 12px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    border: none;
    font-size: 18;
}
.learnMoreBtn:hover {
  background: #999;
}
.executedBtn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    background: #ccc;
    font-size: 12px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    border: none;
    font-size: 18;
}
.node {
    cursor: pointer;
}

.node:hover {
    stroke: #000;
    stroke-width: 1.5px;
}

.node--leaf {
    fill: white;
}
.label {
    font: 12px "Montserrat", Helvetica, Arial, sans-serif;
    fill: #fff;
    font-weight:600;
    text-anchor: middle;
    text-shadow: none;
    pointer-events: none;
}
.packed-chart-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 10px;
}
#tooltip {
    position: absolute;
    text-align: center;
    width: auto;
    padding: 8px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
}
.chart-wrapper {
    width: 100%;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
.chart-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    margin-top: 10px;
}
.chart-line {
    width: calc(100% - 40px);
    margin: 0 auto;
    border: 0;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
    margin-top: 10px;
}
.svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 600px;
}
#chartSvg {
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
#chartSvg g {
    transform: translate(50%, 50%);
}
.container-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 3%;
}
.dashboard-container {
    width: 45%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto;
}
.dashboard-container:hover {
    transform: translateY(-5px);
    /*cursor: pointer;*/
}
.locked {
    background: #f0f0f0;
    opacity: 0.6;
    pointer-events: none;
}
.match-height-row {
    display: flex;
    align-items: stretch;
}

.match-height-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.analytics-sparkle-line,
.analytics-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#topTenCompetitors ul {
    padding-left: 20px;
    margin: 0;
}

#topTenCompetitors li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.competitor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 22px;
    margin-top: 10px;
    padding-left: 3%;
}

.competitor-table th,
.competitor-table td {
    padding: 10px;
    text-align: center;
    position: relative;
}

.competitor-table tr {
    cursor: pointer;
    position: relative;
}

.competitor-table tr:hover {
    background-color: #f9f9f9;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    width:32%;
}

.tooltip-container .tooltip-text {
    width: 100%;
    font-weight: 600;
    margin: 5px
    visibility: hidden;
    width: max-content;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 12px;
    padding: 8px 10px;
    position: absolute;
    z-index: 999;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
    font-size: 13px;
    line-height: 1.3;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.tooltip-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 10px;
    z-index: 10;
    background: #222;
    color: #fff;
    font-size: 13px;
    padding: 10px;
    border-radius: 6px;
    width: 300px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.competitor-table tr:hover .tooltip-box {
    visibility: visible;
    opacity: 1;
}
.confidence-badge {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
}

.confidence-high {
    background-color: #e74c3c;
}

.confidence-medium {
    background-color: #fd7e14;
}

.confidence-low {
    background-color: #ffc107;
    color: #333;
}
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.confidence-tooltip {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    font-size: 14px;
    cursor: pointer;
}

.confidence-tooltip-box {
    position: fixed;
    background-color: #333;
    color: #fff;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 6px;
    max-width: 250px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.getStartedDetails {
    margin-left: 10%;
    margin-right: 10%;
    text-align: left;
    font-size: 16px;
    letter-spacing: 1.3px;
}

/* BEGIN THE BASIC CATEGORY SEARCH STYLING */
.search-container {
    margin: 0% 3% 3% 3%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 18px;
}

.search-results-container {
    margin: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display:none;
}

.search-header {
    font-family: 'inter', sans-serif !important;
    font-size: 34px;
    font-weight: 700;
    color: #017BA0;
    text-align: left;
    margin-bottom: 15px;
}

.search-description {
    font-size: 14px;
    color: #595959;
    margin-bottom: 20px;
    font-size: 18px;
}

#categorySearchForm {
    display: flex;
    width: 100%;
    align-items: center;
}

.basic-search-form-group {
    flex: 1;
    margin-bottom: 15px;
    margin-right: 2%;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0% 3%;
}

.result-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.category-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 65%;
}

.category-label, .relationship-label {
    font-size: 18px;
    font-weight: bold;
    color: #595959;
    margin: 1% 0%;
}

.category-value {
    font-size: 16px;
    font-weight: bold;
    color: #7952D5;
    margin: 1% auto;
}

.relationship-value {
    font-size: 16px;
    font-weight: bold;
    background-color: #d4edda;
    color: green;
    margin: 1% 28%;
    padding: 5px 10px;
    border-radius: 5px;
}

.description {
    font-size: 16px;
    color: #595959;
    margin: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.edit-btn-whitepaper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 30px;
    border-radius: 12px;
    background: #017ba0;
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    outline: none !important;
    border: none;
    overflow: visible;
    touch-action: manipulation;
}

.edit-btn-topfive {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 30px;
    border-radius: 12px;
    background: #017ba0;
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    outline: none !important;
    border: none;
    overflow: visible;
    touch-action: manipulation;
}

.upgradeToPro {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 30px;
    border-radius: 12px;
    background: green;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    outline: none !important;
    border: none;
    overflow: visible;
    touch-action: manipulation;
}

.top-five-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}
.topFiveCos {
    text-align: left;
    width: 100%;
}
.topFiveCos ul {
    list-style-type: none;
    padding: 0% 3%;
}
.topFiveCos li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    background: #017ba087;
    border-radius: 12px;
    margin: 5px 0;
    max-height: 35px;
}
.topFiveCos li:nth-child(even) {
    background: #09988f68;
    border-radius: 12px;
}
.topFiveCos li:last-child {
    border-bottom: none;
}
.topFiveCos a {
    color: #583aa2;
    font-weight: bold;
    text-decoration: none;
    text-decoration: underline;
}
.topFiveCos a:hover {
    text-decoration: underline;
    color: #fd6307;
}

.edit-btn-details {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 40px;
    border-radius: 12px;
    background: #D452D5;
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    outline: none !important;
    border: none;
    overflow: visible;
    touch-action: manipulation;
    width: auto;
    margin: 2%;
}

.results-title {
    margin-left: 3%;
}

.edit-btn-details:hover {
    background: #FF791A;
}

.request-insight-btn {
    background: #ffffff;
    color: #595959;
    border: none;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    max-height: 25px;
    font-weight: 400;
}

.request-insight-btn:hover {
    background: #efefef;
}

/* Labels and form groups */
/*.search-container-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}*/

.search-container-selection .form-group {
    flex: 1;
}

.search-container-selection label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* Dropdowns */
.search-container-selection select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.submit-basic-search-button {
    background: #D452D5;
    color: #fff;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 10%;
    font-size: 14px;
}

.submit-basic-search-button:hover {
    background: #FF791A;
}
/* END BASIC CATEGORY SEARCH STYLING*/