.tivahost-cboa-trigger {
    appearance: none;
    background: transparent;
    border: 0;
    color: #168d88;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: left;
    text-decoration: underline;
}

.tivahost-cboa-trigger:hover,
.tivahost-cboa-trigger:focus-visible {
    color: #106e6a;
}

.footer-widgets .widget-column .tivahost-cboa-trigger {
    color: #0bb4aa;
    letter-spacing: normal;
    text-decoration: none;
    text-transform: none;
}

.tivahost-cboa-dialog {
    border: 0;
    border-radius: 0.4rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    color: #222;
    max-height: calc(100vh - 2rem);
    max-width: calc(100vw - 2rem);
    padding: 1.5rem;
    width: 36rem;
}

.tivahost-cboa-dialog::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

.tivahost-cboa-dialog__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.tivahost-cboa-dialog__header h2 {
    margin: 0 0 1rem;
}

.tivahost-cboa-dialog__close {
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 0.2rem;
    color: inherit;
    cursor: pointer;
    flex: 0 0 auto;
    padding: 0.35rem 0.6rem;
}

.tivahost-cboa-form {
    display: grid;
    gap: 0.55rem;
}

.tivahost-cboa-form input:not([type="hidden"]),
.tivahost-cboa-form textarea {
    box-sizing: border-box;
    font: inherit;
    margin-bottom: 0.5rem;
    max-width: 100%;
    padding: 0.65rem;
    width: 100%;
}

.tivahost-cboa-form__submit {
    background: #168d88;
    border: 0;
    border-radius: 0.2rem;
    color: #fff;
    cursor: pointer;
    font: inherit;
    justify-self: start;
    padding: 0.7rem 1rem;
}

.tivahost-cboa-form__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.tivahost-cboa-form__error {
    color: #a00000;
    margin: 0;
}

.tivahost-cboa-honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.tivahost-cboa-status {
    background: #fff;
    border: 2px solid #168d88;
    bottom: 1rem;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.2);
    color: #222;
    left: 50%;
    max-width: calc(100vw - 2rem);
    padding: 1rem;
    position: fixed;
    transform: translateX(-50%);
    z-index: 100000;
}

.tivahost-cboa-status[hidden],
.tivahost-cboa-form__error[hidden] {
    display: none;
}
