main > form { display: flex; flex-direction: column; gap: 0.5rem; background: var(--smoke); box-shadow: 0 0 20px rgb(0, 0, 0, 0.5); box-sizing: border-box; padding: 1.5rem; border-radius: 10px; max-width: 100vw; margin: 10px 10px; } @media screen and (min-width: 768px) { main > form { max-width: 28rem; } } label { font-size: 0.9rem; font-weight: 300; opacity: 0.8; text-indent: 2px; } fieldset { display: flex; flex-direction: row; flex: 1 1 0px; padding: 0; border: none; gap: 0.5rem; } fieldset label { flex: 1; } input, select { background: #101010; border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 1rem; box-sizing: border-box; height: 3rem; width: 100%; border-radius: 5px; margin-top: 0.2rem; box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3); transition: box-shadow 0.3s, border-color 0.1s; -webkit-appearance:none; -moz-appearance:none; appearance:none; cursor: text; } /* Webkit specific*/ input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator { opacity: 0.0; } input:hover { box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5); } input[type=date] { background-image: url("/assets/img/icons/date.svg"); background-position: calc(100% - 0.75rem) center; background-size: 16pt; background-repeat: no-repeat; } input[name=start_time] { background-image: url("/assets/img/icons/hourglass_top.svg"); background-position: calc(100% - 0.75rem) center; background-size: 16pt; background-repeat: no-repeat; } input[name=end_time] { background-image: url("/assets/img/icons/hourglass_bottom.svg"); background-position: calc(100% - 0.75rem) center; background-size: 16pt; background-repeat: no-repeat; } input:focus, select:focus{ outline: none; border-color: var(--marblue); } select { cursor: pointer; background-image: url("/assets/img/icons/dropdown-arrow.svg"); background-position: calc(100% - 0.75rem) center; background-repeat: no-repeat; } form button { margin-top: 1rem; }