/* Modal Overlay */ .modalOverlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; backdrop-filter: blur(5px); } /* Modal Content */ .modalContent { background-color: #fff; padding: 2rem; border-radius: 12px; width: 400px; max-width: 90%; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); animation: fadeIn 0.3s ease-out; } /* Modal Title */ .title { color: #333; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 1rem; text-align: center; } /* Modal Buttons Container */ .modalButtons { margin-top: 1.5rem; display: flex; justify-content: space-between; } /* Submit Button */ .modalSubmitButton { padding: 0.8rem 1.5rem; font-size: 1rem; font-weight: bold; border: none; border-radius: 8px; cursor: pointer; background-color: #007bff; color: white; transition: background-color 0.3s, transform 0.2s; } .modalSubmitButton:hover { background-color: #0056b3; transform: scale(1.05); } /* Cancel Button */ .modalCancelButton { padding: 0.8rem 1.5rem; font-size: 1rem; font-weight: bold; border: none; border-radius: 8px; cursor: pointer; background-color: #f1f1f1; color: #333; transition: background-color 0.3s, transform 0.2s; } .modalCancelButton:hover { background-color: #e0e0e0; transform: scale(1.05); } /* Form Data */ .formData { display: flex; flex-direction: column; gap: 1rem; } label { font-size: 0.9rem; color: #666; margin-bottom: 0.5rem; display: block; } input { padding: 0.7rem; font-size: 1rem; border: 1px solid #ddd; border-radius: 8px; outline: none; transition: border-color 0.3s; } input:focus { border-color: #007bff; box-shadow: 0px 0px 4px rgba(0, 123, 255, 0.5); } /* Fade In Animation */ @keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }