diff --git a/src/templates/index.html b/src/templates/index.html index ff3472b..dc22059 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -180,6 +180,87 @@ color: #718096; opacity: 0.8; } + + .modal-overlay { + display: none; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.5); + backdrop-filter: blur(4px); + z-index: 1000; + align-items: center; + justify-content: center; + } + + .modal-overlay.active { + display: flex; + } + + .modal { + background: white; + border-radius: 1rem; + padding: 2rem; + max-width: 400px; + width: 90%; + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); + animation: modalSlideIn 0.3s ease-out; + } + + @keyframes modalSlideIn { + from { + opacity: 0; + transform: translateY(-20px); + } + to { + opacity: 1; + transform: translateY(0); + } + } + + .modal h2 { + color: #2d3748; + font-size: 1.5rem; + margin-bottom: 1rem; + font-weight: 600; + } + + .modal p { + color: #4a5568; + font-size: 1rem; + margin-bottom: 1.5rem; + line-height: 1.5; + } + + .modal-buttons { + display: flex; + gap: 0.75rem; + justify-content: flex-end; + } + + .modal-buttons button { + padding: 0.625rem 1.5rem; + font-size: 0.95rem; + } + + .modal-cancel { + background-color: #e2e8f0; + color: #2d3748; + } + + .modal-cancel:hover { + background-color: #cbd5e0; + } + + .modal-confirm { + background-color: #e53e3e; + } + + .modal-confirm:hover { + background-color: #c53030; + }