.input-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; animation: fadeIn 0.2s ease-out; } .input-modal { background: rgba(20, 20, 20, 0.95); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 12px; padding: 1.5rem; width: 90%; max-width: 600px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); animation: slideIn 0.3s ease-out; } .input-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .input-modal-header h2 { margin: 0; font-size: 1.5rem; font-weight: 600; background: linear-gradient(0.25turn, #999, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; } .close-button { background: transparent; border: none; color: rgba(255, 255, 255, 0.6); font-size: 1.5rem; cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.2s ease; } .close-button:hover { background: rgba(255, 255, 255, 0.1); color: white; transform: rotate(90deg); } .form-group { margin-bottom: 1.5rem; } .form-group textarea { width: auto; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: white; padding: 1rem; font-size: 1rem; line-height: 1.5; resize: vertical; transition: all 0.2s ease; } .form-group textarea:focus { outline: none; border-color: #6366f1; background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); } .form-group textarea::placeholder { color: rgba(255, 255, 255, 0.3); } .input-modal-footer { display: flex; justify-content: flex-end; gap: 1rem; } .input-modal-footer button { padding: 0.5rem 1.25rem; border-radius: 6px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .cancel-button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); } .cancel-button:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); } .submit-button { background: #6366f1; border: none; color: white; } .submit-button:hover { background: #4f46e5; transform: translateY(-1px); } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideIn { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Light theme adjustments */ :root[data-theme="light"] .input-modal { background: rgba(255, 255, 255, 0.95); border-color: rgba(0, 0, 0, 0.1); } :root[data-theme="light"] .input-modal-header h2 { background: linear-gradient(90deg, #333, #666); -webkit-background-clip: text; } :root[data-theme="light"] .close-button { color: rgba(0, 0, 0, 0.6); } :root[data-theme="light"] .close-button:hover { background: rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.8); } :root[data-theme="light"] .form-group textarea { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); color: #000; } :root[data-theme="light"] .form-group textarea:focus { border-color: rgba(99, 102, 241, 0.5); background: rgba(0, 0, 0, 0.02); } :root[data-theme="light"] .form-group textarea::placeholder { color: rgba(0, 0, 0, 0.3); } :root[data-theme="light"] .cancel-button { border-color: rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.8); } :root[data-theme="light"] .cancel-button:hover { background: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.2); }