.khg-ra-checkout-button {
    display: block;
    padding: 1em 2em;
    border-radius: 0.25em;
    background-color: #6ca84d;
    color: #fff;
    border: none;
    width: fit-content;
    text-decoration: none;
    margin-top: 2rem;
}
.khg-wc-checkout-container:has(.khg-ra-checkout-button) .khg-wc-thankyou-content {
    display: none;
}
.khg-wc-checkout-steps-container .khg-wc-checkout-steps-inner-container {
    width: 100%;
}
.khg-ra-checkout-success-content {
    max-width: 800px;
}
.khg-wc-checkout-thankyou-container h1 {
    margin-bottom: 0.5em !important;
}

.khg-navigation-item_ra {
    display: none !important;
}
@media (min-width: 800px) {
    .khg-ra-is-member .khg-navigation-item_ra {
        display: flex !important;
    }
}


/* -- LINK EXPIRED -- */
.khg-ra-link-expired {
    margin: 2em 1em;
}
@media (min-width: 1800px) {
    .khg-ra-link-expired {
        max-width: 1600px;
        margin: 4em auto;
    }
}


/* -- NOTICE -- */
.khg-ra-notice {
    background-color: #FAFAFA;
}
.khg-ra-notice__inner {
    display: flex;
    align-items: flex-start;
    padding: 1em;
}
@media (min-width: 1800px) {
    .khg-ra-notice__inner {
        max-width: 1600px;
        margin: 0 auto;
    }
}
.khg-ra-notice__inner p {
    font-size: 0.8em;
    font-weight: 500;
}
.khg-ra-notice__icon {
    padding: 0.4em;
    border-radius: 50%;
    animation: fadeInBackground 0.9s infinite alternate;
    margin-right: 1em;
}
.khg-ra-notice__icon div {
    background-color: #870000;
    height: 0.6em;
    width: 0.6em;
    border-radius: 50%;
}
@keyframes fadeInBackground {
    0% {
        background-color: rgba(135, 0, 0, 0)
    }
    100% {
        background-color: rgba(135, 0, 0, 0.2)
    }
}


/* -- CHANGE BLUEPRINT -- */
.khg-ra-change-blueprint {
    margin: 2em 1em;
}
@media (min-width: 1800px) {
    .khg-ra-change-blueprint {
        max-width: 1600px;
        margin: 4em auto;
        padding-bottom: 4rem;
    }
}
.khg-ra-change-blueprint a {
    display: inline-block;
    font-size: 0.9em;
    padding: 0.75em 1.75em;
    border-radius: 0.25em;
    text-decoration: none;
    border: solid 1px #547a3f;
    background-color: #6B9B4E;
    color: white;
}
.khg-ra-change-blueprint p {
    margin-bottom: 1em;
}
.khg-ra-change-blueprint__data {
    margin-top: 2em;
}
.khg-ra-change-blueprint__data p {
    margin-bottom: 0.5em;
}


/* -- DASHBOARD -- */
.khg-ra-dashboard {
    margin: 2em 1em;
}
@media (min-width: 1800px) {
    .khg-ra-dashboard {
        max-width: 1600px;
        margin: 4em auto;
    }
}
.khg-ra-dashboard-section {
    margin-bottom: 4em;
}
.khg-ra-dashboard-section__heading {
    font-weight: bold;
    margin-bottom: .25em;
}
.khg-ra-dashboard-section__description {
    font-size: 1.1rem;
    font-weight: bold;
}
.khg-ra-dashboard h1 {
    font-weight: bold;
    margin-bottom: 1em;
}
.khg-ra-dashboard .woocommerce-notices-wrapper {
    margin-bottom: 1em;
}
.khg-ra-card-listing {
    margin-top: 2rem;
}
.khg-ra-product {
    padding: 1em 0;
    border-top: solid 1px #d6d6d6;
}
@media (min-width: 1000px) {
    .khg-ra-product {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
.khg-ra-product:last-child {
    border-bottom: solid 1px #d6d6d6;
}
.khg-ra-product__name {
    font-weight: bold;
}
.khg-ra-product__price {
    font-weight: bold;
    font-size: 0.9em;
    margin-right: 2em;
}
.khg-ra-product__price .woocommerce-price-suffix {
    display: none;
}
.khg-ra-product__price,
.khg-ra-product__price * {
    color: #6B9B4E;
}
@media (max-width: 1000px) {
    .khg-ra-product__price-unit {
        display: none;
    }
}
.khg-ra-product__actions {
    display: flex;
    align-items: center;
}
@media (max-width: 1000px) {
    .khg-ra-product__actions {
        justify-content: space-between;
        margin-top: 1em;
    }
}
.khg-ra-product-add-to-cart {
    display: flex;
}
.khg-ra-product-add-to-cart input {
    font-size: 0.8em;
    text-align: center;
    width: 80px;
    border: solid 1px #d6d6d6;
    padding: 0.4em 0 0.4em 0.2em;
    background-color: #EBEAE8;
    border-radius: 0.25em;
}
.khg-ra-product-add-to-cart button {
    display: inline-block;
    font-size: 0.8em;
    padding: 0.75em 1.75em;
    border-radius: 0.25em;
    text-decoration: none;
    margin-left: 1rem;
    border: solid 1px #547a3f;
    background-color: #6B9B4E;
    color: white;
}
.khg-ra-card {
    padding: 1.6em 1em;
    border-top: solid 1px #d6d6d6;
}
@media (min-width: 1000px) {
    .khg-ra-card {
        display: flex;
        justify-content: space-between;
    }
}
.khg-ra-card:nth-child(odd) {
    background-color: #FCFCFC;
}
.khg-ra-card__details {
    display: flex;
    flex-direction: column;
}
.khg-ra-card__name {
    font-weight: bold;
    margin-bottom: 1em;
}
.khg-ra-card__key-data-grid {
    display: flex;
    flex-wrap: wrap;
    margin: auto -1em -1em -1em;
}
.khg-ra-card__key-data p:first-child {
    font-size: 0.7em;
    font-weight: bold;
    color: #61874A;
}
.khg-ra-card__key-data p:last-child {
    font-size: 0.9em;
}
.khg-ra-card__key-data {
    margin: 1em;
}
@media (min-width: 1000px) {
    .khg-ra-card__key-data {
        margin: 0.5em 1em;
    }
    .khg-ra-card__action-wrapper {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-top: auto;
        padding-top: 1rem;
    }
}
.khg-ra-card__actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
}
@media (min-width: 1000px) {
    .khg-ra-card__actions {
        justify-content: flex-end;
        align-items: flex-start;
        margin-top: 0;
    }
}
.khg-ra-card__action {
    display: inline-block;
    font-size: 0.8em;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    border: solid 1px #e6e6e6;
    background-color: #F5F5F5;
    margin-right: 1em;
    margin-bottom: 1em;
}
.khg-ra-card__action:last-child {
    margin-right: 0;
}
.khg-ra-card__action--is-download,
.khg-ra-card__action--is-complete-draft {
    background-color: #6B9B4E;
    color: white;
}
.khg-ra-card__action--is-delete {
    color: #870000;
    background: transparent;
    border: none;
    margin-bottom: 0;
}
@media (max-width: 1000px) {
    .khg-ra-card__action--is-delete {
        padding-left: 1em;
    }
}


/* -- DUAL CONFIRMATION -- */
.khg-ra-dual-confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}
.khg-ra-dual-confirmation-modal--is-active {
    display: flex;
    justify-content: center;
    align-items: center;
}
.khg-ra-dual-confirmation-modal__inner {
    padding: 2em;
    margin: 1em;
    max-width: 500px;
    background-color: white;
    border-radius: 5px;
}
.khg-ra-dual-confirmation-modal__actions {
    margin-top: 1em;
}
@media (min-width: 1000px) {
    .khg-ra-dual-confirmation-modal__actions {
        display: flex;
    }
}
.khg-ra-dual-confirmation-modal__action {
    display: inline-block;
    font-size: 0.9em;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    border: solid 1px #afafaf;
}
@media (min-width: 1000px) {
    .khg-ra-dual-confirmation-modal__action {
        margin-left: 1em;
    }
}
@media (max-width: 1000px) {
    .khg-ra-dual-confirmation-modal__action {
        margin-bottom: 1em;
    }
}
.khg-ra-dual-confirmation-modal__action--is-confirmation {
    background-color: #df3c3c;
    border: solid 1px #df3c3c;
    color: white;
}
.khg-ra-dual-confirmation-modal__action:first-child {
    margin-left: 0;
}


/* -- EDIT RENTAL AGREEMENT -- */
.khg-ra-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FAFAFA;
    z-index: 1001;
}
.khg-ra-sticky-bar__progress {
    width: 100%;
    background-color: #EFEFEF;
}
.khg-ra-sticky-bar__progress div  {
    background-color: #61874A;
    height: 6px;
    border-radius: 0 4px 4px 0;
    transition: 0.8s;
}
.khg-ra-sticky-bar__inner {
    padding: 1.4em 1em;
}
@media (min-width: 1800px) {
    .khg-ra-sticky-bar__inner {
        max-width: 1600px;
        margin: 0 auto;
        padding: 1.4em 0;
    }
}
@media (min-width: 600px) {
    .khg-ra-sticky-bar__inner {
        display: flex;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .khg-ra-sticky-bar__inner {
        font-size: 0.95em;
    }
}
.khg-ra-sticky-bar__name {
    font-weight: bold;
}
.khg-ra-sticky-bar__save {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    background-color: #6B9B4E;
    border: solid 1px #6B9B4E;
    font-weight: 500;
    margin-left: 1rem;
}
.khg-ra-sticky-bar__save span {
    color: white;
}
.khg-ra-sticky-bar__save--is-saving .khg-ra-sticky-bar__save-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-right: 5px;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.khg-ra-sticky-bar__actions {
    display: flex;
    margin-left: auto;
}
@media (max-width: 600px) {
    .khg-ra-sticky-bar__actions {
        margin-top: 0.5em;
    }
}
.khg-ra-sticky-bar__actions > * {
    margin-right: 0.5em;
}
.khg-ra-sticky-bar__actions > *:last-child {
    margin-right: 0;
}
.khg-ra-sticky-bar__actions a {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    background-color: #F5F5F5;
    border: solid 1px #E6E6E6;
    font-weight: 500;
}
.khg-ra-sticky-bar--is-first-page .khg-ra-sticky-bar__actions a:first-child {
    display: none;
}
.khg-ra-sticky-bar__actions select {
    font-size: 0.9em;
    padding: 0.75em 2.25em 0.75em 1.25em ;
    border-radius: 0.25em;
    text-decoration: none;
    background-color: #F5F5F5;
    border: solid 1px #E6E6E6;
    font-weight: 500;
    max-width: 300px;
}
.khg-ra-sticky-bar__actions a:last-child {
    background-color: #6B9B4E;
    color: white;
}
.khg-ra-sticky-bar--is-last-page .khg-ra-sticky-bar__actions a:last-child {
    display: none;
}


/* -- FORM -- */
.khg-ra-edit-form {
    margin: 2em 1em;
}
@media (min-width: 1800px) {
    .khg-ra-edit-form {
        max-width: 1600px;
        margin: 4em auto;
    }
}
.khg-ra-edit-form__preface {
    font-size: 0.9em;
    margin-bottom: 2em;
}
.khg-ra-edit-form__preface ul {
    margin: 1em;
}
.khg-ra-edit-form__preface ul li {
    line-height: 1.4;
    margin-bottom: 1em;
}
.khg-ra-edit-form__page {
    display: none;
    padding-bottom: 4em;
}
.khg-ra-edit-form__page--is-active {
    display: block;
}
.khg-ra-edit-form__submit {
    display: inline-block;
    font-size: 0.9em;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    background-color: #6B9B4E;
    color: white;
}
.khg-ra-edit-form__page-heading {
    font-weight: 500;
    margin-bottom: 1em;
}
.khg-ra-edit-form a[href*="/wp-content/uploads"] {
    display: inline-block;
    background: #1a1c19;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9em;
    text-decoration: none;
    color: white;
}
.khg-ra-edit-form p + p:has(a[href*="/wp-content/uploads"]) {
    margin-top: 2em;
}

/* -- FORM FIELD -- */
.khg-ra-field {
    max-width: 740px;
}
.khg-ra-field--is-hidden {
    display: none;
}
.khg-ra-field + .khg-ra-field {
    margin-top: 2em;
}
.khg-ra-field__label-w-notice {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5em;
}
.khg-ra-field__label-w-notice label {
    font-size: 0.9em;
    line-height: 1.4;
}
.khg-ra-field__notice-trigger {
    margin-left: auto;
}
.khg-ra-field__description-w-max-input {
    display: flex;
    justify-content: space-between;
    font-size: 0.7em;
    margin-top: 0.75em;
}
.khg-ra-field__description {
    max-width: 70%;
}
.khg-ra-field__max-input,
.khg-ra-field__max-input span {
    color: #658751;
}
.khg-ra-field__max-input {
    margin-left: auto;
}
.khg-ra-field__max-input span {
    font-weight: bold;
}
.khg-ra-field input[type="text"],
.khg-ra-field textarea,
.khg-ra-field input[type="date"] {
    width: 100%;
}
.khg-ra-field textarea {
    min-height: 200px;
}
.khg-ra-field--is-type-announcement {
    font-size: 0.9em;
    max-width: 1200px;
}
.khg-ra-field--is-type-announcement.khg-ra-field--is-linked-to-previous {
    font-size: 0.8em;
    margin-left: 40px;
}
.khg-ra-field--is-type-announcement .khg-ra-field__heading {
    display: none;
}
.khg-ra-field--is-type-announcement p {
    margin-bottom: 1em;
}
.khg-ra-field--is-linked-to-previous {
    margin-top: 0.5em !important;
}
.khg-ra-field--is-linked-to-previous .khg-ra-field__label-w-notice {
    display: none;
}
.khg-ra-field--has-description.khg-ra-field--is-type-checkbox .khg-ra-field__label-w-notice label {
    display: none;
}
.khg-ra-field--is-type-checkbox label {
    font-size: 0.9em;
    line-height: 1.4;
}
.khg-ra-notice-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}
.khg-ra-notice-modal[aria-hidden='true'] {
    display: none;
}
.khg-ra-notice-modal__inner {
    padding: 1.4em;
    margin: 1em;
    width: calc(100% - 4.8em);
    background-color: white;
    border-radius: 5px;
}
@media (min-width: 800px) {
    .khg-ra-notice-modal__inner {
        width: 700px;
    }
}
.khg-ra-notice-modal__heading-w-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
}
.khg-ra-notice-modal__heading {
    font-size: 1.1em;
    font-weight: bold;
}
.khg-ra-notice-modal__close {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    background-color: #6B9B4E;
    color: white;
    font-weight: 500;
    margin-left: 1em;
}
.khg-ra-notice-modal__content {
    max-height: 50vh;
    overflow-y: auto;
}
.khg-ra-field__price {
    display: flex;
    align-items: flex-end;
}
.khg-ra-field__price span {
    margin: 0 0.5em;
}
.khg-ra-field__price-euro {
    padding: 0.75em 0.5em;
    text-align: right;
    width: 5em !important;
}
.khg-ra-field__price-cent {
    padding: 0.75em 0.5em;
    width: 4em !important;
}
.khg-ra-edit-form__notice-inner {
    margin-bottom: 2rem;
}
.khg-ra-edit-form__notice-inner p {
    color: #9e0707;
    font-weight: bold;
    margin-bottom: 0.75em;
}
.khg-ra-edit-form__actions {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}
.khg-ra-edit-form__draft {
    display: inline-block;
    font-size: 0.9em;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    background-color: #F5F5F5;
    border: solid 1px #E6E6E6;
    margin-right: 1rem;
}


.khg-wc-is-account-ra-page .khg-navigation-item_ra {
    background-color: #6ca84d !important;
}
.khg-wc-is-account-ra-page .khg-navigation-item_ra svg {
    fill: #fff !important;
}
.khg-wc-is-account-ra-page .khg-navigation-item_ra span {
    color: #fff !important;
}

h2 + .khg-ra-accordion {
    margin-top: 2rem;
}
.khg-ra-accordion + .khg-ra-accordion {
    margin-top: 1em;
}
.khg-ra-accordion__header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f1f1f1;
    text-decoration: none;
}
.khg-ra-accordion__header-title {
    margin-bottom: 0 !important;
}
.khg-ra-accordion__header-icon {
    margin-top: 0.25rem;
}
.khg-ra-accordion__header-icon svg {
    transform: rotate(0deg);
    height: 1.2rem;
    width: auto;
    transition: .8s;
}
.khg-ra-accordion--is-open .khg-ra-accordion__header-icon svg {
    transform: rotate(45deg);
}
.khg-ra-accordion__content {
    display: none;
}
.khg-ra-accordion__content-inner {
    font-size: 0.9em;
    padding: 20px;
    max-width: 1200px;
}
.khg-ra-accordion__content-inner * {
    line-height: 1.5;
}


/* -- SUCCESS PAGE -- */
.khg-ra-success {
    margin: 2em 1em;
    padding-bottom: 4em;
}
@media (min-width: 1800px) {
    .khg-ra-success {
        max-width: 1600px;
        margin: 4em auto;
    }
}
.khg-ra-success__heading {
    font-weight: bold;
    font-size: 1.7em;
    line-height: 1.4;
    margin-bottom: 1em;
}
@media screen and (max-width: 1200px) {
    .khg-ra-success__heading {
        font-size: 1.4em;
        line-height: 1.2;
    }
}
.khg-ra-success ol {
    margin: 1em;
}
.khg-ra-success ol li {
    line-height: 1.4;
}
.khg-ra-success ol li + li {
    margin-top: 1em;
}
.khg-ra-success__actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
    row-gap: 1em;
}
.khg-ra-success__action {
    display: inline-block;
    font-size: 0.9em;
    background-color: rgb(107, 155, 78);
    color: white;
    padding: 0.75em 1.25em;
    border-radius: 0.25em;
    text-decoration: none;
    margin-right: 1em;
}