@font-face {
    font-family: Patron-Bold;
    src: url('fonts/PatronBold.ttf');
}

@font-face {
    font-family: Arial-Bold;
    src: url('fonts/ArialBold.ttf');
}

* {
    vertical-align: middle;
    color: inherit;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
   Home page text-size token.
   Change ONE value here to resize all home-page text:
   header/nav links, chat bubbles, chat buttons, and
   the location info panel.
   ===================================================== */
:root {
    --home-ui-font-size: 1.2rem;
}

.typing-dot {
    animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
    background-color: #FF4DAF;
    /* 0.7 of #ff008d */
    border-radius: 50%;
    height: 7px;
    margin-right: 4px;
    vertical-align: middle;
    width: 7px;
    display: inline-block;
}

.typing-dot:nth-child(1) {
    animation-delay: 200ms;
}

.typing-dot:nth-child(2) {
    animation-delay: 300ms;
}

.typing-dot:nth-child(3) {
    animation-delay: 400ms;
}

.typing-dot:last-child {
    margin-right: 0;
}

@keyframes mercuryTypingAnimation {
    0% {
        transform: translateY(0px);
        background-color: #FF4DAF;
        /* 0.7 of #ff008d */
    }

    28% {
        transform: translateY(-7px);
        background-color: #FF99D1;
        /* 0.4 of #ff008d */
    }

    44% {
        transform: translateY(0px);
        background-color: #FFB3DD;
        /* 0.4 of #ff008d */
    }
}

.chat-textarea {
    border: 1px solid #ff008d;
    border-radius: 18px;
    padding: 4px 8px 4px 8px;
    outline: none;
    font-size: var(--home-ui-font-size);
}

.chat-input {
    border: 1px solid #ff008d;
    border-radius: 18px;
    padding: 4px 8px 4px 8px;
    outline: none;
    font-size: var(--home-ui-font-size);
}

.close-btn {
    cursor: pointer;
    margin-left: auto;
    padding-left: 8px;
    margin-right: -6px;
    margin-top: -4px;
    font-size: calc(var(--home-ui-font-size) * 2);
    line-height: calc(var(--home-ui-font-size) * 1.5);
}

/* Location info panel — sizes derived from --home-ui-font-size */
#location-info-name {
    font-size: var(--home-ui-font-size);
}

#location-info-description {
    font-size: var(--home-ui-font-size);
    line-height: 1.5;
}

/* Radio option rows inside chat messages */
.radio-option-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: var(--home-ui-font-size);
    line-height: 1.5;
}

.radio-option-input {
    width: 1em;
    height: 1em;
    margin-right: 12px;
    flex-shrink: 0;
    cursor: pointer;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

select {
    cursor: pointer;
}

label {
    font-size: .875rem;
    vertical-align: baseline
}

a,
b,
i,
span,
strong,
em,
code {
    vertical-align: baseline
}

a,
button,
.button {
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: none;
    font-family: inherit;
    outline: inherit;
    justify-content: center
}

a,
button,
.button,
i,
label {
    -webkit-user-select: none;
    user-select: none
}

body {
    font-size: .875rem;
    line-height: 1.5rem;
    letter-spacing: .0313rem
}

input[type='radio'] {
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: white;
    outline: 2px solid #ff008d;
    border: 2px solid white;
    width: 12px;
    height: 12px;
}

input[type='radio']:checked {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: 2px solid #ff008d;
    border: 2px solid white;
    background: #ff008d;
    width: 12px;
    height: 12px;
}

input[type='radio']:disabled {
    cursor: not-allowed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    display: block;
    align-items: center;
    line-height: normal
}

h1 {
    font-size: 3.5625rem
}

h2 {
    font-size: 2.8125rem
}

h3 {
    font-size: 2.25rem
}

h4 {
    font-size: 2rem
}

h5 {
    font-size: 1.75rem
}

h6 {
    font-size: 1.5rem
}

h1.small {
    font-size: 3.0625rem
}

h2.small {
    font-size: 2.3125rem
}

h3.small {
    font-size: 1.75rem
}

h4.small {
    font-size: 1.5rem
}

h5.small {
    font-size: 1.25rem
}

h6.small {
    font-size: 1rem
}

h1.large {
    font-size: 4.0625rem
}

h2.large {
    font-size: 3.3125rem
}

h3.large {
    font-size: 2.75rem
}

h4.large {
    font-size: 2.5rem
}

h5.large {
    font-size: 2.25rem
}

h6.large {
    font-size: 2rem
}

.help-text-heading {
    text-transform: uppercase;
    text-decoration: underline;
}

pre {
    border-radius: 0;
    background-color: white;
    white-space: pre-wrap;
    padding: 1rem;
    border-inline-start: .25rem solid black;
    font-family: inherit
}

blockquote {
    border-radius: 0;
    padding: 1rem;
    border-inline-start: .25rem solid black;
    font-family: inherit
}

code {
    border-radius: 0;
    background-color: white;
    white-space: pre-wrap;
    padding: .25rem
}

.role-info {
    padding: 4px;
    border: 1px #eee solid;
}

:root,
body {

    ul,
    ol {
        margin-left: 24px;
        margin-bottom: 12px;
    }

    button {
        padding: 12px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 12px 0 12px 0;
    }

    p {
        margin: 0 0 12px 0;
    }
}

.material-symbols-outlined {
    font-weight: 200 !important;
}

h6 {
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 21px;
}

html {
    height: 100%;
}

span.for-form {
    margin-top: 8px;
}

input[type=checkbox] {
    width: 20px;
    height: 20px;
    accent-color: #000;
}

span.text-button {
    color: black;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 24px;
    font-size: .875rem;
    padding: 8px 0 8px 0;
    user-select: none;
}

select.for-form {
    margin: 12px 0 12px 0;
    user-select: none;
}

label {
    font-size: 0.875rem;
}

label.for-form {
    margin-top: 8px;
    color: gray;
    user-select: none;
    font-size: .875rem;
}

.right-aligned {
    margin-left: auto;
    text-align: right;
}

button.icon-button {
    background-color: black;
    color: white;
    border-radius: 8px;
    font-size: .875rem;
    user-select: none;
    display: inline-flex;
    align-items: center;
    border-width: 0;
    cursor: pointer;
    border-radius: 4px;
    padding: 0;
    margin: 0;
}

button.for-form {
    margin-top: 24px;
    margin-left: auto;
    background-color: black;
    color: white;
    font-size: .875rem;
    user-select: none;
    display: inline-flex;
    align-items: center;
    border-width: 0;
    cursor: pointer;
}

button.for-form:disabled {
    background-color: #999999 !important;
    color: white;
    opacity: 1 !important;
}

select {
    background-color: #eeeeee !important;
}

textarea {
    font-family: inherit;
}

input {
    font-family: inherit;
}

textarea.for-form {
    background-color: #eeeeee !important;
    font-size: .875rem;
    padding: 8px;
    border-radius: 4px;
    border-width: 0px;
    outline: none;
}

input[type=text].for-form,
[type=password].for-form {
    background-color: #eeeeee !important;
    font-family: inherit;
    font-size: .875rem;
    padding: 8px;
    border-radius: 4px;
    border-width: 0px;
    outline: none;
}

input[type=number].for-form,
[type=password].for-form {
    background-color: #eeeeee !important;
    font-size: .875rem;
    padding: 8px;
    border-radius: 4px;
    border-width: 0px;
    outline: none;
}

select.for-form {
    background-color: #eeeeee !important;
    font-size: .875rem;
    padding: 8px;
    border-radius: 4px;
    border-width: 0px;
    outline: none;
}

input[type=textarea].for-form {
    background-color: #eeeeee !important;
    font-family: inherit;
    font-size: .875rem;
    padding: 12px;
    border-radius: 4px;
    border-width: 0px;
    outline: none;
}

.link-text {
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

a {
    text-decoration: none;
}

body {
    margin: 0;
    height: 100%;
    background-color: white;
    font-family: Patron-Bold;
}

button {
    padding: 8px;
}

.centered {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.left-modeless-dialog {
    max-width: min(450px, 40%);
    min-width: min-content;
    width: 25%;
    max-height: calc(100% - 140px);
    user-select: none;
    padding: 8px;
    width: fit-content;
    background-color: rgb(255, 255, 255, 0.95);
    z-index: 5;
    position: absolute;
    display: flex;
    flex-direction: column;
    left: 10px;
    top: 10px;
}

#geocoder {
    position: absolute;
    z-index: 6;
    left: 10px;
    bottom: 40px;
    max-width: 25%;
    width: 25%;
}

.mapboxgl-ctrl-geocoder--button {
    padding: 0 !important;
}

/* Reposition search results from geocoder */
.suggestions {
    border: solid 1px lightgray;
    -webkit-transform: translateY(-50vh);
    transform: translateY(-50vh);
}

.dialog {
    width: fit-content;
    min-width: 50%;
    background-color: white;
    position: fixed;
    left: 50vw;
    top: 45vh;
    max-width: 98%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: solid 1px lightgray;
    padding: 24px;
}

.dialog-name {
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 8px;
    border-bottom: solid 1px lightgray;
    user-select: none;
}

.dialog-footer {
    display: flex;
    flex-direction: row;
    align-items: normal;
    width: 100%;
    gap: 8px;
    padding-top: 16px;
    bottom: 0;

    border-top: solid 1px lightgray;
}

.two-columns {
    display: grid;
    grid-template-columns: auto auto;
    grid-row-gap: 2px;

    :nth-child(1n) {
        justify-content: left;
        display: flex;
        align-items: center;
    }
}

.one-column {
    margin-top: 12px;
    display: grid;
    grid-template-columns: auto;
    grid-row-gap: 2px;
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto !important;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1006;
    /* This needs to be higher than the z-index of the event calendar now indicator (red line) */
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.show {
    display: block;
}

.header-with-controls {
    display: flex;
    flex-direction: row;
    padding: 12px;
    grid-column-gap: 0px;
    align-items: center;
}

.buttons-container {
    margin-left: auto;
    white-space: nowrap;
    user-select: none;
}

.button-dropdown-content-button-container {
    position: relative;
    display: inline-block;
}

.button-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 3;
    right: 0;
}

.top-nav-item-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 6;
    right: 0;
    top: 22px;
    margin: -6px;
}

.top-nav-item:hover .top-nav-item-dropdown-content {
    display: block;
}

.dropdown-menu-item {
    align-items: center;
    display: flex;
    flex-direction: row;
    padding: 4px 8px 4px 8px;
    white-space: nowrap;
    user-select: none;
    background-color: white;
    border-width: 2px 0 2px 0;
    border-color: white;
    border-style: solid;
    color: black;
}

.active-dropdown-menu-item {
    background-color: #d0f6ee;
    border-width: 2px 0 2px 0;
    border-color: #90e7d3;
    border-style: solid;
    color: black;
    align-items: center;
    display: flex;
    flex-direction: row;
    padding: 8px;
    user-select: none;
}

.dropdown-menu-item:hover {
    cursor: pointer;
    border-width: 2px 0 2px 0;
    border-color: #eeeeee;
    border-style: solid;

    background-color: #eeeeee;
}

.dropdown-menu-item:hover>material-symbols-outlined {
    color: white;
}

.dropdown-menu-item>material-symbols-outlined:hover {
    color: white;
}

.dropdown-menu-item>material-symbols-outlined {
    color: black;
    padding-right: 4px;
    font-size: 16px !important;
    vertical-align: middle;
    line-height: normal !important;
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: white;
    overflow: auto;
    border: solid lightgray;
    border-width: 0 1px 0 0;
    flex-shrink: 0;
}

/* The container sizes to the widest button; all buttons then fill it uniformly */
#themes {
    width: max-content;
    row-gap: 2px;
}

.theme-menu-item {
    border: 2px solid white;
    background-color: #ff008d;
    color: white;
    width: 100%;
    padding: 0.3em 0.4em;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    text-align: left;
    transition: margin-left 0.15s ease, width 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
    font-size: var(--home-ui-font-size);
}

/* available */
.theme-menu-item.available {
    background-color: #ff008d;
    color: white;
    opacity: 1;
}

/* selected — extends 1.5em to the left so it stands out from unselected items */
.theme-menu-item.selected {
    background-color: #ff008d;
    color: white;
    margin-left: -1.5em;
    width: calc(100% + 1.5em);
}

/* disabled */
.theme-menu-item.disabled {
    background-color: #ffafdb;
    color: white;
    cursor: not-allowed;
    opacity: 1;
}

.theme-menu-item.lock {
    cursor: not-allowed;
    pointer-events: none;
}

/* Not currently used as we don't avatars yet */
.user-nav-item-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* Main content area and main menu */
.container {
    display: flex;
    flex-direction: column;
    background-color: white;
    position: relative;
    align-self: start;
}

.container-right {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 60%;
    background-color: white;
}

.top-nav-items {
    justify-content: flex-end;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin-left: auto;
    flex-wrap: wrap;
}

.top-nav-title {
    display: flex;
    align-self: start;
    flex-direction: row;
    white-space: nowrap;
    flex-wrap: wrap;
}

.page-title {
    padding: 0;
    margin-left: 8px;
    white-space: nowrap;
}

.top-nav {
    align-items: center;
    display: flex;
    flex-direction: row;
    padding: 4px;
    border: solid lightgray;
    border-width: 0 0 1px 0;
    user-select: none;
    background-color: black;
    color: white;
}

.top-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    user-select: none;
    cursor: pointer;
    margin: 0 8px 0 8px;
    line-height: normal;
}

.active-top-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    user-select: none;
    margin: 0 8px 0 8px;
}

.content {
    align-items: top;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    background-color: white;
}

.content-container {
    padding: 12px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.responsive-columns-container {
    display: flex;
    flex-direction: row;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 1;
    column-gap: 10px;
    background-color: #eee;
    padding: 10px 10px 0 10px;
}

.one-quarter-column {
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 25%;
    flex-direction: column;
    background-color: transparent;
    border-radius: 8px;
}

.three-quarters-column {
    display: flex;
    flex-grow: 2;
    flex-shrink: 0;
    flex-basis: 75%;
    flex-direction: column;
    background-color: transparent;
    border-radius: 8px;
}

.one-third-column {
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 0;
    flex-direction: column;
    width: 33%;
    background-color: transparent;
    border-radius: 8px;
}

.two-thirds-column {
    display: flex;
    flex-grow: 2;
    flex-shrink: 0;
    flex-basis: 0;
    flex-direction: column;
    width: 66%;
    background-color: transparent;
    border-radius: 8px;
}

.top-nav-pickers-and-nav-items {
    margin-left: auto;
    display: flex;
    flex-direction: row;
}

.top-nav-pickers {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    background-color: white;
}

.form-builder-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 1rem 4rem 2rem 4rem;
}

.responsive-tabs-container {
    display: flex;
    flex-direction: row;
    margin-top: 16px;
    margin-bottom: 16px;
}

.responsive-tab {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: center;
    cursor: pointer;
    gap: 8px;
    padding: 8px;
    white-space: nowrap;
    background-color: white;
    user-select: none;
    margin: 0 1px 0 1px;
}

.responsive-tab-active {
    background-color: #d0f6ee;
    border: solid 2px #90e7d3;
    cursor: unset;
    margin: 0;
}

.responsive-tab:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.responsive-tab:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.responsive-tab-panels-container {
    display: flex;
    flex-grow: 1;
}

.responsive-tab-panel {
    background-color: white;
    display: flex;
    border-radius: 8px;
    border: 1px solid color(srgb 0.0941176 0.113725 0.121569 / 0.15);
    /* This is the same color as the AG-Grid border */
    padding: 8px;

    flex-direction: column;
    flex: 1 1 auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    /* height: 0; */
}

.responsive-simple-tabs-container {
    display: flex;
    flex-direction: row;
    margin-left: 4px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.responsive-simple-tab-panels-container {
    display: flex;
    flex-grow: 1;
}

.responsive-simple-tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
    cursor: pointer;
    gap: 8px;
    padding: 8px;
    white-space: nowrap;
    background-color: white;
    user-select: none;
    border: 0;
    color: black;
    margin-bottom: 2px;
}

.responsive-simple-tab-active {
    cursor: unset;
    color: #8147DB;
    border-bottom: solid 2px #8147DB;
    margin-bottom: 0;
}

.responsive-simple-tab-panel {
    background-color: white;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    /* height: 0; */
}

.responsive-simple-tab-label {
    display: block;
}

.responsive-simple-tab-label-active {
    display: block;
}

.two-wide-columns {
    display: flex;
    flex-direction: row;
    column-gap: 24px;
}

.column-in-two-wide-columns {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.service-category-pictogram {
    max-width: 350px;
}

/* Responsive layouts */

@media screen and (max-width: 960px) {
    .service-category-pictogram {
        max-width: 200px;
    }

    .left-modeless-dialog {
        width: 60%;
        max-width: min(450px, 60%);
    }

    #geocoder {
        width: 60%;
        max-width: min(300px, 60%);
    }

    .two-wide-columns {
        flex-direction: column;
    }

    .column-in-two-wide-columns {
        width: 100%;
    }

    .dialog {
        min-width: 98%;
    }

    .responsive-tab {
        margin: 1px 0 1px 0;
    }

    .responsive-tab-active {
        margin: 0;
    }

    .responsive-simple-tab-label {
        display: none;
    }

    .responsive-tab:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 0;
    }

    .responsive-tab:last-child {
        border-top-left-radius: 0;
        border-bottom-left-radius: 8px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 8px;
    }

    .form-builder-container {
        margin: 0;
    }

    .responsive-tabs-container {
        flex-direction: column;
    }

    .responsive-simple-tabs-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .responsive-columns-container {
        flex-direction: column;
        row-gap: 10px;
    }

    .one-quarter-column {
        width: 100%;
    }

    .three-quarters-column {
        width: 100%;
    }

    .one-third-column {
        width: 100%;
    }

    .two-thirds-column {
        width: 100%;
    }

    .ec-toolbar {
        flex-direction: column
    }
}

@media screen and (max-width: 800px) {
    .top-nav {
        flex-direction: column;
    }

    .top-nav-club-switcher-dropdown-content {
        right: unset;
    }

    .full-viewport-modal-footer-button-container {
        margin-right: 10%;
    }

    .header-with-controls {
        flex-direction: column;
        align-items: end;
    }

    .top-nav-pickers-and-nav-items {
        flex-direction: column;
        margin-left: unset;
    }

    .top-nav-pickers {
        margin-left: auto;
        margin-right: auto;
    }

    .buttons-container {
        margin-left: 0;
    }

    .container-right {
        width: 100%;
    }
}

/* Div radio buttons */

.div-radio-group {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    width: 100%;
}

.div-radio-group-item {
    align-items: center;
    display: flex;
    border: solid 1px black;
    padding: 4px;
    cursor: pointer;
    background-color: white;
    color: black;
}

.active {
    background-color: black;
    color: white;
}

/* Collapsible panel */

.collapsible-container {
    background-color: black;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-bottom: 8px;
}

.collapsible {
    cursor: pointer;
    padding: 0 8px 0 8px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    user-select: none;
}

.collapsible-content {
    margin-top: 4px;
    padding: 0 8px;
    display: none;
    background-color: white;
    user-select: none;
    margin-bottom: 8px;
}

/* Chat panel */

.chat-messages {
    scroll-behavior: smooth;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: scroll;
}

.chat-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-row.user {
    align-items: flex-end;
}

.chat-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ff008d;
    color: #ff008d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    background: white;
}

.chat-row.user .chat-avatar {
    display: none;
}

.chat-speak-btn {
    border: 2px solid #ff008d;
    background: white;
    color: #ff008d;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
}

.chat-row.user .chat-speak-btn {
    border-color: #8ac65f;
    color: #8ac65f;
}

.chat-speak-btn:hover {
    background: #ffffff;
}

.chat-bubble {
    position: relative;
    max-width: 100%;
    margin-left: 12px;
    margin-right: 12px;
    border: 2px solid #ff008d;
    border-radius: 18px;
    padding: 14px 16px;
    color: #ffffff;
    background: #ff008d;
    font-family: Patron-Bold;
    font-size: var(--home-ui-font-size);
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chat-button {
    background-color: #ff008d;
    color: white;
    border-radius: 8px;
    margin-left: 12px;
    margin-right: 12px;
    font-size: var(--home-ui-font-size);
}

.chat-button:disabled {
    background-color: #FFB3DD !important;
}

.chat-bubble::before {
    content: "";
    position: absolute;
    left: 8px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ff008d;
}

.chat-bubble::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: -7px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ff008d;
}

.chat-bubble-content strong {
    display: block;
    margin-bottom: 6px;
    font-size: var(--home-ui-font-size);
}

.chat-row.system .chat-bubble,
.chat-row.system-right .chat-bubble {
    background: #ffffff;
    border-color: #ff008d;
    color: #ff008d;
}

.chat-row.system .chat-bubble::before,
.chat-row.system-right .chat-bubble::before {
    border-top-color: #ff008d;
}

.chat-row.system .chat-bubble::after,
.chat-row.system-right .chat-bubble::after {
    border-top-color: #ffffff;
}

.chat-row.user .chat-bubble {
    background: #8ac65f;
    border-color: #8ac65f;
    color: #ffffff;
    margin-left: 12px;
    margin-right: 12px;
}

.chat-row.user .chat-bubble::before {
    left: auto;
    right: 8px;
    border-top-color: #8ac65f;
}

.chat-row.user .chat-bubble::after {
    left: auto;
    right: 10px;
    border-top-color: #8ac65f;
}

/* right side for system + bot */

.chat-row.right {
    align-items: flex-end;
}

.chat-row.right .chat-bubble {
    margin-left: 12px;
    margin-right: 12px;
}

.chat-row.right .chat-bubble::before {
    left: auto;
    right: 8px;
}

.chat-row.right .chat-bubble::after {
    left: auto;
    right: 10px;
}

.chat-row.right .chat-side {
    flex-direction: row-reverse;
}

/* FAQ Accordion Styles */
.faq-container {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 8px;
    border: 1px solid black;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #ff008d;
    background-color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 15px 20px;
    border-top: 1px solid black;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: normal;
    color: black;
}

.faq-toggle::before {
    content: "+";
}

.faq-item.active .faq-toggle::before {
    content: "\2212";
    /* Minus sign */
}

.header-title,
.menu-item {
    font-size: var(--home-ui-font-size);
    color: white;
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.header-title:hover,
.menu-item:hover {
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

/* Intro Text Styling */
.intro-text-p {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
}

.intro-text-subheadline {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.8rem;
    text-align: left;
}

.intro-steps-list {
    text-align: left;
    max-width: 600px;
    margin: 0 0 2rem 0;
    font-size: 1rem;
    line-height: 1.4rem;
}

.intro-step-item {
    margin-bottom: 1rem;
}

.intro-step-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.intro-text-footer {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 2rem;
}

.intro-text-link {
    color: white;
    text-decoration: underline;
}

.user-info-label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: var(--home-ui-font-size);
}

.user-info-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f8f8f8;
    color: #ff008d;
    font-family: inherit;
    font-size: var(--home-ui-font-size);
    font-weight: 500;
    margin-bottom: 1.2rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.user-info-select:focus {
    border-color: #ff008d;
}

.user-info-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.user-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}