/* Estiliza o "botão" de upload */
.custom-file-upload {
  padding: 8px 12px;
  background-color: #344d81;
  color: white !important;
  font-weight: bold !important;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.3s;
  width: auto !important;
}

.custom-file-upload:hover {
  background-color: #001A36;
}

.upload-wrapper {
  display: flex;
  margin-top: 3px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  /* borda acinzentada */
  border-radius: 4px;
  background-color: #f9f9f9;
}

#fileNameDisplay {
  margin: 0 0 0 10px;
  font-size: 0.875rem;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Wrapper de data */

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

#imageInput {
  display: none;
}

#fileNameDisplay {
  text-decoration: none;
}

.date-wrapper {
  position: relative;
}

.date-wrapper input[type="date"] {
  width: 100%;
  padding-right: 45px;
  height: 37px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

.calendar-button {
  position: absolute;
  right: 0px;
  top: 50%;
  align-items: center;
  display: flex;
  transform: translateY(-50%);
  background-color: #344d81;
  color: white;
  border-radius: 0 4px 4px 0;
  padding: 0px 10px;
  height: 100%;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
}

#eventDateInput {
  padding-left: 10px;
}

/* Coupon styles */
.toggle-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.toggle-label {
  font-size: 1.1em;
  font-weight: 500;
}

/* Estiliza o "botão" de upload */
.upload-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  /* borda acinzentada */
  border-radius: 4px;
  background-color: #f9f9f9;
}

#fileNameDisplay {
  margin: 0 0 0 10px;
  font-size: 0.875rem;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Wrapper de data */

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

#imageInput {
  display: none;
}

#fileNameDisplay {
  text-decoration: none;
}

.date-wrapper {
  position: relative;
}

.date-wrapper input[type="date"] {
  width: 100%;
  padding-right: 45px;
  height: 37px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

.calendar-button {
  position: absolute;
  right: 0px;
  top: 50%;
  align-items: center;
  display: flex;
  transform: translateY(-50%);
  background-color: #344d81;
  color: white;
  border-radius: 0 4px 4px 0;
  padding: 0px 10px;
  height: 100%;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
}

#eventDateInput {
  padding-left: 10px;
}

/* Coupon styles */
.toggle-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.toggle-label {
  font-size: 1.1em;
  font-weight: 500;
}

#cropModal .modal-dialog {
  width: 600px;
  height: 60%;
}

#cropModal .modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#cropModal .modal-body {
  flex: 1;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#cropModal .img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

#cropButton {
  background: #344d81;
  color: white;
  font-weight: bold;
}

#cancelCropButton {
  background: #D1B9A7;
  color: white;
  font-weight: bold;
}

#imageToCrop {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Estilo dos filtros */
.filter-header {
  padding: 13px 16px;
  background: #344d81;
  border-radius: 8px 8px 0 0;
  color: white !important;
  font-weight: bold;
  cursor: initial;
}

.list-tooltip {
  opacity: 1;
  transition: opacity 1s ease;
  /* só pra garantir */
}

.border_filter {
  border: 1px solid #e0e0e0;
  border-radius: 0px 0px 8px 8px;
  padding: 10px;
}

.filter-item {
  border-bottom: 1px solid #cccccc;
}

/* FIM Estilo dos filtros */

/* Inicio da lista de recomendaçao de compra */

.border_img {
  border: 2px solid white;
}

.recomendation-list,
.recomendation-list-content,
.progress-checklist {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.recomendation-list-content {
  padding: 30px 20px 10px 20px;
}

.text-indicator {
  margin: 80px 0;
  text-align: center;
}

.progress-checklist {
  padding: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.categoryCheckItem {
  padding-bottom: 20px;
}

.title-recomendation {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #344d81;
}

.subtitle-recomendation {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.container_check_list {
  display: flex;
  flex-wrap: wrap;
}

.check-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: center;
  width: 100%;
  height: 100%;
  user-select: none;
}

.check-item input[type="checkbox"] {
  display: none;
}

.check-item input[type="checkbox"]:checked+span,
.check-item input[type="checkbox"]:checked {
  background-color: #e2e8f0;
  border-color: #344d81;
  color: #344d81;
}

.check-item:hover {
  border-color: #344d81;
}

.form-check-input:checked {
  background-color: #344d81 !important;
  border-color: #344d81 !important;
}

.check-item-box {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.check-item-box:hover {
  background-color: #f8f9fa;
  box-shadow: 0 0 0 2px #ffcc29;
}

.check-item-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #344d81;
}

.header-lista-casamento {
  border-radius: 8px;
}

/* Fim da lista de recomendaçao de compra */

/* Estilização da mensagem indicativa para o usuario*/

.container-indicator-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 60px;
}

.container_arrow {
  width: 20px;
  height: 20px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.arrow span {
  display: block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #344d81;
  border-right: 2px solid #344d81;
  transform: rotate(45deg);
  animation: arrowAnim 1.5s infinite;
  opacity: 0;
}

.arrow span:nth-child(1) {
  animation-delay: 0s;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrowAnim {
  0% {
    opacity: 0;
    transform: rotate(45deg) translateY(-10px, -10px)
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translateY(10px, 10px)
  }
}

/* Fim Estilização da mensagem indicativa para o usuario*/

/* Mensagem indicador tooltip */
.products-list-container {
  position: fixed;
  bottom: 200px;
  right: 40px;
  z-index: 10;
  width: 50px;
  height: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.list-tooltip {
  background-color: #344d81;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  white-space: nowrap;
  min-width: 220px;
  text-align: center;
}

.list-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

/* FIM Mensagem indicador tooltip */

/* Estilo do Float button */
.float-list-product a,
.float-list-product i {
  color: #fff;
}

.float-list-product {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: #fff;
  border-radius: 100%;
  text-align: center;
  font-size: 24px;
  /* box-shadow: 2px 2px 3px rgb(190, 190, 190); */
  z-index: 999;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.badge-counter {
  position: absolute;
  top: -10px;
  right: -3px;
  background-color: #ffcc29;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
  animation: pulse 3s infinite;
}

.float-list-product.list-products {
  background-color: #344d81 !important;
}

/* Fim Estilo do Float button */

/* Inicio Estilo Modal de Produtos */
.card-img-top {
  width: 50%;
  padding: 10px 0px 0px 20px;
  object-fit: cover;
}

/* Fim Estilo Modal de Produtos */

/* filter-wedding-style */
.scrollable-brands {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0px 20px;
  scrollbar-width: thin;
}

.scrollable-brands::-webkit-scrollbar {
  width: 6px;
}

.scrollable-brands::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border-radius: 4px;
}

.filter-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1rem;
}

.scrollable-categories {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0px 20px;
  scrollbar-width: thin;
}

.scrollable-categories::-webkit-scrollbar {
  width: 6px;
}

.scrollable-categories::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border-radius: 4px;
}

/* Fim filtros  */

/* quickViewModal */
.quickViewModal {
  border-radius: 8px !important;
}

/* FIM quickViewModal */


/* Estilo botao de redirecionamento */
.button_edit {
  background: white;
  border-radius: 8px;
  color: #344d81;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
}

.button_edit:hover {
  background: rgb(247, 244, 244);
  color: #1f3d5c;
}

/* FIM Estilo botao de redirecionamento */


/* Media queries */
@media only screen and (min-width: 700px) {
  .products-list-container {
    right: 125px;
    width: 60px;
    height: 60px;
  }
  .badge-counter {
    font-size: 16px;
    width: 30px;
    height: 30px;
  }
}

/* FIM Media queries */