* {
  box-sizing: border-box;
}

:root {
  --azul-casamento: #061f4a;
  --azul-claro: #12376f;
  --dourado-suave: #c8a96a;
  --fundo: #f6f1e9;
  --branco: #ffffff;
  --texto: #1f2933;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--fundo);
  color: var(--texto);
}

/* UPLOAD */

.upload-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(6, 31, 74, 0.55), rgba(6, 31, 74, 0.78)),
    url('https://luizeerika.com.br/convite/save-the-date.jpg') center/cover no-repeat;
}

.upload-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

.upload-card {
  width: 100%;
  max-width: 430px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(200, 169, 106, 0.45);
}

.monograma {
  width: 112px;
  height: auto;
  margin-bottom: 8px;
}

.data-evento {
  margin: 0 0 12px;
  color: var(--azul-casamento);
  letter-spacing: 5px;
  font-size: 13px;
  font-weight: bold;
}

.upload-card h1 {
  margin: 0;
  color: var(--azul-casamento);
  font-size: 31px;
  line-height: 1.1;
  font-weight: normal;
}

.subtitle {
  margin: 12px 0 22px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #4b5563;
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 26px 16px;
  border: 2px dashed var(--dourado-suave);
  border-radius: 20px;
  background: #fffaf2;
  cursor: pointer;
  margin-bottom: 16px;
  transition: 0.2s ease;
}

.upload-box:hover {
  background: #fff4df;
  transform: translateY(-1px);
}

.upload-box input {
  display: none;
}

.upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--azul-casamento);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.upload-box strong {
  color: var(--azul-casamento);
  font-size: 17px;
}

.upload-box small {
  font-family: Arial, sans-serif;
  color: #6b7280;
}

.btn-enviar {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-size: 17px;
  background: var(--azul-casamento);
  color: white;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: bold;
  box-shadow: 0 10px 24px rgba(6, 31, 74, 0.28);
}

.btn-enviar:hover {
  background: var(--azul-claro);
}

#mensagem {
  margin-top: 16px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  color: var(--azul-casamento);
}

.rodape-upload {
  margin: 18px 0 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #6b7280;
}

/* PREVIEW */

.preview-area {
  margin: 16px 0 20px;
  padding: 12px;
  border-radius: 18px;
  background: #fffaf2;
  border: 1px solid rgba(200, 169, 106, 0.55);
  text-align: center;
}

.nome-arquivo {
  margin: 0 0 12px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--azul-casamento);
  word-break: break-word;
}

.preview-imagem,
.preview-video {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
}

/* SLIDESHOW MINIMALISTA */

.slideshow-body {
  margin: 0;
  background: #000;
  overflow: hidden;
  /*cursor: none;*/
}

.slideshow-minimal {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.slide-background {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(30px);
  transform: scale(1.14);
  opacity: 0.55;
  transition: background-image 0.8s ease;
}

.slideshow-minimal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.45) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.35));
  pointer-events: none;
  z-index: 2;
}

.media-wrapper-minimal {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-media-minimal {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  animation-duration: 1.4s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

.assinatura-slideshow {
  position: absolute;
  right: 64px;
  bottom: 132px;
  z-index: 4;
  text-align: center;
  color: #fff;
  opacity: 0.96;
  text-shadow: 0 5px 20px rgba(0,0,0,0.75);
}

.monograma-slideshow-box {
  width: 118px;
  height: 118px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid rgba(243, 213, 138, 0.9);
  background: rgba(255, 255, 255, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.18),
    0 14px 42px rgba(0,0,0,0.45);
}

.monograma-slideshow-box img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: contrast(1.15) saturate(1.15);
}

.nome-casal-slideshow {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 42px;
  font-weight: normal;
  line-height: 1.05;
  color: #ffffff;
}

.data-casal-slideshow {
  display: block;
  margin-top: 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: #f3d58a;
}
.slideshow-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  z-index: 6;
  background: rgba(0, 0, 0, 0.82);
  border-top: 1px solid rgba(243, 213, 138, 0.16);
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  padding: 0 56px;
  color: #fff;
  font-family: Arial, sans-serif;
  backdrop-filter: blur(10px);
}

.bottom-status,
.bottom-share,
.bottom-update {
  display: flex;
  align-items: center;
}

.bottom-status {
  gap: 12px;
  justify-content: flex-start;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
}

.status-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #d82020;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px rgba(216,32,32,0.85);
}

.bottom-share {
  justify-content: center;
  gap: 16px;
}

.camera-icon {
  width: 52px;
  height: 52px;
  border: 2px solid var(--dourado);
  border-radius: 14px;
  color: var(--dourado);
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-share strong {
  display: block;
  color: #f3d58a;
  font-size: 20px;
  font-weight: normal;
}

.bottom-share span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
}

.bottom-update {
  justify-content: flex-end;
  gap: 12px;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
}

.refresh-icon {
  font-size: 28px;
  opacity: 0.72;
}
.nova-foto-aviso {
  position: absolute;
  top: 42px;
  left: 42px;
  z-index: 5;
  width: 360px;
  padding: 22px 24px;
  border: 1px solid rgba(200, 169, 106, 0.8);
  border-radius: 18px;
  background: rgba(0,0,0,0.46);
  backdrop-filter: blur(10px);
  color: white;
  opacity: 0;
  transform: translateY(-18px);
  transition: all 0.6s ease;
  pointer-events: none;
  box-shadow: 0 18px 60px rgba(0,0,0,0.32);
}

.nova-foto-aviso.mostrar {
  opacity: 1;
  transform: translateY(0);
}

.nova-foto-aviso strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: normal;
  color: #f3d58a;
}

.nova-foto-aviso span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 19px;
  line-height: 1.45;
}

.slide-text {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  padding: 24px;
}

.slide-text h1 {
  font-size: 72px;
  margin: 0 0 18px;
  font-weight: normal;
}

.slide-text p {
  font-family: Arial, sans-serif;
  font-size: 28px;
  margin: 0;
}

/* TRANSIÇÕES */

.transition-fade {
  animation-name: fadeIn;
}

.transition-zoom-in {
  animation-name: zoomInSoft;
}

.transition-zoom-out {
  animation-name: zoomOutSoft;
}

.transition-slide-left {
  animation-name: slideLeft;
}

.transition-slide-right {
  animation-name: slideRight;
}

.transition-slide-up {
  animation-name: slideUp;
}

.transition-kenburns {
  animation-name: kenBurns;
  animation-duration: 7s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomInSoft {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOutSoft {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(70px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-70px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenBurns {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* TELA INICIAL */

.start-screen {
  width: 100vw;
  height: 100vh;
  background:
    linear-gradient(rgba(6, 31, 74, 0.72), rgba(6, 31, 74, 0.9)),
    url('https://luizeerika.com.br/convite/save-the-date.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  color: white;
}

.start-monograma {
  width: 140px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.start-screen h1 {
  margin: 0;
  font-size: 64px;
  font-weight: normal;
}

.start-screen p {
  margin: 0 0 10px;
  font-family: Arial, sans-serif;
  font-size: 24px;
}

.start-screen button {
  width: auto;
  border: 1px solid rgba(200, 169, 106, 0.9);
  border-radius: 999px;
  padding: 16px 34px;
  background: rgba(255,255,255,0.92);
  color: var(--azul-casamento);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 768px) {
  .assinatura-slideshow {
    right: 22px;
    bottom: 24px;
  }

  .assinatura-slideshow img {
    width: 68px;
    height: 68px;
  }

  .assinatura-slideshow div {
    font-size: 24px;
  }

  .assinatura-slideshow span {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .nova-foto-aviso {
    top: 22px;
    left: 22px;
    right: 22px;
    width: auto;
  }

  .nova-foto-aviso strong {
    font-size: 22px;
  }

  .nova-foto-aviso span {
    font-size: 16px;
  }

  .start-screen h1 {
    font-size: 46px;
  }

  .start-screen p {
    font-size: 19px;
  }
}
/* ADMIN */

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(6, 31, 74, 0.60), rgba(6, 31, 74, 0.82)),
    url('https://luizeerika.com.br/convite/save-the-date.jpg') center/cover fixed no-repeat;
}

.admin-wrapper {
  min-height: 100vh;
  padding: 28px 18px;
}

.admin-panel {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 28px 24px 32px;
  text-align: center;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(200, 169, 106, 0.45);
}

.admin-panel h1 {
  margin: 0 0 28px;
  color: var(--azul-casamento);
  font-size: 34px;
  line-height: 1.1;
  font-weight: normal;
}

.admin-section {
  text-align: left;
  margin-top: 28px;
}

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(200, 169, 106, 0.4);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.admin-title-row h2 {
  margin: 0;
  color: var(--azul-casamento);
  font-size: 24px;
  font-weight: normal;
}

.admin-title-row span {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #6b7280;
}

.grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.admin-card {
  background: #fffaf2;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(200, 169, 106, 0.35);
}

.admin-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.admin-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--azul-casamento);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.video-badge.foto {
  background: rgba(255, 255, 255, 0.92);
  color: var(--azul-casamento);
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.admin-actions button,
.admin-actions a {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  background: var(--azul-casamento);
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.admin-actions button:hover,
.admin-actions a:hover {
  background: var(--azul-claro);
}

.admin-actions .btn-view {
  background: #6b7280;
}

button.danger {
  background: #b3261e;
}

button.danger:hover {
  background: #8f1d17;
}

.empty-state {
  font-family: Arial, sans-serif;
  color: #6b7280;
  margin: 0;
}

.paginacao {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: Arial, sans-serif;
}

.paginacao button {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  background: var(--azul-casamento);
  color: white;
  cursor: pointer;
}

.paginacao button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.paginacao span {
  color: var(--azul-casamento);
  font-weight: bold;
}

@media (max-width: 480px) {
  .admin-wrapper {
    padding: 18px;
  }

  .admin-panel {
    border-radius: 24px;
    padding: 24px 16px;
  }

  .admin-panel h1 {
    font-size: 28px;
  }

  .grid-admin {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .admin-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .paginacao {
    flex-direction: column;
  }

  .paginacao button {
    width: 100%;
  }
}
/* RESPONSIVO */

@media (max-width: 480px) {
  .upload-card {
    border-radius: 24px;
    padding: 24px 18px 22px;
  }

  .upload-card h1 {
    font-size: 28px;
  }

  .monograma {
    width: 96px;
  }

  .slide-text h1 {
    font-size: 48px;
  }

  .slide-text p {
    font-size: 22px;
  }

  .admin-container {
    padding: 18px;
  }
}

@media (max-width: 768px) {
  .assinatura-slideshow {
    right: 24px;
    bottom: 118px;
  }

  .monograma-slideshow-box {
    width: 76px;
    height: 76px;
  }

  .monograma-slideshow-box img {
    width: 58px;
    height: 58px;
  }

  .nome-casal-slideshow {
    font-size: 26px;
  }

  .data-casal-slideshow {
    font-size: 17px;
  }

  .slideshow-bottom-bar {
    height: 110px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 18px;
    text-align: center;
  }

  .bottom-status,
  .bottom-share,
  .bottom-update {
    justify-content: center;
  }

  .bottom-status,
  .bottom-update {
    font-size: 12px;
  }

  .camera-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .bottom-share strong {
    font-size: 16px;
  }

  .bottom-share span {
    font-size: 12px;
  }
}

/* SLIDESHOW PROFISSIONAL */

.slideshow-body {
  margin: 0;
  background: #000;
  overflow: hidden;
  /**cursor: none;**/
}

.start-screen {
  width: 100vw;
  height: 100vh;
  background:
    linear-gradient(rgba(6, 31, 74, 0.72), rgba(6, 31, 74, 0.9)),
    url('https://luizeerika.com.br/convite/save-the-date.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  color: white;
}

.start-monograma {
  width: 140px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.start-screen h1 {
  margin: 0;
  font-size: 64px;
  font-weight: normal;
}

.start-screen p {
  margin: 0 0 10px;
  font-family: Arial, sans-serif;
  font-size: 24px;
}

.start-screen button {
  width: auto;
  border: 1px solid rgba(200, 169, 106, 0.9);
  border-radius: 999px;
  padding: 16px 34px;
  background: rgba(255,255,255,0.92);
  color: var(--azul-casamento);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

.slideshow-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.slide-background {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  transform: scale(1.12);
  opacity: 0.55;
  transition: background-image 0.8s ease;
}

.slideshow-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.58) 100%),
    linear-gradient(rgba(6,31,74,0.2), rgba(6,31,74,0.45));
  pointer-events: none;
}

.slideshow-frame {
  position: relative;
  z-index: 2;
  width: min(92vw, 1500px);
  height: min(88vh, 850px);
  border: 3px solid rgba(200, 169, 106, 0.85);
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.08),
    0 26px 90px rgba(0,0,0,0.55);
  display: grid;
  grid-template-rows: 76px 1fr 54px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.slideshow-header,
.slideshow-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  letter-spacing: 5px;
  text-transform: uppercase;
  background: rgba(6, 31, 74, 0.72);
  border-color: rgba(200, 169, 106, 0.45);
}

.slideshow-header {
  gap: 14px;
  border-bottom: 1px solid rgba(200, 169, 106, 0.45);
  font-size: 20px;
}

.slideshow-header img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255,255,255,0.94);
  border-radius: 50%;
  padding: 5px;
}

.slideshow-footer {
  border-top: 1px solid rgba(200, 169, 106, 0.45);
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.media-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(255,255,255,0.08), rgba(0,0,0,0.32));
  overflow: hidden;
}

.slide-media {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 70px rgba(0,0,0,0.42);
  animation-duration: 1.4s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}

.slide-text {
  color: white;
  text-align: center;
  padding: 24px;
}

.slide-text h1 {
  font-size: 72px;
  margin: 0 0 18px;
  font-weight: normal;
}

.slide-text p {
  font-family: Arial, sans-serif;
  font-size: 28px;
  margin: 0;
}

/* TRANSIÇÕES */

.transition-fade {
  animation-name: fadeIn;
}

.transition-zoom-in {
  animation-name: zoomInSoft;
}

.transition-zoom-out {
  animation-name: zoomOutSoft;
}

.transition-slide-left {
  animation-name: slideLeft;
}

.transition-slide-right {
  animation-name: slideRight;
}

.transition-slide-up {
  animation-name: slideUp;
}

.transition-rotate-soft {
  animation-name: rotateSoft;
}

.transition-kenburns {
  animation-name: kenBurns;
  animation-duration: 7s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomInSoft {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOutSoft {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(70px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-70px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateSoft {
  from {
    opacity: 0;
    transform: scale(0.96) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes kenBurns {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  .slideshow-frame {
    width: 94vw;
    height: 90vh;
    border-radius: 22px;
    grid-template-rows: 64px 1fr 48px;
  }

  .slideshow-header {
    font-size: 15px;
    letter-spacing: 3px;
  }

  .slideshow-header img {
    width: 40px;
    height: 40px;
  }

  .slideshow-footer {
    font-size: 13px;
  }

  .start-screen h1 {
    font-size: 46px;
  }

  .start-screen p {
    font-size: 19px;
  }

  .slide-text h1 {
    font-size: 48px;
  }

  .slide-text p {
    font-size: 22px;
  }
}
.bulk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fffaf2;
  border: 1px solid rgba(200, 169, 106, 0.35);
  border-radius: 14px;
  font-family: Arial, sans-serif;
}

.bulk-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--azul-casamento);
  font-weight: bold;
}

.bulk-actions button {
  width: auto;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.admin-card {
  position: relative;
}

.check-card {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
}

.check-card input {
  display: none;
}

.check-card span {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 8px;
  background: rgba(255,255,255,0.95);
  border: 2px solid var(--azul-casamento);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.check-card input:checked + span {
  background: var(--azul-casamento);
}

.check-card input:checked + span::after {
  content: "✓";
  display: block;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  line-height: 22px;
}

.admin-actions.compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.admin-actions.compact button,
.admin-actions.compact a {
  padding: 8px 6px;
  font-size: 12px;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .bulk-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bulk-actions button {
    width: 100%;
  }

  .admin-actions.compact {
    grid-template-columns: 1fr;
  }
}
.titulo-arquivos-selecionados {
  margin: 0 0 12px;
  color: var(--azul-casamento);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.arquivos-selecionados {
  max-height: 190px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding-right: 3px;
}

.arquivo-selecionado {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(200, 169, 106, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
}

.arquivo-numero {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: var(--azul-casamento);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.arquivo-informacoes {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.arquivo-informacoes strong {
  overflow: hidden;
  color: var(--azul-casamento);
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arquivo-informacoes span {
  color: #6b7280;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.preview-principal {
  display: flex;
  justify-content: center;
}

.btn-enviar:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.mensagem-erro {
  color: #a61b1b !important;
}

.mensagem-sucesso {
  color: #176c3a !important;
}

.mensagem-processando {
  color: var(--azul-casamento) !important;
}