/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}


.bg-primary-light {
    background-color: #e3f2fd; /* Light blue */
    color: #0d6efd;
}
.bg-success-light {
    background-color: #d1e7dd; /* Light green */
    color: #198754;
}
.bg-danger-light {
    background-color: #f8d7da; /* Light red */
    color: #dc3545;
}

.scrollable-area-plan-details {
    height: 250px !important; /* Set the desired height */
    overflow-y: scroll !important;
    border: 1px solid #ccc !important; /* Optional border */
    padding: 1px !important;
  }

  .scrollable-area-plan-details::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
  }

  .scrollable-area-plan-details::-webkit-scrollbar-thumb {
    background-color: var(--bs-scheme-3) !important; /* Scrollbar color */
    border-radius: 8px; /* Rounded scrollbar thumb */
    border: 3px solid #fff !important; /* Adds a border around the thumb */
  }

  .scrollable-area-plan-details::-webkit-scrollbar-track {
    background-color: #f1f1f1 !important; /* Track color */
    border-radius: 8px !important; /* Rounded track corners */
  }

  .scrollable-area-plan-details::-webkit-scrollbar-thumb:hover {
    background-color: var(--bs-scheme-2) !important; /* Darker blue when hovering */
  }
  .scrollable-area-plan-details img {
    width: 40px !important;; /* Set the width of the flag images */
    height: auto !important;; /* Maintain the aspect ratio of the flag */
  }
/* spinner */
/* Overlay */
#spinner-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.608);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

#spinner {
  position: relative;
  width: 80px;
  height: 80px;
}

#spinner::before, #spinner::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  background: #A91D3A;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateX(30px);
  animation: orbit 1s linear infinite;
}

#spinner::after {
  background: #151515;
  animation-delay: 0.5s;
}

@keyframes orbit {
  0% { transform: translate(-50%, -50%) rotate(0deg) translateX(30px); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateX(30px); }
}


/* spinner end */
.login-with-google-btn {
  justify-self: center;
  transition: background-color .3s, box-shadow .3s;

  padding: 12px 16px 12px 42px;
  border: none;
  border-radius: 3px;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);

  color: #757575;
  font-size: 14px;
  font-weight: 500;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;

  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
  background-color: white;
  background-repeat: no-repeat;
  background-position:10%;

  &:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
  }

  &:active {
    background-color: #eeeeee;
  }

  &:focus {
    outline: none;
    box-shadow:
      0 -1px 0 rgba(0, 0, 0, .04),
      0 2px 4px rgba(0, 0, 0, .25),
      0 0 0 3px #c8dafc;
  }

  &:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    cursor: not-allowed;
  }
}

.rating-stars {
    display: inline-flex;
    flex-direction: row; /* Force standard left-to-right */
}

.star-btn {
    font-size: 1.25rem;
    color: #dbdade; /* Default gray color */
    transition: transform 0.2s, color 0.2s;
    cursor: pointer;
}

/* 1. When the container is hovered, turn all stars gold */
.rating-stars:hover .star-btn {
    color: #ffab00 !important;
}

/* 2. BUT, any star that comes AFTER the hovered star stays gray */
.rating-stars .star-btn:hover ~ .star-btn {
    color: #dbdade !important;
}

/* Optional: slight pop effect on hover */
.star-btn:hover {
    transform: scale(1.3);
}
.rating-stars .bxs-star {
    color: #FFAB00 !important; /* Premium Gold/Amber */
    text-shadow: 0 0 5px rgba(255, 171, 0, 0.3); /* Optional: subtle glow */
}

/* Ensure empty stars remain a neutral gray for contrast */
.rating-stars .bx-star {
    color: #dbdade !important;
}

/* Optional: Add a slight pop when they are filled */
.rating-stars .star-btn {
    transition: all 0.2s ease-in-out;
}

