@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");

body {
  background: linear-gradient(135deg, #FEF3F5 0%, #FEF3F5 10%);
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

h2,
h3,
h4,
h5 {
  color: #5c4b51;
}

.container {
  max-width: 900px;
  width: 100%;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.preview-container {
  width: 90%; /* Largura relativa */
  max-width: 360px; /* Largura máxima para dispositivos maiores */
  height: 700px; /* Altura fixa */
  margin: 20px auto;
  background: #000; /* Cor de fundo do celular */
  border-radius: 30px; /* Bordas arredondadas do celular */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px;
  background: linear-gradient(
    174deg,
    rgba(217, 177, 154, 0.3) 27%,
    rgba(242, 179, 191, 0.3) 73%,
    rgba(217, 145, 158, 0.3) 100%
  );
  /* Cor de fundo da tela */
  border-radius: 20px; /* Bordas arredondadas da tela */
}

.card-background {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #fff;
  /* Cor de fundo da tela */
  margin: 10px; /* Margem para simular a borda do celular */
  border-radius: 20px; /* Bordas arredondadas da tela */
}

/* Barra de navegação inferior */
.phone-navigation {
  height: 50px;
  background: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.phone-navigation div {
  width: 40px;
  height: 5px;
  background: #fff;
  border-radius: 5px;
}

/* Estilo moderno e estreito para o scroll */
.phone-screen::-webkit-scrollbar {
  width: 6px; /* Largura do scroll */
}

.phone-screen::-webkit-scrollbar-thumb {
  background-color: #d8547f; /* Cor do thumb (barra de scroll) */
  border-radius: 3px; /* Bordas arredondadas */
}

.phone-screen::-webkit-scrollbar-track {
  background-color: #f9f9f9; /* Cor do fundo do scroll */
}

.nome-casal {
  font-family: "Great Vibes", cursive;
  font-size: 30px;
  color: #730220; /* Vermelho romântico */
  text-align: center;
}

/* Container Polaroid */
.polaroid-container {
  background: white;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra mais escura */
  margin-bottom: 20px;
  text-align: center;
  border-radius: 0; /* Remove o border-radius do Polaroid */
}

.carousel-inner {
  overflow: hidden;
  margin-bottom: 15px;
}

.carousel-item img {
  width: 100%;
  height: 250px; /* Altura fixa */
  object-fit: cover;
  border-radius: 0; /* Remove o border-radius da foto */
}

.carousel-item.placeholder {
  background-color: #e0e0e0;
  height: 250px; /* Altura fixa */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #888;
  font-size: 16px; /* Tamanho menor para dispositivos móveis */
  font-weight: bold;
  border-radius: 0; /* Remove o border-radius do placeholder */
}

.countdown {
  color: #282c40; /* Rosa puxado para o roxo */
  font-weight: bold;
  font-size: 12px;
  font-weight: normal;
  text-align: center;
  margin-top: 25px;
}

.text-content {
  word-wrap: break-word;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
}

#musicaPreview iframe {
  width: 100%;
  height: 60px; /* Altura reduzida para focar no áudio */
  border: none;
  border-radius: 10px;
  margin-bottom: 20px;
}

.form-control {
  border-radius: 8px;
  font-size: 16px;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
}

#atualizarPreview,
.btn-close-modal {
  font-size: 18px;
  font-weight: bold;
  background-color: #f06060 !important; /* Cor rosa romântico */
  border: none;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  color: white;
  width: 100%;
}

#atualizarPreview:hover,
.btn-close-modal:hover {
  background-color: #d74c6e !important;
}

.btn:hover {
  background-color: #f06060;
  color: white;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.charCount {
  margin-top: -13px;
  text-align: right;
}

.margin-top-0 {
  margin-top: 0;
}

.padding-top-0 {
  padding-top: 0;
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand h5 {
  color: #5c4b51;
  font-size: 35px;
  padding-left: 20px;
  text-decoration: none !important;
}

.remove-underline {
  color: rgba(0, 0, 0, 0) !important;
  text-decoration: underline;
}

/*Multiupload*/
/* Força o layout horizontal na lista de arquivos */
.filepond--root .filepond--list {
  display: flex !important;
  flex-wrap: wrap; /* ou nowrap se quiser rolagem horizontal */
  gap: 10px;
  justify-content: flex-start;
}

/* Garante que cada item tenha tamanho fixo e fique lado a lado */
.filepond--item {
  width: 50px !important;
  flex: 0 0 auto;
}

/* Adicione isto ao seu arquivo style.css */

/* Container principal */
.filepond--root {
  border: 1px dashed #ddd; /* Cor rosa temática */
  border-radius: 12px !important;
  min-height: 100px;
  margin: 1rem 0;
  overflow: visible !important;
}

/* Borda durante arrastar arquivo */
.filepond--drop-label {
  border-radius: 10px !important;
  z-index: 1 !important; /* Garante que fique acima de outros elementos */
}

/* Painel interno */
.filepond--panel-root {
  background: transparent !important;
  border: none !important;
}

/* Pré-visualização da imagem */
.filepond--image-preview {
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden;
}

/* Texto do placeholder */
.filepond--drop-label label {
  font-weight: 500;
  padding: 1.5rem;
  font-size: 1.1em;
}

/* Ícones */
.filepond--action-process-item svg,
.filepond--action-revert-item svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

/* Estado de foco */
.filepond--root[data-style-panel-layout~="integrated"] {
  border-color: #c2185b !important;
  box-shadow: 0 0 0 2px #f8bbd0 !important;
}

/* Ajuste de sobreposição */
.filepond--list-scroller {
  margin-top: -10px !important;
  padding-top: 10px !important;
}

/* Item individual do arquivo */
.filepond--item {
  margin: 0.3rem !important;
  /*  width: calc(33.333% - 1rem) !important;*/
}

.pcr-button {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  overflow: auto;
}

/*Modal*/
.modal-footer {
  padding-left: 0 !important;
  padding-right: 0;
}

/*V2*/
.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
  justify-content: center;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.color-swatch.selected {
  border: 3px solid #5c6bc0;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #5c6bc0;
}

.color-info {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  background: white;
  padding: 12px 15px;
  border-radius: 10px;
  font-weight: 500;
}

.custom-picker {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-picker::-webkit-color-swatch {
  border-radius: 10px;
}

.custom-picker::-moz-color-swatch {
  border-radius: 10px;
}

.hex-value {
  color: #4776e6;
  font-weight: bold;
  letter-spacing: 1px;
}

.color-picker-wrapper {
  position: relative;
  display: inline-block;
}

.color-swatch.custom-picker {
  width: 40px;
  height: 40px;
  border-radius: 10px !important;
  border: none;
  cursor: pointer;
}

/* Estilos para o Pickr */

.pcr-app {
  z-index: 1100 !important;
  /* Garante que fique acima do modal */
}

.accordion-body {
  padding: 20px;
}

/* Esconder os botões do Pickr */
.pcr-clear {
  display: none !important;
}

/**/
/* Ícone adicionado via CSS */
.pickr::before {
  content: "🖌";
  position: absolute;
  font-size: 28px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 2;
  /* Permite cliques através do ícone */
  pointer-events: none;
  width: 40px;
  text-align: center;
}

/* Sobreposição para melhor contraste */
.pickr::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  z-index: 1;
  /* Permite cliques através da sobreposição */
  pointer-events: none;
}

.btn-settings {
  background-color: #d9eaf2 !important; /* Cor rosa romântico */
  border: none;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  color: #333;
  width: 100%;
}

.btn-settings:hover {
  color: #333;
}
/* Media Queries para dispositivos móveis */
@media (max-width: 576px) {
  .preview-container {
    width: 95%; /* Aumenta a largura para telas menores */
    height: 600px; /* Mantém a altura fixa */
  }

  .nome-casal {
    font-size: 30px; /* Tamanho menor para telas pequenas */
  }

  .carousel-item img {
    height: 250px; /* Mantém a altura fixa */
  }

  .carousel-item.placeholder {
    height: 250px; /* Mantém a altura fixa */
  }

  .countdown {
    font-size: 14px; /* Tamanho menor para telas pequenas */
  }
}
