.fotov-lightbox--simple .fotov-lightbox-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding-top: 14px; }
.fotov-lightbox--simple .fotov-lightbox-text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fotov-lightbox--simple .fotov-lightbox-title { color: #fff; font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.fotov-lightbox--simple .fotov-lightbox-description { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.fotov-lightbox--simple .fotov-lightbox-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.fotov-lightbox--simple .fotov-lightbox-actions button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; color: #fff; font: 600 14px system-ui, sans-serif; cursor: pointer; }
.fotov-lightbox--simple .fotov-lightbox-share { background: rgba(255,255,255,.14); }
.fotov-lightbox--simple .fotov-lightbox-vote { background: var(--fotov-lightbox-accent, var(--fv-accent, #e11d48)); }
.fotov-lightbox--simple .fotov-lightbox-vote:disabled { opacity: .65; cursor: default; }
.fotov-lightbox--simple .fotov-lightbox-vote.is-voted { background: #15803d; opacity: 1; }
.fotov-lightbox--simple .fotov-lightbox-vote { position: relative; }
/* Voting from inside the lightbox: spinner on the button, then a small inline message (no popup). */
.fotov-lightbox--simple .fotov-lightbox-vote.is-loading { color: transparent; opacity: .9; cursor: progress; }
.fotov-lightbox--simple .fotov-lightbox-vote.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; box-sizing: border-box; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: fotov-lightbox-spin .7s linear infinite; }
@keyframes fotov-lightbox-spin { to { transform: rotate(360deg); } }
.fotov-lightbox--simple .fotov-lightbox-toast { position: absolute; z-index: 5; top: 22px; left: 50%; max-width: min(520px, calc(100vw - 150px)); padding: 10px 18px; border-radius: 14px; background: rgba(15,23,42,.94); border: 1px solid rgba(255,255,255,.18); color: #fff; font: 600 14px/1.4 system-ui, sans-serif; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, -12px); pointer-events: none; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; }
.fotov-lightbox--simple .fotov-lightbox-toast.is-visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }
.fotov-lightbox--simple .fotov-lightbox-toast.is-error { border-color: rgba(251,113,133,.65); }
@media (prefers-reduced-motion: reduce) { .fotov-lightbox--simple .fotov-lightbox-toast { transition: none; } }
/* Light is the Simple default. The dark modifier leaves the original styling intact. */
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-backdrop { background: rgba(255,255,255,.9); }
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-control { background: var(--fotov-lightbox-controls-bg, #666); border-color: #ccc; }
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-control:hover { filter: brightness(.8); }
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-prev,
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-next { background: var(--fotov-lightbox-arrows-bg, #00000080); }
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-counter,
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-title,
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-description { color: #222; }
.fotov-lightbox--simple:not(.fotov-simple--dark) .fotov-lightbox-share { background: var(--fotov-lightbox-controls-bg, #666); }
@media (max-width: 640px) {
    .fotov-lightbox { padding: 14px; }
    .fotov-lightbox-content { width: 100%; max-height: calc(100vh - 90px); }
    .fotov-lightbox-media { max-height: calc(100vh - 210px); border-radius: 10px; }
    .fotov-lightbox-counter { top: 18px; left: 18px; }
    .fotov-lightbox-close { top: 12px; right: 12px; }
    .fotov-lightbox-prev, .fotov-lightbox-next { display: none; }
    .fotov-lightbox--simple .fotov-lightbox-caption { align-items: stretch; flex-direction: column; gap: 12px; padding-top: 12px; }
    .fotov-lightbox--simple .fotov-lightbox-actions { width: 100%; gap: 8px; }
    .fotov-lightbox--simple .fotov-lightbox-actions button { flex: 1 1 50%; min-width: 0; }
}
