.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; } .modal { background: #fff; padding: 20px; border-radius: 25px; min-width: 300px; max-width: 300px; position: relative; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .close-btn { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 20px; cursor: pointer; }