/* Complemento da galeria: mantenha o styles.css original no repositório. */
#project-dialog{width:min(830px,calc(100% - 28px));max-height:min(92vh,950px);overflow-y:auto;padding:32px;scrollbar-color:#385071 transparent}
#project-dialog h2{padding-right:28px}
#project-dialog .dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:22px}
#project-dialog .dialog-actions .button{min-width:190px}
.project-gallery{margin-top:24px;border:1px solid #304561;background:#101a29;border-radius:14px;padding:14px}
.project-gallery[hidden]{display:none!important}
.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 2px 12px;font-size:14px;color:#edf4ff}
#gallery-counter{font-size:12px;color:#8fa6c6;font-variant-numeric:tabular-nums}
.gallery-image-button{display:block;width:100%;padding:0;border:1px solid #304561;background:#070e18;border-radius:10px;overflow:hidden;cursor:zoom-in;line-height:0}
.gallery-image-button img{display:block;width:100%;height:auto;aspect-ratio:1175/725;object-fit:contain}
.gallery-toolbar{display:flex;align-items:center;gap:14px;margin-top:12px}
.gallery-arrow{flex-shrink:0;width:40px;height:38px;border:1px solid #385071;border-radius:9px;background:#182a43;color:#d6e7ff;font-size:20px;transition:background .2s}
.gallery-arrow:hover{background:#28538d}
.gallery-caption{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;text-align:center}
.gallery-caption strong{font-size:13px;color:#f3f7ff}
.gallery-caption span{font-size:12px;color:#9baec8}
.gallery-dots{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:12px}
.gallery-dot{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:#50617b}
.gallery-dot[aria-current="true"]{background:#3c83ff;box-shadow:0 0 0 3px #3c83ff33}
#image-lightbox{width:min(1200px,calc(100% - 24px));max-width:none;max-height:96vh;padding:12px;background:#0b1320;border:1px solid #405776;border-radius:14px;overflow:auto}
#image-lightbox img{display:block;width:100%;height:auto;max-height:calc(96vh - 26px);object-fit:contain}
.lightbox-close{position:sticky;top:0;float:right;z-index:1;margin:0 0 -40px 0;width:38px;height:38px;border:1px solid #60708c;border-radius:9px;background:#14253de8;color:white;font-size:25px}
@media(max-width:600px){#project-dialog{padding:24px 16px}.project-gallery{padding:9px}.gallery-toolbar{gap:7px}.gallery-arrow{width:34px;height:34px}.gallery-caption span{font-size:11px}}

/* FZ Bots: solicitação por e-mail, mantendo o tema da galeria. */
.bots-request{margin-top:24px;padding:20px;border:1px solid #304561;border-radius:14px;background:#101a29;color:#d6e7ff}
.bots-request[hidden]{display:none!important}
.bots-request-heading{display:flex;align-items:center;gap:10px;color:#60a5fa}
.bots-request-heading h3{margin:0;color:#f3f7ff;font-size:17px}
.bots-request p{margin:12px 0 15px;color:#aebed5;font-size:14px;line-height:1.65}
.bots-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}
.bots-features span{display:block;padding:10px 12px;border:1px solid #293b54;border-radius:9px;background:#17263a;font-size:13px;color:#dce8f8}
.bots-email-button{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;text-align:center;text-decoration:none}
.bots-email-button svg{flex-shrink:0}
.bots-request small{display:block;margin-top:11px;color:#91a5c1;font-size:12px;text-align:center}
@media(max-width:480px){.bots-request{padding:15px}.bots-features{grid-template-columns:1fr}.bots-email-button{font-size:13px}}

.dialog-actions[hidden] {
  display: none !important;
}


/* Ícones personalizados da galeria */
.gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow-icon {
  display: block;
  width: 24px;
  height: 24px;
  filter: invert(63%) sepia(35%) saturate(1350%)
          hue-rotate(183deg) brightness(105%);
  transition: transform 0.2s ease;
}

.gallery-arrow-icon.flip {
  transform: rotate(180deg);
}

.gallery-arrow:hover .gallery-arrow-icon:not(.flip) {
  transform: scale(1.12);
}

.gallery-arrow:hover .gallery-arrow-icon.flip {
  transform: rotate(180deg) scale(1.12);
}
