.modal { max-width: 300px; margin: 0 auto; } .modal form { display: grid; margin-block-end: 0; } .modal input { margin-bottom: 16px; padding: 6px 8px; border-radius: 8px; border: 2px solid canvastext; background-color: transparent; } .modal input[type="submit"] { background-color: canvastext; color: canvas; font-size: 1rem; font-weight: bold; cursor: pointer; }