.ma-checkout-form {
    max-width: 520px;
}

.ma-checkout-form p {
    margin: 0 0 16px;
}

.ma-checkout-form label {
    display: block;
    font-weight: 600;
    line-height: 1.4;
}

.ma-checkout-form input,
.ma-checkout-form select,
.ma-checkout-form button {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    margin-top: 6px;
}

.ma-checkout-form input,
.ma-checkout-form select {
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
}

.ma-checkout-form button {
    padding: 12px 16px;
    border: 0;
    border-radius: 6px;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.ma-checkout-form button:hover {
    background: #333;
}

.ma-money-field {
    position: relative;
    display: block;
}

.ma-money-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    z-index: 2;
    padding-top: .5rem;
}

.ma-money-field input {
    padding-left: 2rem !important;
}

.ma-switch-row {
    margin: 0 0 16px;
}

.ma-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.ma-switch-text {
    font-weight: 600;
}

.ma-switch-control {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
    flex: 0 0 auto;
    vertical-align: bottom;
}

.ma-switch-control input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.ma-switch-slider {
    position: absolute;
    inset: 0;
    background: #d0d0d0;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.ma-switch-slider::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.ma-switch-control input:checked + .ma-switch-slider {
    background: #F5E800;
}

.ma-switch-control input:checked + .ma-switch-slider::after {
    transform: translateX(22px);
}

.ma-switch-control input:focus + .ma-switch-slider {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.ma-explanation {
  font-size: 80%;
}
