/* Sticky Search Bar with Layered Design */
.psModal-searchContainer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  z-index: 9999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.psModal-searchContainer:hover {
  transform: translateX(-50%) translateY(-2px);
}

/* Outer red border */
.psModal-outerBorder {
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(229, 62, 62, 0.3);
  transition: all 0.3s ease;
}

/* Middle blue border */
.psModal-middleBorder {
  background: #0176d3;
  padding: 4px;
  border-radius: 42px;
  transition: all 0.3s ease;
}

/* Inner white container */
.psModal-innerContainer {
  background: white;
  border-radius: 36px;
  padding: 3px;
  display: flex;
  align-items: center;
}

.psModal-searchWrapper {
  display: flex;
  align-items: center;
  width: 100%;
  background: white;
  border-radius: 32px;
  padding: 12px 20px;
  gap: 12px;
  font-family: Arial, sans-serif;
}

.psModal-searchIcon {
  width: 20px;
  height: 20px;
  color: #718096;
  flex-shrink: 0;
}

.psModal-searchText {
  flex: 1;
  font-size: 16px;
  color: #a0aec0;
  font-weight: 400;
  user-select: none;
  cursor: pointer;
}

.psModal-searchevaimg {
  width: 100px;
  height: 100px;
  color: #718096;
  flex-shrink: 0;
  position: absolute;
  left: -10px;
  top: -100px;
  z-index: 2;
  cursor: pointer;
}

.psModal-searchevatext {
  position: absolute;
  top: -75px;
  left: 65px;
  background-color: #000;
  color:#fff;
  padding: 15px 30px;
  border-radius: 0px 30px 30px 0px;
  box-shadow: 0 12px 40px rgba(229, 62, 62, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.psModal-micIcon {
  width: 25px;
  height: 25px;
  color: #fff;
  flex-shrink: 0;
}

.psModal-sendButton {
  width: 32px;
  height: 32px;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.psModal-sendIcon {
  width: 14px;
  height: 14px;
  color: #4a5568;
}

/* Hover effects */
.psModal-searchContainer:hover .psModal-outerBorder {
  box-shadow: 0 12px 40px rgba(229, 62, 62, 0.4);
}

.psModal-searchContainer:hover .psModal-sendButton {
  background: #cbd5e0;
  transform: scale(1.05);
}

/* Modal styles */
.psModal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.psModal-overlay.psModal-show {
  opacity: 1;
}

.psModal-modal {
  width: 100%;
  max-width: 70%;
  height: 85vh;
  background: white;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin: 0 auto;
}

.psModal-modal.psModal-show {
  transform: translateY(0);
}

/* Modal iframes */
.psModal-modal iframe {
  flex-grow: 1;
  border: none;
  width: 100%;
}

/* Controls container */
.psModal-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-bottom: 1px solid #ccc;
}

/* Modal handle for bottom sheet visual cue */
/*.psModal-handle {
  width: 40px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  margin: 8px auto 0 auto;
  flex-shrink: 0;
}*/

.psModal-controls-buttons {
  display: flex;
  gap: 10px;
}

/* Buttons with gradient */
.psModal-controls button {
  background: linear-gradient(90deg, #00B7FF, #00D488);
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  transition: background 0.3s ease;
}

.psModal-controls button:hover {
  background: linear-gradient(90deg, #009ED9, #00B36A);
}

/* Close button (×) */
.psModal-closeBtn {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  padding: 0 6px;
  cursor: pointer;
  user-select: none;
  color: #333;
  background: none;
  border: none;
}

.psModal-closeBtn:hover {
  color: #00D488;
}

/* Responsive design */
@media (max-width: 640px) {
  .psModal-searchContainer {
    width: 95%;
    max-width: none;
  }
  
  .psModal-searchText {
    font-size: 14px;
  }
  
  .psModal-outerBorder {
    padding: 4px;
  }
  
  .psModal-middleBorder {
    padding: 3px;
  }

  .psModal-modal {
    height: 90vh;
    max-width: 95%;
  }

  .psModal-controls {
    padding: 12px;
  }

  .psModal-handle {
    width: 50px;
    height: 5px;
    margin: 12px auto 8px auto;
  }

  .psModal-minimizedEvaImg {
    width: 60px;
    height: 60px;
  }

  .psModal-minimizedEvaText {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* Minimized Eva State */
.psModal-minimizedEva {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
}

.psModal-minimizedEva:hover {
  transform: scale(1.1);
}

.psModal-minimizedEvaImg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(1, 118, 211, 0.3);
  transition: all 0.3s ease;
}

.psModal-minimizedEvaImg:hover {
    box-shadow: 0 12px 32px rgba(1, 118, 211, 0.5);
    border-radius: 50%;
}

.psModal-minimizedEvaText {
  position: absolute;
  top: -45px;
  right: 0;
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.psModal-minimizedEva:hover .psModal-minimizedEvaText {
  opacity: 1;
  transform: translateY(0);
}

/* Animation on load */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.psModal-searchContainer {
  animation: slideUp 0.6s ease-out;
}

.psModal-minimizedEva {
  animation: bounceIn 0.5s ease-out;
}
/*#gtm-consent-notice {
    position: fixed;
    top: 50%;
    bottom: unset !important;
    width: 700px !important;
    height: 100%;
    transform: translate(-50%, -50%);
    left: 50% !important;
    padding: 15px;
    text-align: center;
    z-index: 99999999999;
    margin: auto;
}
.gtm-consent-content_inner {
    transform: translate(-50%, -50%);
    left: 50% !important;
    top: 50% !important;
    position: absolute;
    width: 100%;
    box-shadow: 0px 1px 20px 12px rgba(0, 0, 0, 0.1607843137254902);
}*/
/* Powered by text */
.psModal-poweredBy {
  text-align: center;
  font-size: 12px;
  color: #00b7ff;
  margin-top: 8px;
  font-family: Arial, sans-serif;
  font-weight: 500;
  user-select: none;
  transition: all 0.3s ease;
}

.psModal-searchContainer:hover .psModal-poweredBy {
  color: #6B7280;
}