.page {
    width: 100%;
    padding: 0 20px;
}
.dollar-amount {
    font-weight: 500;
    letter-spacing: 0;
}
.admin {
    display: none;
}
.form-field input.error, .form-field select.error {
    background-color: #fdd;
    border-color: red;
}
.checkout-content {
    margin-top: 20px;
}

/* Checkout Progress Bar */
#checkout-progress-bar-container, #checkout-progress-bar, #pseudo-checkout-progress-bar {
    position: relative;
    width: 100%;
}
#checkout-progress-bar, #pseudo-checkout-progress-bar {
    justify-content: space-between;
    align-items: center;
}
#checkout-progress-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1px;
    cursor: default;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
#pseudo-checkout-progress-bar {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}
.progress-bar-block, .pseudo-progress-bar-block {
    padding: 10px;
    width: 100%;
    position: relative;
}
.progress-bar-block {
    background-color: #eee;
}
.progress-bar-block.active {
    background-color: #ad8337;
}
.progress-bar-block.completed {
    background-color: #aaa;
}
.progress-bar-block-content, .pseudo-progress-bar-block-content {
    text-align: center;
}
.progress-bar-block.active .progress-bar-block-label {
    font-weight: 600;
}
.progress-bar-icon, .pseudo-progress-bar-block .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    width: 32px;
    margin: 0 auto 5px;
    border-radius: 100%;
    border: 2px solid black;
}
.progress-bar-icon i {
    font-size: 14px;
}
.progress-bar-block-label, .pseudo-progress-bar-block span {
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
}
#pseudo-checkout-progress-bar {
    gap: 30px;
    z-index: -1;
}
.pseudo-progress-bar-block {
    height: 100px;
    background-color: #ccc;
}
.pseudo-progress-bar-block:not(:first-child)::before {
    border-top: 50px solid #ccc;
    border-bottom: 50px solid #ccc;
}
.pseudo-progress-bar-block:not(:last-child)::after {
    border-left: 20px solid #ccc;
}
.pseudo-progress-bar-block .icon {
    font-size: 14px;
    visibility: hidden;
}
.pseudo-progress-bar-block span {
    visibility: hidden;
}
/* End Checkout Progress Bar */


/* Checkout Action Block */
.checkout-action-container {
    height: min-content;
    position: sticky;
    top: 20px;
    margin-bottom: 20px;
}
#checkout-action {
    width: 100%;
    border: 1px solid #ccc;
}
.checkout-action-title {
    padding: 10px 15px 0;
}
.checkout-action-title p {
    margin: 0;
    font-weight: 500;
}
.checkout-action-content {
    padding: 10px 15px;
}
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.checkout-total-row p {
    margin: 0;
    font-size: 1rem;
}
.checkout-total-row.last-row {
    margin-top: 5px;
    border-top: 1px solid #ccc;
}
.checkout-total-row .asterisk {
    vertical-align: super;
    color: #aaa;
    font-weight: 600;
}
.checkout-total-label {
    font-weight: 400;
}
#checkout-action.loading .dollar-amount {
    background: url(/images/loading-gold.gif) no-repeat center right;
    background-size: 1.5rem;
    color: transparent;
}
.checkout-total-notes .checkout-total-note {
    color: #aaa;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    margin: 5px 0;
}
.checkout-total-notes .checkout-total-note a {
    text-decoration: underline;
}
.checkout-action-buttons {
    padding: 10px 15px 15px;
    background: #eee;
    border-top: 1px solid #ccc;
}
.checkout-action-button-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.checkout-action-buttons .checkout-action-button {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    font-size: .9rem;
    font-weight: 500;
    text-align: left;
    padding: 0 5px;
    color: #ad8337;
    background: none;
    outline: none;
    border: none;
}
.checkout-action-buttons .checkout-action-button:hover {
    text-decoration: underline;
}
.checkout-action-buttons .checkout-action-button + .checkout-action-button {
    border-left: 1px solid #ccc;
    text-align: right;
}
.checkout-action-buttons .checkout-action-button i {
    margin-right: 5px;
}
.checkout-action-buttons .btn {
    letter-spacing: .1rem;
    width: 100%;
}
/* End Checkout Action Block */

/* Form Styles */
form .form-row:first-of-type .form-field:first-of-type {
    margin: 0;
}
.form-field {
    margin-top: 10px;
}
.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
}
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: .5rem 1rem;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 0;
}
.form-field input::placeholder {
    color: #666;
}
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}
.form-field select:invalid {
    color: #666;
}
.form-field textarea {
    resize: none;
}
.form-field.error-field label {
    color: #ee0000;
    font-weight: 600;
}
.form-field.error-field input, .form-field.error-field select, .form-field.error-field textarea {
    border: 1px solid #ee0000;
}
/* End Form Styles */

@media (min-width: 576px) {
    .page {
        padding: 0 30px;
    }
}

@media (min-width: 768px) {
    .page {
        padding: 0 60px;
    }
}

@media (min-width: 992px) {
    .page {
        padding: 0 80px;
    }
    #checkout-progress-bar {
        gap: 32px;
        flex-direction: row;
    }
    #checkout-progress-bar, #pseudo-checkout-progress-bar {
        flex-direction: row;
    }
    #pseudo-checkout-progress-bar {
        display: flex;
    }
    .progress-bar-block {
        height: 98px;
    }
    .progress-bar-block, .pseudo-progress-bar-block {
        padding: 16px;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .progress-bar-block-content, .pseudo-progress-bar-block-content {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .progress-bar-icon, .pseudo-progress-bar-block .icon { 
        margin: 0 auto 10px;
    }
    .progress-bar-block:not(:first-child)::before, .pseudo-progress-bar-block:not(:first-child)::before {
        content: "";
        position: absolute;
        top: 0;
        left: -20px;
        width: 0;
        height: 0;
        border-left: 20px solid transparent;
    }
    .progress-bar-block:not(:first-child)::before {
        border-top: 49px solid #eee;
        border-bottom: 49px solid #eee;
        height: 98px;
    }
    .progress-bar-block.active::before {
        border-top: 49px solid #ad8337;
        border-bottom: 49px solid #ad8337;
    }
    .progress-bar-block.completed::before {
        border-top: 49px solid #aaa;
        border-bottom: 49px solid #aaa;
    }
    .progress-bar-block:not(:last-child)::after, .pseudo-progress-bar-block:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -20px;
        width: 0;
        height: 0;
        border-top: 49px solid transparent;
        border-bottom: 49px solid transparent;
    }
    .progress-bar-block:not(:last-child)::after {
        border-left: 20px solid #eee;
    }
    .progress-bar-block.active:after {
        border-left-color: #ad8337;
    }
    .progress-bar-block.completed:after {
        border-left-color: #aaa;
    }
    .checkout-action-container {
        width: 300px;
        margin: 0 auto 40px;
    }
    .form-row {
        display: flex;
        column-gap: 10px;
        margin-bottom: 10px;
    }
    .form-field {
        flex: 1;
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .page {
        padding: 0 100px;
    }
    .checkout-content {
        display: flex;
        gap: 40px;
        margin-top: 40px;
    }
    .checkout-action-container {
        width: 300px;
    }
}

@media (min-width: 1400px) {

}