:root {
    --color-text: #2c3e50;
    --color-text-grey: #999;
    --color-body-bg: #ecf0f1;
}
html {
    font:
        16px -apple-system,
        Helvetica,
        sans-serif;
    color: var(--color-text);
    background: var(--color-body-bg);
}
body {
    margin: 0;
    padding: 0;
}
.container {
    max-width: 500px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Form elements */
.mm-example .payment-methods {
    margin-top: 1.5rem;
}
.mm-example #paypal-mount {
    margin-top: 1rem;
}
.mm-example .field + .field {
    margin-top: 0.75rem;
}
.mm-example .label {
    display: block;
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.mm-example input,
.mm-example button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border-style: none;
}
.mm-example input {
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #8a97a0;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    transition: all 0.4s;
}
.mm-example input:focus {
    border-color: #3273dc;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
    color: #363636;
}
.mm-example button {
    position: relative;
    display: block;
    padding: 15px;
    color: #fff;
    margin-top: 1rem;
    border-radius: 4px;
    background: #23d160;
    font-size: 1.125rem;
    text-align: center;
    font-style: normal;
    width: 100%;
    transition: all 0.4s;
}
.mm-example button:hover {
    background: #20bc56;
    cursor: pointer;
}

/* Accordion styles */
/* CSS-only (no-js) accordion */
.tabs {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
}
.tab {
    width: 100%;
    overflow: hidden;
}
.tab > input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
    width: 1px;
    height: 1px;
}
.tab-label {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: #fff;
    background: var(--color-text);
    font-weight: bold;
    cursor: pointer;
}
.tab-label:hover {
    background: #1a252f;
}
.tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all 0.35s;
}
.tab-content {
    max-height: 0;
    padding: 0 1em;
    background: white;
    transition: all 0.35s;
}
input:checked + .tab-label {
    background: #1a252f;
}
input:checked + .tab-label::after {
    transform: rotate(90deg);
}
input:checked ~ .tab-content {
    max-height: 100vh;
    padding: 1em;
}

/* FramePay-specific styling */
.rebilly-framepay.rebilly-input {
    background: #ffffff;
    height: 40px;
    border: 1px solid #dbdbdb;
    padding: 0 10px;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    transition: all 0.4s;
}
.rebilly-framepay.rebilly-input.rebilly-framepay-focus {
    border-color: #3273dc;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}
.rebilly-framepay.rebilly-framepay-buttons {
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Helpers */
.flex {
    display: flex;
}
.align-items-center {
    align-items: center;
}
.text-grey {
    color: var(--color-text-grey);
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 1.25rem 0;
}
.divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 1px;
    background: #ccc;
    width: 100%;
    z-index: -1;
}
.divider::after {
    content: "OR";
    font-size: 0.8125rem;
    display: inline-block;
    padding: 0 0.875rem;
    background: var(--color-body-bg);
    color: var(--color-text-grey);
}
