/* Original Styles */
html {
    background-color: #f8f9fa;
    height: 100%;
    margin: 0 !important;
}

body {
    display: flex !important;
    flex-direction: column;
    background: radial-gradient(ellipse 177.27% 111.96% at 50% 116%, #43573D 0%, #AED3F0 16%, #F9F4EF);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100% !important;
}

h1, h2 {
    margin-bottom: 20px;
}

.comingsoon {
    position: absolute;
    top: -12px;
    right: -55px;
    background: #86b7fe;
    color: #ffffff;
    padding: 2px 5px;
    font-size: 0.75rem;
    border-radius: 3px;
}

.beta {
    position: absolute;
    top: -2px;
    right: -40px;
    background: #317BD0;
    /*background: #ff6000;*/
    color: #ffffff;
    padding: 2px 5px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 3px;
}

/* Main content container */
.content {
    flex: 1 !important;
}

.icon-placeholder.mb-3 {
    min-height: 90px;
}

/* Notification alert style */
    #notification {
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 9999;
      display: flex;
      align-items: center;
      background: #f0f8ff;
      border: 1px solid #ccc;
      padding: 10px 15px;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    #notification .close {
      background: none;
      border: none;
      font-size: 20px;
      margin-left: 15px;
      cursor: pointer;
      line-height: 1;
    }
    /* Remove dropdown arrow */
    .dropdown-toggle::after {
      display: none;
    }
    /* Notifications dropdown styling */
    .notification-dropdown {
      max-height: 400px;
      overflow-y: auto;
    }
    .notification-item {
      border-bottom: 1px solid #eee;
      padding: 10px;
    }
    .notification-item:last-child {
      border-bottom: none;
    }
    
    

/* ------------------------------------------------ Quick Tools*/
.quick-tools-bar {
    background: #b1b1b1;
}
.quick-tools-bar ul {
    background: #b1b1b1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.quick-tools-bar ul li {
    margin-right: 0px;
}
.quick-tools-title {
    font-size: larger; 
    color: #d3d3d3; 
    margin: 10px; 
    margin-right: 10px;
    text-decoration: none;
}

/* Fix: add display and padding plus a transition for smooth hover */
.quick-tools-holder, .quick-tools-custom-labels {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove max-width to let the SVG define the size 
    opacity: 0.6;*/
    transition: background 0.3s ease, opacity 0.3s ease;
}


.quick-tools-custom-labels {
    max-width: 200px;
    /*overflow: hidden; 
    opacity: 0.6;*/
    white-space: nowrap;
    margin: 5px;
    position: relative;
    display: flex;
    padding: 0px;
    transition: background 0.3s ease, opacity 0.3s ease;
    
    
}

.quick-tools-holder:hover,
.quick-tools-custom-labels:hover{
    background: #fff;
    opacity: 1;
    border-radius: 10px;
}

.quick-tools-custom-labels a {
    color: #351011;
}

.quick-tools-bar {
    background: #317BD0;
}

.quick-tools-bar ul {
    background: #317BD0;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.quick-tools-bar ul li {
    margin-right: 15px;
    position: relative; /* Ensure the tooltip can be positioned absolutely */
}

.quick-tools-title {
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: 600;
    margin: 10px;
    margin-right: 10px;
    text-decoration: none;
}

/* Quick Tools Holder – remove fixed max-width and use flex to adapt to content */
.quick-tools-holder, .quick-tools-custom-labels {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* opacity: 0.6; */
    padding: 0px;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.quick-tools-holder:hover,
.quick-tools-custom-labels:hover{
    background: #fff;
    opacity: 1;
    border-radius: 10px;
}
/* Tooltip pop-up */
.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 1000;
    bottom: 110%; /* Position tooltip above the holder */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Tooltip arrow */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.quick-tools-custom-labels:hover {
    background: #fff;
    opacity: 1;
    border-radius: 10px;
}
.quick-tools-holder:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.quick-tools-custom-labels:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.quick-tools-bar.bg-light.border-bottom > ul > li > a.nav-link,
.quick-tools-bar.bg-light.border-bottom > ul > li > div > a{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    /*color: #2f0000;*/
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: 600;
}
.quick-tools-bar.bg-light.border-bottom > ul > li > a.nav-link,
.quick-tools-bar.bg-light.border-bottom > ul > li > div > a:hover {
    color: #2f0000;
}
/* ------------------------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.container {
    width: 100%;
}

/* Mega menu navigation overrides */
.navbar {
    border-bottom: 1px solid #efefef;
    background-color: #fff;
}

/* Branding and header */
.navbar-brand {
    padding: 4px;
}
.navbar-brand img {
    float: left;
    width: 96px;
    margin: 0 10px;
}

/* Mega menu links */
.navbar-nav li a {
    font: 400 14px Roboto, sans-serif;
    color: #283e4a;
    padding: 16.5px 16.5px;
    transition: all 0.3s;
    cursor: pointer;
}

/* Dropdown icons */
.navbar-nav li a > i {
    font-size: 24px;
    position: absolute;
    top: 14px;
    right: 10px;
}

/* Mega dropdown menu styling */
.mega-dropdown {
    position: static !important;
    width: 100%;
}

.mega-dropdown-menu,
.dropdown-menu {
    padding: 0;
    box-shadow: none;
    border: 1px solid #efefef;
}

.mega-dropdown-menu {
    padding: 20px 10px;
    width: 100%;
    border: 1px solid #eee;
}

.mega-dropdown-menu > li > ul {
    padding: 0;
    margin: 0;
}

.mega-dropdown-menu > li > ul > li {
    list-style: none;
}

.mega-dropdown-menu > li > ul > li > a,
.dropdown-menu > li > a {
    display: inline-block;
    color: #283e4a;
    padding: 6px 14px;
    font: 300 14px Roboto, sans-serif;
    cursor: pointer;
    line-height: 1.42857143;
    white-space: normal;
}

.dropdown-menu > li > a {
    display: block;
    line-height: 35px;
}

.mega-dropdown-menu > li ul > li > a:hover,
.mega-dropdown-menu > li ul > li > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    text-decoration: none;
    color: #01a2dc;
    background-color: #fff;
}

.mega-dropdown-menu .dropdown-header {
    color: #00A1DB;
    font: 400 16px Roboto, sans-serif;
    padding: 10px;
}

/* Search input toggle (if used) */
.navbar-nav#nav-header-actions {
    position: absolute;
    right: 60px;
}

.navbar-nav.nav-options #search-wrapper input#search {
    position: relative;
    width: 0;
    overflow: hidden;
    transition: opacity 1s, width 1s;
    padding: 0;
    height: 0;
    opacity: 0;
    border: 0;
    visibility: hidden;
}

.navbar-nav.nav-options #search-wrapper.open #searchlink {
    display: none;
}

.navbar-nav.nav-options #search-wrapper #searchlink {
    display: block;
}

.navbar-nav.nav-options #search-wrapper.open input#search {
    width: 300px;
    opacity: 1;
    visibility: visible;
    height: 34px;
    padding: 6px 12px;
    margin-top: 5px;
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .navbar {
        height: 100%;
    }
    .navbar-header {
        float: none;
    }
    .navbar-left,
    .navbar-right {
        float: none !important;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-nav#nav-header-actions {
        right: 80px;
        margin: 0;
        top: 6px;
    }
    .navbar-nav#nav-header-actions li {
        display: inline-block;
    }
    .navbar-nav.nav-options li a {
        padding: 6px 6px;
        cursor: pointer;
        outline: none;
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }
    .navbar-nav > li {
        float: none;
    }
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
/*    .collapse.in {
        display: block !important;
    }
    
    .navbar-collapse.collapse {
        display: none !important;
    }*/
    
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
    
}

.shadowpanel {
    margin-top: 50px;     backdrop-filter: blur(10px);
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 4px 0px;
}


  pre {
      background: #f4f4f4;
      padding: 10px;
      border-radius: 5px;
      overflow-x: auto;
  }

  /* Container for the toggle */
.rbr-pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
  }
  .rbr-pricing-toggle-container input[type="checkbox"] {
    display: none;
  }
  .pricing-toggle {
    position: relative;
    width: 400px;
    height: 60px;
    background-color: #ccc;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    cursor: pointer;
    user-select: none;
    font-size: 1.2em;
  }
  .toggle-label {
    position: relative;
    z-index: 3;
    color: #000000;
    font-weight: bold;
  }
  .toggle-knob {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 98px;
    height: 50px;
    background-color: #006400;
    opacity: 0.5;
    border-radius: 25px;
    transition: transform 0.3s ease;
    z-index: 2000;
  }
  input[type="checkbox"]:checked + .pricing-toggle .toggle-knob {
    transform: translateX(290px);
  }
  .comingsoon {
    font-size: 0.8em;
    /*color: #ffc107;*/
    top: -20px;
    right: -90px;
  }
  
  .total-price-container {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}
#priceDisplay {
  font-size: 1.5em;
}
.text-decoration-line-through {
  text-decoration: line-through;
}
.me-2 {
  margin-right: 0.5rem;
}
