html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif !important;
  color: #161616 !important;
  font-size: 16px !important;
}


.content-wrapper {
  background: url('/static/image/body-backround.jpg') no-repeat center center fixed !important;
  background-size: cover !important;
  min-height: 100vh !important;
}

.profile-img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
  border: 2px solid white;
}

#copyTemplateBtn {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  color: #214061;
  padding: 8px 15px;
  margin-left: 10px;
}

#copyTemplateBtn:hover {
  background-color: #2a67a9;
  color: white;
  border-color: #2a67a9;
}

.maven-chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2140617c;
  color: white;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
}

.maven-chat-icon:hover {
  transform: scale(1.1);
}

.maven-chat-icon i {
  font-size: 24px;
}

/* Gradient background for offcanvas */
.offcanvas.bg-gradient-primary {
  background: linear-gradient(to bottom right, #214061, #2c5996);
  color: white;
}

/* Larger offcanvas */
#mavenChatContainer.offcanvas-end {
  width: 500px !important;
}

/* Chat header */
.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Chat body box */
#mavenChatMessages {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  height: 400px;
  overflow-y: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Input section */
.input-group {
  gap: 8px;
  margin-top: 15px;
}

/* Button spacing */
.input-group .btn {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Input styling */
#txtChatQuestion {
  border-radius: 10px;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Recording loader */
#audioLoader {
  color: white;
  font-weight: bold;
}

/* Responsive message area */
.chat-body {
  max-height: 400px;
}

/* Chat icon hover and spacing */
.maven-chat-icon {
  background-color: #214061;
  color: white;
}

.form-control,
.form-select {
  border-radius: 10px;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 10px;
  color: #161616 !important;
  font-size: 15px;
}

/* Placeholder styling for input and textarea */
.form-control::placeholder,
textarea::placeholder,
input::placeholder {
  color: #262626 !important;
  opacity: 1;
  /* Ensures it's not faded in some browsers */
  font-style: italic;
}

/* Focus style */
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.btn-gradient-primary {
  background: linear-gradient(135deg, #4f46e5, #3b82f6) !important;
  color: #fff !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease-in-out !important;
}
.dropdown-item {
  color: #161616 !important;
  font-size: 14px !important;
}
.dropdown-item:hover {
  background-color: #f0f0f0 !important;
  color: #161616 !important;
}

.btn-gradient-primary:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}

.btn-gradient-primary:active {
  transform: translateY(0px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

body .text-primary {
  color: #4338ca !important;
}

body .border-primary {
  border-color: #4338ca !important;
}

.btn-outline-primary {
  color: #4f46e5 !important;
  border: 1px solid #4f46e5 !important;
  background-color: transparent !important;
  font-weight: 500 !important;
  border-radius: 0.2rem !important;
  transition: all 0.3s ease-in-out;
  box-shadow: none;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #3b82f6) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px) !important;
  border-color: transparent !important;
}

.btn-outline-primary:active {
  transform: translateY(0px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  background: linear-gradient(135deg, #4338ca, #2563eb) !important;
  color: #fff !important;
}


body .bg-gradient-primary {
  background: linear-gradient(135deg, #4f46e5, #3b82f6) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}


.btn-primary {
  background-color: #4f46e5 !important;
  color: #fff !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease-in-out !important;
  border: #fff !important;
}

body .bg-primary {
  background-color: #4f46e5 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn-gradient-danger {
  background: linear-gradient(135deg, #ff7373, #ff0059) !important;
  color: #fff !important;
  font-weight: 500;
  border: none;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}

.btn-gradient-danger:hover {
  background: linear-gradient(135deg, #b71c1c, #c51162) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-gradient-danger:active {
  transform: translateY(0px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


body table th,
body table td {
  background-color: #fdfdff !important;
  color: #3e3e3e !important;
  font-size: 14px !important;
  vertical-align: middle !important;
  border-color: #dee2e6 !important;
  padding: 0.75rem !important;
}

body .modal-body{
  background-color: #ffffff !important;
  color: #3e3e3e !important;
  font-size: 14px !important;
  padding: 1.5rem !important;
}
body .modal-header {
  background-color: #ffffff !important;
  color: #3e3e3e !important;
  font-size: 14px !important;
  padding: 1.5rem !important;
}
body .modal-footer {
  background-color: #ffffff !important;
  color: #3e3e3e !important;
  font-size: 14px !important;
  padding: 1.5rem !important;
}
.loader-file-upload {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
  background:
    var(--_g) 0% 50%,
    var(--_g) 50% 50%,
    var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%
  }

  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%
  }

  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%
  }

  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%
  }
}