.overlay { position: fixed; inset: 0; background: rgba(127, 29, 29, 0.28); backdrop-filter: blur(var(--modal-overlay-blur)); -webkit-backdrop-filter: blur(var(--modal-overlay-blur)); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; } .modal { position: relative; width: 100%; max-width: 400px; padding: 32px 28px 24px; text-align: center; background: var(--elevated-surface); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(239, 68, 68, 0.25); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(239, 68, 68, 0.15); } .iconWrap { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; background: rgba(239, 68, 68, 0.12); color: #ef4444; border-radius: 50%; } .title { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; } .message { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 24px; } .actions { display: flex; gap: 10px; justify-content: center; } .cancelBtn { padding: 10px 20px; font-size: 14px; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: background 0.2s; } .cancelBtn:hover { background: rgba(148, 163, 184, 0.15); } .deleteBtn { padding: 10px 22px; font-size: 14px; font-weight: 600; color: white; background: #ef4444; border-radius: var(--radius-sm); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35); transition: background 0.2s, transform 0.2s; } .deleteBtn:hover { background: #dc2626; transform: translateY(-1px); } .closeBtn { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); transition: background 0.2s, color 0.2s; } .closeBtn:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; } .modalIn { animation: modalFadeIn 0.25s ease forwards; } .modalOut { animation: modalFadeOut 0.22s ease forwards; } @keyframes modalFadeIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes modalFadeOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(8px) scale(0.98); } }