#pwlpar-section-buttons {
    display: flex;
    margin-bottom: 28px;
}

.pwlpar-section-button {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
    font-size: 24px;
    border-style: solid;
    border-width: 0;
    border-bottom-width: 1px;
    border-color: var( --pwlpar-rewards-secondary-color );
    cursor: pointer;
}

.pwlpar-section-button-active {
    border-bottom-width: 5px;
    border-color: var( --pwlpar-primary-color );
}

.pwlpar-heading {
    font-size: 28px;
    font-weight: bold;
}

.pwlpar-subheading {
    margin-bottom: 28px;
}

#pwlpar-rewards-empty-buttons {
    display: flex;
    border-radius: 6px;
    padding: 14px 0;
    background-color: var( --pwlpar-background-color );
    color: var( --pwlpar-text-color );
    font-weight: bold;
    text-align: center;
}

.pwlpar-rewards-empty-section {
    flex-basis: 0;
    flex-grow: 1;
    display: inline-block;
}

.pwlpar-rewards-empty-button-icon {
    width: 75px;
    margin: 0 auto;
}

.pwlpar-rewards-empty-text {
    margin: 14px 0;
}

.pwlpar-button, .pwlpar-button:hover, .pwlpar-button:active, .pwlpar-button:focus, .pwlpar-button:focus-visible {
    background-color: var( --pwlpar-primary-color );
    color: var( --pwlpar-secondary-color );
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    border-color: var( --pwlpar-secondary-color );
    outline: none;
    box-shadow: initial;
    white-space: nowrap;
    cursor: pointer;

    /* same as .noselect */
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.pwlpar-button {
    display: inline-block;
    padding: 14px 32px;

    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
}

.pwlpar-button:hover {
    opacity: 0.7;
}

.pwlpar-button-remove, .pwlpar-button-remove:hover, .pwlpar-button-remove:active, .pwlpar-button-remove:focus, .pwlpar-button-remove:focus-visible {
    color: #999;
    background-color: #CCC;
    border-color: #CCC;
}

.pwlpar-button-unavailable, .pwlpar-button-unavailable:hover, .pwlpar-button-unavailable:active, .pwlpar-button-unavailable:focus, .pwlpar-button-unavailable:focus-visible {
    color: #999;
    background-color: #CCC;
    border-color: #CCC;
    cursor: not-allowed;
}

.pwlpar-button-cancel, .pwlpar-button-cancel:hover, .pwlpar-button-cancel:active, .pwlpar-button-cancel:focus, .pwlpar-button-cancel:focus-visible {
    background-color: var( --pwlpar-background-color );
    color: var( --pwlpar-primary-color );
    border-color: var( --pwlpar-primary-color );
}

.pwlpar-button-small {
    padding: 8px 16px;
    font-size: 14px;
}

.pwlpar-nl2br {
    white-space: pre;
    white-space: pre-line;
}

.pwlpar-join-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.pwlpar-checkout-rewards-join-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 2em 0;
}

.pwlpar-product-rewards-container {
    margin: 1em 0;
}

.pwlpar-product-rewards-program-name {
    font-size: 1.5em;
    font-weight: 600;
}

.pwlpar-cart-rewards-container {
    margin: 1em 0;
}

.pwlpar-checkout-order-total {
    margin-top: 24px;
}

.pwlpar-checkout-paragraph {
    margin-bottom: 1em;
}

.pwlpar-checkout-heading {
    vertical-align: top;
}

.pwlpar-order-details-paragraph {
    margin-bottom: 0.5em;
}

.pwlpar-history-points-earned {
    color: green;
}

.pwlpar-noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.pwlpar-hidden {
    display: none;
}

.pwlpar-earn {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    padding: 21px;
    line-height: 1;
    margin-bottom: 21px;
    border: 1px solid var( --pwlpar-primary-color );
    background-color: var( --pwlpar-background-color );
    color: var( --pwlpar-text-color );
}

.pwlpar-earn-details {
    display: flex;
    margin-bottom: 14px;
}

.pwlpar-earn-image {
    margin-right: 21px;
    width: 50px;
}

.pwlpar-earn-name {
    flex-grow: 1;
    margin-bottom: 1em;
}

.pwlpar-earn-title {
    font-size: 28px;
    font-weight: bold;
}

.pwlpar-earn-description {
    font-size: 14px;
    margin-top: 8px;
    min-height: 1em;
}

#pwlpar-rewards-history-table {
  border-collapse: collapse;
  width: 100%;
}

#pwlpar-rewards-history-table td, #pwlpar-rewards-history-table th {
  padding: 1em 1.41575em;
}

#pwlpar-rewards-history-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
}