/* .open-details-hover {
  transition: transform 0.3s ease, z-index 0s;
  transform-origin: top left;
  z-index: 10;
  transform: scale(10);
} */

* {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.direct-chat-text {
  padding: 10px;
}

.direct-chat-text p {
  margin: 0;
}

.blurred-text {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

.loading-container {
  display: flex;
  align-items: center;
  gap: 8px;
  color: gray;
  font-style: italic;
  font-size: 14px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.screenshot-result {
  position: relative;
}

.screenshot-result img.screenshot-result-done {
  border-radius: 5px;
  border: 1px solid black;
  max-height: 150px;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}

img.zoomed {
  border-radius: 5px;
  border: 1px solid #ccc;
  position: absolute;
  top: 0;
  z-index: 9999;
  transform-origin: left top;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  width: 500px;
  height: auto;
  cursor: zoom-out;
  background: white;
}

.x9ai {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

.x9ai::after,
.x9ai::before {
  border-right-color: #dc3545;
}

.img-small {
  width: 200px;
  height: auto;
}

.zoom-in {
  cursor: zoom-in;
  /* transition: transform 0.3s ease; */
  /* transform-origin: top left; */
}

/* .img-click:hover {
  transition: transform 0.3s ease, z-index 0s;
  transform-origin: top left;
  z-index: 1001;
  transform: scale(10);
} */

@keyframes fadeGlow {
  0% {
    color: #e5e8ea;
    text-shadow: 0 0 5px #b71a23, 0 0 10px #b71a23, 0 0 15px #b71a23;
  }

  50% {
    color: #e5e8ea;
    text-shadow: 0 0 10px #b71a23, 0 0 20px #b71a23, 0 0 30px #b71a23;
  }

  100% {
    color: #e5e8ea;
    text-shadow: 0 0 5px #b71a23, 0 0 10px #b71a23, 0 0 15px #b71a23;
  }
}

.highlight-glow {
  font-weight: bold;
  animation: fadeGlow 1.5s ease-in-out infinite;
}

.callout a:hover {
  color: #b71a22;
}

.lock-open:hover {
  color: #b71a22 !important;
}

.lock-open {
  color: #4a0000 !important;
}

.eye:hover {
  color: #b71a22 !important;
}

.eye {
  color: #4a0000 !important;
}

.product-other {
  opacity: 0.4;
  color: inherit;
}

#product-nav .tab-content {
  padding: 10px;
  border-radius: 0 0 4px 4px;
  border-right: 1px solid rgb(222, 226, 230);
  border-left: 1px solid rgb(222, 226, 230);
  border-bottom: 1px solid rgb(222, 226, 230);
}

.product-card,
.product-card-free {
  border: 1px solid #3891f285;
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.product-card .header,
.product-card-free .header {
  height: 110px;
  clip-path: polygon(0 0, 100% 0%, 100% 80%, 0 100%);
  background-color: #3891f2;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
}

.product-card-free .header {
  height: 150px;
  position: relative;
}

@media (max-width: 767px) {
  .username {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    margin-right: 8px;
  }
}

.search-filter {
  font-weight: normal !important;
  opacity: 0.7;
  color: inherit;
  margin-bottom: 0;
}

.index-call {
  opacity: 0.4;
  color: inherit;
}

.index-call:hover {
  opacity: 0.7;
  color: inherit;
  text-decoration: underline;
}

.index-call-plus {
  display: inline-block;
  background-color: #ffc107;
  color: inherit;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 0 0 rgba(255, 59, 63, 0.7);
  animation: pulse 1.5s infinite;
  transition: transform 0.2s, background-color 0.3s;
}

.index-call-plus:hover {
  transform: scale(1.05);
  background-color: #e3ad08;
  color: inherit;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 63, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 59, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 63, 0);
  }
}

a[aria-label="View"],
a[aria-label="Exibir"] {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
  border-radius: 0.15rem;
  padding: 0.225rem 0.35rem;
  font-size: 0.75rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

a[aria-label="View"]:hover,
a[aria-label="Exibir"]:hover {
  color: #fff;
  background-color: #138496;
  border-color: #117a8b;
}

a[aria-label="Delete"],
a[aria-label="Excluir"] {
  /* color: #dc3545; */
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
  border-radius: 0.15rem;
  padding: 0.225rem 0.35rem;
  font-size: 0.75rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

a[aria-label="Delete"]:hover,
a[aria-label="Excluir"]:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}

a[aria-label="Update"],
a[aria-label="Alterar"] {
  /* color: #28a745; */
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
  border-radius: 0.15rem;
  padding: 0.225rem 0.35rem;
  font-size: 0.75rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

a[aria-label="Update"]:hover,
a[aria-label="Alterar"]:hover {
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
}

.hidden {
  padding: 1px;
  border: 1px solid #00000080;
  color: #00000080;
  border-radius: 4px;
}

.hidden:hover {
  color: #000000c9;
  background-color: #b71a2280;
}

.truncate-index {
  max-height: 120px;
  /* width: 100%; */
  overflow: auto;
  /* resize: both; */
}

/* .prev.disabled,
.next.disabled {
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  border: 1px solid #dee2e6;
  color: rgba(0, 0, 0, 0.3);
} */

.page-link.active,
.active>.page-link {
  background-color: #b71a22;
  border-color: #e0292e;
}

.page-link {
  color: #0056b3;
}

/* .page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
} */

.pagination {
  justify-content: flex-end;
}

.highlight {
  background-color: #b71a22;
  color: #fff;
  font-weight: bold;
}

.fake-img {
  border: 1px solid #000;
  border-radius: 50%;
  padding: 0px;
  /* display: inline-block; */
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 36px;
  float: left;
  margin-right: 5px;
}

#search-input {
  border-right: none;
}

.btn-search-icon {
  background-color: white;
  border-top: 1px solid rgb(206, 212, 218);
  border-right: 1px solid rgb(206, 212, 218);
  border-bottom: 1px solid rgb(206, 212, 218);
}

.btn-search-icon:hover {
  border-top: 1px solid rgb(206, 212, 218);
  border-right: 1px solid rgb(206, 212, 218);
  border-bottom: 1px solid rgb(206, 212, 218);
}

.btn-close-icon {
  background-color: white;
  border-top: 1px solid rgb(206, 212, 218);
  border-bottom: 1px solid rgb(206, 212, 218);
}

.btn-close-icon:hover {
  border-top: 1px solid rgb(206, 212, 218);
  border-bottom: 1px solid rgb(206, 212, 218);
}

.btn-search {
  border-color: #e0292e;
  background-color: #b71a22;
  color: #fff;
}

.btn-search:hover {
  border-color: #b71a22;
  background-color: #e0292e;
  color: #fff;
}

.btn-link {
  border: 0;
  padding: 0;
  color: #212529;
  width: 100%;
  text-align: left;
}

.main-header {
  z-index: 1030;
}

.main-sidebar {
  background-color: #b71a22;
  height: 100vh;
  overflow-y: hidden;
  z-index: 1030;
}

.nav-pills .nav-link {
  color: #fff;
  /* transition: color 0.2s ease; */
  transition: background-color 0.2s ease;
}

.nav-pills .nav-link:not(.active):hover {
  /* color: #480000; */
  color: #fff;
  background-color: #e0292e;
  /* transition: color 0.2s ease; */
  transition: background-color 0.2s ease;
}

.truncate {
  max-height: 120px;
  width: 100%;
  overflow: auto;
  resize: both;
}

.message-img,
.message-video {
  height: 300px;
  width: auto;
}

footer>div>a {
  color: #869099;
  margin-right: 20px;
}

footer>div>a:hover {
  color: #869099;
}

.profile-picture {
  width: 30px;
  height: auto;
  margin-right: 5px;
  margin-top: -4px;
}

.newtruncate {
  max-height: 120px;
  width: 100%;
  overflow: auto;
  resize: both;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#upgradeModal .modal-dialog {
  animation: fadeIn 0.5s ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

#upgradeModal .modal-content {
  animation: pulse 1.5s ease-in-out infinite;
}