.carousel-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0a162899;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-out modalFadeIn;display:flex;position:fixed;inset:0}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}.carousel-modal{background:#fff;border-radius:.75rem;flex-direction:column;width:100%;max-width:900px;max-height:90vh;animation:.3s cubic-bezier(.4,0,.2,1) modalSlideIn;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.carousel-modal__header{border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.carousel-modal__header h2{color:#0a1628;letter-spacing:-.01em;margin:0;font-size:1.25rem;font-weight:600}.carousel-modal__close{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:.375rem;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.carousel-modal__close:hover{color:#111827;background:#f3f4f6}.carousel-modal__close svg{width:20px;height:20px}.carousel-modal__content{flex:1;padding:1.5rem;overflow-y:auto}.carousel-modal__description{color:#6b7280;margin:0 0 1.5rem;font-size:.9375rem}.carousel-modal__add-button{cursor:pointer;color:#fff;letter-spacing:.02em;background:#0a1628;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;gap:.625rem;margin-bottom:1.5rem;padding:1rem 1.75rem;font-size:.9375rem;font-weight:400;transition:all .3s cubic-bezier(.4,0,.2,1);display:inline-flex}.carousel-modal__add-button:hover:not(:disabled){background:#1a2b45;transform:translateY(-1px);box-shadow:0 8px 24px #0a162833}.carousel-modal__add-button:active:not(:disabled){transform:translateY(0);box-shadow:0 4px 12px #0a162826}.carousel-modal__add-button:disabled{opacity:.6;cursor:not-allowed}.carousel-modal__spinner{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.carousel-modal__images{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;display:grid}.carousel-modal__empty{text-align:center;color:#9ca3af;border:2px dashed #e5e7eb;border-radius:8px;grid-column:1/-1;padding:3rem}.carousel-modal__image-card{cursor:move;background:#f9fafb;border:2px solid #e5e7eb;border-radius:8px;transition:all .2s;position:relative;overflow:hidden}.carousel-modal__image-card:hover{border-color:#0a1628;box-shadow:0 4px 12px #0000001a}.carousel-modal__image-card.dragging{opacity:.5;transform:scale(.95)}.carousel-modal__image-card.drag-over{background:#f0f4f8;border-style:dashed;border-color:#0a1628}.carousel-modal__image-preview{aspect-ratio:16/9;background:#e5e7eb;width:100%;overflow:hidden}.carousel-modal__image-preview img{object-fit:cover;width:100%;height:100%}.carousel-modal__image-info{align-items:center;gap:.5rem;padding:.75rem;display:flex}.carousel-modal__alt-input{border:1px solid #e5e7eb;border-radius:6px;flex:1;padding:.5rem;font-size:.875rem;transition:border-color .2s}.carousel-modal__alt-input:focus{border-color:#0a1628;outline:none}.carousel-modal__delete-button{color:#dc2626;cursor:pointer;background:#fee2e2;border:none;border-radius:4px;flex-shrink:0;padding:.5rem;transition:all .2s}.carousel-modal__delete-button:hover{background:#fecaca;transform:scale(1.05)}.carousel-modal__image-number{color:#fff;background:#000000b3;border-radius:4px;padding:.25rem .5rem;font-size:.75rem;font-weight:600;position:absolute;top:.5rem;left:.5rem}.carousel-modal__footer{border-top:1px solid #e5e7eb;flex-shrink:0;justify-content:flex-end;gap:.75rem;padding:1.5rem;display:flex}.carousel-modal__cancel,.carousel-modal__save{cursor:pointer;letter-spacing:.02em;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;padding:1rem 1.75rem;font-size:.9375rem;font-weight:400;transition:all .3s cubic-bezier(.4,0,.2,1);display:inline-flex}.carousel-modal__cancel{color:#6b7280;background:0 0;border-color:#e5e7eb}.carousel-modal__cancel:hover{color:#0a1628;background:#f9fafb;border-color:#d1d5db}.carousel-modal__save{color:#fff;background:#0a1628;border-color:#0a1628}.carousel-modal__save:hover:not(:disabled){background:#1a2b45;border-color:#1a2b45;transform:translateY(-1px);box-shadow:0 8px 24px #0a162833}.carousel-modal__save:active:not(:disabled){transform:translateY(0);box-shadow:0 4px 12px #0a162826}.carousel-modal__save:disabled{opacity:.6;cursor:not-allowed}@media (max-width:640px){.carousel-modal-overlay{padding:0}.carousel-modal{border-radius:0;max-width:100%;max-height:100vh}.carousel-modal__header{padding:1rem 1.5rem}.carousel-modal__header h2{font-size:1.125rem}.carousel-modal__content{padding:1.5rem}.carousel-modal__images{grid-template-columns:1fr}.carousel-modal__footer{flex-direction:column-reverse;gap:.5rem;padding:1rem 1.5rem}.carousel-modal__cancel,.carousel-modal__save{width:100%}}
