/* Beautiful modal styles */ .modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(3px); z-index: 1000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; } .modal.visible { opacity: 1; } .modal-content { background-color: var(--card-bg); border-radius: 12px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); width: 90%; max-width: 400px; position: relative; transform: scale(0.95); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; } .modal.visible .modal-content { transform: scale(1); opacity: 1; } .modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; } .modal-header h3 { margin: 0; font-weight: 600; color: var(--text); font-size: 1.25rem; } .modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-secondary); transition: color 0.2s ease; line-height: 1; padding: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; } .modal-close:hover { color: var(--danger-color); background-color: rgba(var(--danger-color-rgb), 0.1); } .modal-body { padding: 1.5rem; } .form-group { margin-bottom: 1.25rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text); } .form-group input[type="text"], .form-group input[type="password"], .form-group input[type="email"] { width: 100%; padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid var(--border-color); background-color: var(--bg); color: var(--text); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; } .form-group input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2); } .form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; } .form-actions .btn { padding: 0.6rem 1.25rem; border-radius: 8px; font-weight: 500; transition: background 0.3s ease, transform 0.2s ease; } .form-actions .btn:hover { transform: translateY(-1px); } .form-actions .btn:active { transform: translateY(0); }