form {
    display: grid;
    gap: 1rem;
}

@media (min-width: 600px) {
    #buy-form {
        grid-template-columns: 1fr 1fr;
    }
    .arrow-down {
        display: none;
    }
}

@media (max-width: 599px) {
    .arrow-right {
        display: none;
    }
}

input,
select,
button {
    font-size: inherit;
    width: 100%;
    border: none;
    border-radius: 40px;
    padding: 0.5em 1em;
    border: 2px solid var(--purple-1);
}

button {
    background-color: var(--purple-1);
    border: none;
    color: white;
    padding: 0.5em 1em;
    border-radius: 40px;
}

button.outline {
    background-color: transparent;
    color: var(--purple-1);
    border: 2px solid currentColor;
}

dialog header {
    display: flex;
}

dialog header h2 {
    flex-grow: 1;
}

.arrow {
    color: var(--purple-1);
    font-size: 1.5em;
}

.back {
    text-decoration: none;
    margin-bottom: 1rem;
}

.back:hover {
    text-decoration: underline;
}

.summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.summary-grid label {
    font-weight: bold;
}

.summary-data span {
    display: block;
    margin-top: 0.75em;
    font-size: 0.75em;
}

#confirm-form footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.5rem;
}

.close-x {
    height: 52px;
    display: flex;
    width: 52px;
    padding: 0;
    align-items: center;
    justify-content: center;
}
