:root {
  --primary: #00654B;
  --secondary: #00A383;
  --color-blue-dark: #3499FD;
  --color-blue-medium: #5AB8FF;
  --color-blue-light: #BDE3FF;
  --dark: #000000;
  --light: #FFFFFF;
}

/* Global css start */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  /* font-family: "Poppins", sans-serif; */
  color: var(--dark);
  background-image: var(--light) !important;
  background-color: var(--light) !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
 
  font-weight: 500;
  line-height: 1.2;
}
h1 {
  font-size: 56px;
}
h2 {
  font-size: 48px;
}
h3 {
  font-size: 40px;
}
h4 {
  font-size: 25px;
}
h5 {
  font-size: 22px;
}
h6 {
  font-size: 20px;
}
.text-primary {
  color: var(--primary) !important;
}   
.text-secondary {
  color: var(--secondary) !important;
}
.text-blue-dark {
  color: var(--color-blue-dark) !important;
}
.text-blue-medium {
  color: var(--color-blue-medium) !important;
}
.text-blue-light {
  color: var(--color-blue-light) !important;
}
.btn-primary {
  background-color: var(--primary) !important;
  color: var(--light) !important;
  border-color: var(--primary) !important;
}
.btn-secondary {
  position: relative;             
  overflow: hidden;               
  background-color: var(--secondary) !important;
  color: var(--light) !important;
  border-color: var(--secondary) !important;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); 
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s, opacity 0.8s;
}

.btn-secondary:active::after {
  transform: translate(-100%, -100%) scale(4);
  opacity: 1;
}
.btn-blue-dark {
  background-color: var(--color-blue-dark) !important;
  color: var(--light) !important;
}
.left-panel {
    background: linear-gradient(to bottom, #062B63, #3499FD);
    color: white;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: 100vh;
}

.left-panel .logo {
    margin-bottom: 20px;
}

.left-panel .welcome {
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
}

.left-panel .desc {
    font-size: 20px;
    opacity: 0.9;
            
    margin: 10px 25px 30px 25px;
}

.features {
    font-size: 18px;
}

.features i {
    margin-right: 10px;
}

.feature-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: center;
}

.feature-group div {
    flex: 0 0 45%;
}

.right-panel {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    height: 100vh;
}

.form-control:focus {
    box-shadow: none;
}

.login-box {
    max-width: 500px;
    width: 100%;
    border: 1px solid #152C5680;
    padding: 2rem;
    border-radius: 5px;
}

.login-box h3 {
    font-weight: 700;
    font-size: 36px;

}

.login-footer {
    max-width: 500px;
    font-size: 12px;
    color: #666;
}

.login-footer p {
    font-size: 16px;
    font-weight: 400;
}

.login-footer a {
    text-decoration: none;
}

.input-group-text {
    backdrop-filter: blur(0px) !important;
}

.input-group {
    border: 1px solid #152C5680;
    border-radius: 5px;
}

.text-justify {
  text-align: justify;
}
.background-image{
  transform: rotate(1deg);
  top: 29%;
  left: -1%;
}

#location-image {
  margin-top: 20px;
  max-width: 100%;
  height: 350px;
  width: 100%;
  border-radius: 8px;
  display: none;
}

#map {
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  height: 350px;
  border-radius: 8px;
  display: none;
}

.pac-container{
  z-index: 99999 !important;
}

    .stepper {
        background: var(--secondary);
        padding: 1rem 0;
        margin: 1rem;
        overflow: auto;
        border-radius: 0.3rem;
    }
    .stepper ::-webkit-scrollbar {
        display: none;
        visibility: hidden !important;
    }
    .stepper-item {
        position: relative;
        /* flex: 1; */
        text-align: center;
        color: white;
        display: flex;
        align-items: center;
        margin-right: 16px;
    }
    
     /* .stepper-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: rgba(255, 255, 255, 0.3);
        z-index: 1;
    }
    
    .stepper-item.active:not(:last-child)::after {
        background: rgba(255, 255, 255, 0.8);
    }  */
    
    .stepper-circle {
        width: 40px;
        height: 40px;
        border-radius: 10%;
        border: 1px solid white        ;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right:  1rem ;
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
    }
    
    .stepper-item.active .stepper-circle {
        background: white;
        color: #667eea;
        transform: scale(1);
    }
    .stepper-item.active .stepper-circle .icon-light{
      display: none;
    }
     .stepper-item.active .stepper-circle .icon{
      display: inline-block;
    }
    .stepper-item .stepper-circle .icon{
      display: none;
    }
    .stepper-item.completed .stepper-circle {
        background: #28a745;
        color: white;
    }
    
    .stepper-label {
        font-size: 0.9rem;
        font-weight: 500;
        opacity: 0.8;
        /* margin-left: 5px; */
    }
    
    .stepper-item.active .stepper-label {
        opacity: 1;
        font-weight: 600;
    }
    
    .main-title {
        background: linear-gradient(45deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 700;
        margin-bottom: 2rem;
    }
    
    .search-container {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .search-input {
        border-radius: 50px;
        padding: 0.75rem 1.5rem;
        border: 2px solid #e9ecef;
        transition: all 0.3s ease;
    }
    
    .search-input:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }
    
    .search-btn {
        border-radius: 50px;
        background: linear-gradient(45deg, #667eea, #764ba2);
        border: none;
        padding: 0.75rem 2rem;
        transition: all 0.3s ease;
    }
    
    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    .content-section {
        margin-top: 3rem;
        padding: 2rem;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .btn { position: relative; overflow: hidden; }
    .btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none; opacity: .3; background-color: currentColor; animation: ripple-animation 600ms linear; }
    @keyframes ripple-animation { to { transform: scale(4); opacity: 0; } }

    .qr-border {
      border: 1px solid rgba(102, 126, 234, 0.3);
      padding: 0.8rem;
      display: inline-block;
      border-radius: 0.5rem;
    }

    .br-50{
      border-radius: 50%;
    }
    .br-20{
      border-radius: 20%;
    }
    .mh-n95{
      height: 95vh;
    }
    .select2-dropdown {
    --webkit-appearance: none !important;
  }
  .more-text { display: none; }


  .border-start-success {
    border-left: 3px solid #00a383 !important;
  }
  .border-start-primary {
    border-left: 3px solid #147bc2 !important;
  }
  .border-start-warning {
    border-left: 3px solid #88652b !important;
  }
  .border-start-secondary {
    border-left: 3px solid #4e198b !important;
  }
  .border-start-yellow {
    border-left: 3px solid #fcc737 !important;
  }
  .border-start-orange {
    border-left: 3px solid #ff9a00 !important;
  }
  .border-start-danger {
    border-left: 3px solid #ff6363 !important;
  }
  .border-start-brown {
    border-left: 3px solid #846906 !important;
  }

  .text-custom-success {
    color: #00a383 !important;
  }
  .text-custom-primary {
    color: #147bc2 !important;
  }
  .text-custom-warning {
    color: #88652b !important;
  }
  .text-custom-secondary {
    color: #4e198b !important;
  }
  .text-custom-yellow {
    color: #fcc737 !important;
  }
  .text-custom-orange {
    color: #ff9a00 !important;
  }
  .text-custom-danger {
    color: #ff6363 !important;
  }
  .text-custom-brown {
    color: #846906 !important;
  }

  .title-underline {
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
  }

  .title-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #000000, transparent);
    border-radius: 2px;
  }
  .hide-border .select2-selection {
      border: none !important;
  }
  .width-fit-content{
    width: fit-content;
  }
  .ajax-page-item .page-link {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    background: transparent !important;
    border-radius: 50% !important;
  }
  .btn:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)) !important;
  }
  .nav-link.active .icon{
    display: none;
  }
  .nav-link.active .icon-light{
    display: inline-block;
  }
  .nav-link .icon-light{
    display: none;
  }

/* Properties List Page Styles */
.properties-search-wrapper {
  max-width: 500px;
}

.properties-empty-state-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.properties-empty-state-content {
  max-width: 600px;
}

/* Coming Soon Page Styles */
.coming-soon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 20px;
}

.coming-soon-content {
  text-align: center;
  max-width: 600px;
  width: 100%;
  animation: fadeInUp 0.8s ease-in-out;
}

.coming-soon-icon {
  font-size: 100px;
  color: var(--primary);
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.coming-soon-icon i {
  display: inline-block;
}

.coming-soon-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.coming-soon-description {
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 40px;
  line-height: 1.6;
}

.coming-soon-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--dark);
}

.feature-item i {
  font-size: 24px;
  color: var(--primary);
}

.btn-back-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background-color: var(--secondary);
  color: var(--light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-back-dashboard:hover {
  background-color: var(--secondary);
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 101, 75, 0.3);
}

.btn-back-dashboard i {
  font-size: 20px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .coming-soon-icon {
    font-size: 80px;
    margin-bottom: 20px;
  }

  .coming-soon-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .coming-soon-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .coming-soon-features {
    gap: 20px;
    margin-bottom: 30px;
  }

  .feature-item {
    font-size: 14px;
  }

  .feature-item i {
    font-size: 20px;
  }

  .btn-back-dashboard {
    padding: 10px 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .coming-soon-container {
    min-height: 60vh;
  }

  .coming-soon-icon {
    font-size: 60px;
    margin-bottom: 15px;
  }

  .coming-soon-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .coming-soon-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .coming-soon-features {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
  }

  .feature-item {
    font-size: 13px;
  }

  .btn-back-dashboard {
    padding: 10px 20px;
    font-size: 13px;
  }

  .btn-back-dashboard i {
    font-size: 18px;
  }
}

/* Help Page Styles */
.help-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 20px;
}

.help-content {
  width: 100%;
  animation: fadeInUp 0.8s ease-in-out;
}

.help-header {
  text-align: center;
  margin-bottom: 40px;
}

.help-icon {
  font-size: 100px;
  color: var(--primary);
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.help-icon i {
  display: inline-block;
}

.help-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.help-description {
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
}

.help-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--light);
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 60px;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-icon i {
  display: inline-block;
}

.contact-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
}

.contact-description {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.help-footer {
  text-align: center;
}

@media (max-width: 768px) {
  .help-icon {
    font-size: 80px;
    margin-bottom: 20px;
  }

  .help-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .help-description {
    font-size: 16px;
  }

  .help-contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding: 25px;
  }

  .contact-icon {
    font-size: 50px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-description {
    font-size: 14px;
  }

  .contact-link {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .help-container {
    min-height: 60vh;
  }

  .help-icon {
    font-size: 60px;
    margin-bottom: 15px;
  }

  .help-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .help-description {
    font-size: 14px;
  }

  .help-contact-cards {
    gap: 15px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-icon {
    font-size: 40px;
  }

  .contact-title {
    font-size: 18px;
  }

  .contact-description {
    font-size: 13px;
  }

  .contact-link {
    font-size: 14px;
  }
}

/* Password Toggle Styles */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input,
.input-group:has(.password-toggle-btn) input[type="password"],
.input-group:has(.password-toggle-btn) input[type="text"] {
  padding-right: 45px;
}

.password-toggle-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #6c757d;
  font-size: 18px;
  transition: color 0.3s ease;
  z-index: 10;
}

.password-toggle-btn:hover {
  color: var(--primary);
}

.password-toggle-btn:focus {
  outline: none;
}

.password-toggle-btn i {
  pointer-events: none;
}

/* Ensure input-group has position relative for absolute positioning of toggle button */
.input-group:has(.password-toggle-btn) {
  position: relative;
}
.iti {
  width: 100%;
}
.iti__input {
  width: 100%;
}
textarea {
  field-sizing: content;
}

.keyword-item {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.keyword-item:hover {
  background-color: #f8f9fa;
}

.keyword-item.active {
  background-color: #00a38308;
  border: 2px solid #00a383;
}

.sentiment-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.sentiment-bar {
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.sentiment-bar-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.scrollable-keywords {
  overflow: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

/* Hide scrollbar by default (WebKit browsers) */
.scrollable-keywords::-webkit-scrollbar,
.scrollable-detail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Show thin scrollbars on hover (both X and Y) */
.scrollable-keywords:hover::-webkit-scrollbar,
.scrollable-detail:hover::-webkit-scrollbar {
  width: 6px;   /* vertical scrollbar */
  height: 6px;  /* horizontal scrollbar */
}

/* Scrollbar thumb (the moving part) */
.scrollable-keywords::-webkit-scrollbar-thumb,
.scrollable-detail::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

/* Scrollbar track (background) */
.scrollable-keywords::-webkit-scrollbar-track,
.scrollable-detail::-webkit-scrollbar-track {
  background: transparent;
}

/* Firefox: show thin scrollbar on hover */
.scrollable-keywords:hover,
.scrollable-detail:hover {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}
.list-group-item span:before {
  display: none;
}
.offcanvas-bottom {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.offcanvas-body {
  overflow-y: auto;
}

@media (max-width: 991px) {
  .scrollable-keywords {
      max-height: 400px !important;
  }
  .scrollable-detail{
      max-height: 565px !important;
      overflow: auto;
  }
}

#load-more-btn {
  background-color: #f8f9fa;
}

#load-more-keywords {
  transition: all 0.3s ease;
}

#load-more-keywords:hover {
  transform: translateY(2px);
}
.toggle-comment{
  word-break: break-all;
}
.word-cloud-container {
  display: flex;
}

.word-cloud-card {
  width: 100%;
  position: relative;
}

#word-cloud-canvas {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

#word-cloud-canvas-hover-box {
  pointer-events: none;
  position: absolute;
  box-shadow: 0 0 200px 200px rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  border-style: solid;
  cursor: pointer;
}
#gauge{
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 10%);
  display: block;
}
#gauge-value{
  position: absolute;
  top: 83%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
}
#gauge-needle{
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
}
@media (max-width: 425px) {
  #gauge-needle{
      top: 78%;
  }
}

.survey-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeIn 0.6s ease-out backwards;
}

.survey-legend-item:nth-child(1) { animation-delay: 0.2s; }
.survey-legend-item:nth-child(2) { animation-delay: 0.4s; }
.survey-legend-item:nth-child(3) { animation-delay: 0.6s; }

.survey-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
/* Survey Report Styles */

.survey-detail-item {
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInLeft 0.6s ease-out backwards;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.survey-detail-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.survey-detail-item:nth-child(1) { animation-delay: 0.1s; }
.survey-detail-item:nth-child(2) { animation-delay: 0.2s; }
.survey-detail-item:nth-child(3) { animation-delay: 0.3s; }
.survey-detail-item:nth-child(4) { animation-delay: 0.4s; }

.survey-detail-item:hover {
  transform: translateX(12px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 163, 131, 0.15);
}

.survey-detail-item:hover::before {
  transform: scaleY(1);
}

.survey-detail-item:hover .badge {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.survey-badge {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.875rem;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.survey-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.survey-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.survey-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  position: relative;
}

.survey-card-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 2px;
  animation: expandLine 0.8s ease-out 0.3s backwards;
}

.survey-card-header h5 {
  position: relative;
  padding-left: 16px;
}

.survey-card-header h5::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 2px;
  animation: expandHeight 0.6s ease-out 0.2s backwards;
}

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

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gaugeAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fourspeed1 {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(16deg);
  }
}

@keyframes fourspeed2 {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(65deg);
  }
}

@keyframes fourspeed3 {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(115deg);
  }
}

@keyframes fourspeed4 {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(164deg);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

@keyframes expandHeight {
  from {
    height: 0;
  }
  to {
    height: 24px;
  }
}

.survey-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: white;
  margin-right: 12px;
  box-shadow: 0 6px 20px rgba(0, 163, 131, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 3s ease-in-out infinite;
  font-size: 1.4rem;
  position: relative;
  overflow: hidden;
}

.survey-icon-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.survey-icon-wrapper:hover {
  transform: scale(1.15) rotate(8deg) translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 163, 131, 0.5);
}

.survey-icon-wrapper.bg-success {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(0, 163, 131, 0.4);
}

.survey-icon-wrapper.bg-warning {
  background: linear-gradient(135deg, #ffae1f 0%, #ff9800 100%);
  box-shadow: 0 6px 20px rgba(255, 174, 31, 0.4);
}

.survey-icon-wrapper.bg-danger {
  background: linear-gradient(135deg, #fa896b 0%, #f5655c 100%);
  box-shadow: 0 6px 20px rgba(250, 137, 107, 0.4);
}

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

.badge {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.badge:hover::after {
  width: 200px;
  height: 200px;
}

/* Responsive Styles for Survey Reports */
@media (max-width: 991px) {
  .survey-gauge {
    max-width: 100%;
    height: 160px;
  }

  .survey-stat-card {
    margin-bottom: 15px;
  }

  .survey-legend-item {
    display: block;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .survey-detail-item {
    padding: 12px !important;
  }

  .survey-gauge {
    height: 140px;
  }

  .survey-gauge-center .number {
    font-size: 1.5em;
  }

  .survey-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .survey-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

@media (max-width: 575px) {
  .survey-gauge {
    height: 120px;
  }

  .survey-gauge-center {
    width: 70%;
    height: 70%;
  }

  .survey-needle {
    width: 120px;
    height: 12px;
    left: 30px;
  }

  .survey-slice-colors .st {
    border: 70px solid transparent;
  }

  .survey-gauge .survey-slice-colors .st.slice-item:nth-child(1) {
    border-top: 70px var(--secondary) solid;
    border-right: 70px var(--secondary) solid;
  }

  .survey-gauge .survey-slice-colors .st.slice-item:nth-child(2) {
    border-top: 70px #ffae1f solid;
    border-right: 70px #ffae1f solid;
  }

  .survey-gauge .survey-slice-colors .st.slice-item:nth-child(3) {
    border-bottom: 70px rgba(250, 137, 107, 0.8) solid;
    border-right: 70px rgba(250, 137, 107, 0.8) solid;
  }

  .survey-gauge .survey-slice-colors .st.slice-item:nth-child(4) {
    border-bottom: 70px #fa896b solid;
    border-right: 70px #fa896b solid;
  }
}
.shawCalRanges{
  min-width: 200px !important;
}