
.tribes-fixed-form-trigger {
position: fixed;
left: 50%;
bottom: clamp(18px, 2vw, 32px);
transform: translateX(-50%);
z-index: 9997;
pointer-events: auto;
visibility: hidden;
opacity: 0;
}

.tribes-form-drawer-overlay {
position: fixed;
inset: 0;
background: rgba(15, 15, 15, 0.45);
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.45s ease, visibility 0.45s ease;
z-index: 9998;
}

.tribes-form-drawer-overlay.is-open {
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.tribes-form-drawer {
position: fixed;
top: 0;
right: 0;
width: min(560px, 100vw);
height: 100vh;
height: 100svh;
height: 100dvh;
max-height: 100dvh;
background: #fffdf9;
color: #0f0f0f;
transform: translateX(101%);
visibility: hidden;
pointer-events: none;
box-shadow: none;
transition:
transform 0.65s cubic-bezier(0.65, 0.01, 0.05, 0.99),
visibility 0s linear 0.65s;
z-index: 9999;
overflow-y: scroll;
overflow-x: hidden;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
touch-action: pan-y;
}

.tribes-form-drawer.is-open {
transform: translateX(0);
visibility: visible;
pointer-events: auto;
box-shadow: -20px 0 60px rgba(15, 15, 15, 0.16);
transition:
transform 0.65s cubic-bezier(0.65, 0.01, 0.05, 0.99),
visibility 0s;
}

.tribes-form-drawer-inner {
min-height: auto;
padding: clamp(32px, 5vw, 64px);
padding-top: clamp(42px, 5vw, 64px);
padding-bottom: 160px;
}

.tribes-form-drawer-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin-left: auto;
    margin-bottom: 2rem;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 999px;
    background: #0f0f0f;
    color: #fffdf9;
    font-family: 'Neue Haas Display';
    font-size: 1.5rem;
    font-weight: 300 !important;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.tribes-form-drawer-label {
margin-bottom: 1rem;
font-size: 0.95rem;
line-height: 1.2;
color: rgba(15, 15, 15, 0.55);
}

.tribes-form-drawer-title {
margin: 0 0 1rem 0;
font-size: clamp(2.5rem, 5vw, 5rem);
line-height: 0.95;
font-weight: 400;
letter-spacing: -0.05em;
}

.tribes-form-drawer-text {
max-width: 26rem;
margin: 0 0 2rem 0;
font-size: clamp(1rem, 1vw, 1.15rem);
line-height: 1.35;
color: rgba(15, 15, 15, 0.7);
}

body.tribes-form-drawer-open {
overflow: hidden;
}

/* =========================================================
GLOBAL FLUENT FORMS BASE STYLING
Applies to all Fluent Forms
========================================================= */

.frm-fluent-form,
.frm-fluent-form input,
.frm-fluent-form textarea,
.frm-fluent-form select,
.frm-fluent-form button,
.frm-fluent-form label,
.frm-fluent-form span {
font-family: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif !important;
}

.ff-default .ff_btn_style {
font-weight: 400 !important;
}

.ff-default .ff_btn_style:focus,
.ff-default .ff_btn_style:hover {
opacity: 1 !important;
}

.frm-fluent-form .ff-t-container {
display: flex;
gap: 15px;
width: 100%;
align-items: flex-end;
}

.frm-fluent-form .ff-el-group {
margin-bottom: 1.4rem;
}

.frm-fluent-form .ff-el-input--label label {
color: #0f0f0f;
font-size: 0.9rem!important;
font-weight: 400;
letter-spacing: -0.01em;
}

.frm-fluent-form .ff-el-form-control {
width: 100%;
height: auto;
min-height: 48px;
padding: 0.75rem 0;
border: none !important;
border-bottom: 1px solid rgba(15, 15, 15, 0.25) !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
outline: none !important;
color: #0f0f0f !important;
font-size: 0.85rem;
font-weight: 400;
line-height: 1.4;
transition: border-color 0.25s ease, color 0.25s ease;
}

.frm-fluent-form textarea.ff-el-form-control {
min-height: 120px;
resize: vertical;
padding-top: 0.85rem;
}

.frm-fluent-form .ff-el-form-control::placeholder {
color: #0f0f0f65 !important;
font-family: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif !important;
opacity: 1;
}

.frm-fluent-form .ff-el-form-control::-webkit-input-placeholder {
color: #0f0f0f65 !important;
font-family: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif !important;
opacity: 1;
}

.frm-fluent-form .ff-el-form-control::-moz-placeholder {
color: #0f0f0f65 !important;
font-family: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif !important;
opacity: 1;
}

.frm-fluent-form .ff-el-form-control:-ms-input-placeholder {
color: #0f0f0f65 !important;
font-family: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif !important;
}

.frm-fluent-form .ff-el-form-control:focus {
border-bottom-color: #0f0f0f !important;
}

.frm-fluent-form .ff-el-form-control:-webkit-autofill,
.frm-fluent-form .ff-el-form-control:-webkit-autofill:hover,
.frm-fluent-form .ff-el-form-control:-webkit-autofill:focus {
-webkit-text-fill-color: #0f0f0f !important;
-webkit-box-shadow: 0 0 0 1000px transparent inset !important;
transition: background-color 9999s ease-in-out 0s;
}

/* =========================================================
GLOBAL FLUENT FORMS CHECKBOX PILLS
========================================================= */

.frm-fluent-form .ff-el-input--content:has(.ff-el-form-check) {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
align-items: flex-start;
}

.frm-fluent-form .ff-el-form-check {
margin: 0 !important;
padding: 0 !important;
display: inline-flex;
}

.frm-fluent-form .ff-el-form-check-label {
position: relative;
display: inline-flex !important;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0.75rem 1.15rem;
border: 1px solid rgba(15, 15, 15, 0.18);
border-radius: 0.25em;
background: transparent;
color: #0f0f0f;
font-size: 0.95rem;
line-height: 1;
font-weight: 400;
letter-spacing: -0.01em;
cursor: pointer;
user-select: none;
transition:
background-color 0.25s ease,
color 0.25s ease,
border-color 0.25s ease,
transform 0.25s ease;
}

.frm-fluent-form .ff-el-form-check-label input[type="checkbox"] {
position: absolute;
opacity: 0;
pointer-events: none;
width: 0;
height: 0;
margin: 0;
}

.frm-fluent-form .ff-el-form-check-label span {
display: inline-block;
pointer-events: none;
}

.frm-fluent-form .ff-el-form-check-label:hover {
border-color: #0f0f0f;
transform: translateY(-1px);
}

.frm-fluent-form .ff-el-form-check-label.is-checked {
background: #0f0f0f;
color: #fef3e3;
border-color: #0f0f0f;
}

.frm-fluent-form .ff-el-form-check-label:has(input[type="checkbox"]:focus-visible) {
outline: 2px solid #0f0f0f;
outline-offset: 3px;
}

/* =========================================================
GLOBAL FLUENT FORMS SUBMIT BUTTON
Bubble arrow style for all forms
========================================================= */

.frm-fluent-form .ff_submit_btn_wrapper {
margin-top: 2rem;
margin-bottom: 0;
}

.frm-fluent-form .ff-btn-submit {
appearance: none;
-webkit-appearance: none;
border: none !important;
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
box-shadow: none !important;
outline: none;
color: inherit;
cursor: pointer;
display: inline-flex;
position: relative;
overflow: hidden;
border-radius: 0.25em;
font-size: 1.1rem;
line-height: 1;
text-decoration: none;
}

.frm-fluent-form .btn-bubble-arrow__content {
color: #fef3e3;
background-color: #0f0f0f;
border-radius: 0.25em;
justify-content: center;
align-items: center;
gap: 0.7em;
min-height: 3.1em;
padding: 0 1em;
display: flex;
position: relative;
overflow: hidden;
}

.frm-fluent-form .btn-bubble-arrow__content-text {
line-height: 1;
position: relative;
z-index: 3;
transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
transform: translateX(0em) rotate(0.001deg);
white-space: nowrap;
color: currentColor;
}

.frm-fluent-form .btn-bubble-arrow__arrow-wrap {
width: 2.15em;
height: 2.15em;
position: relative;
flex: 0 0 2.15em;
overflow: hidden;
border-radius: 0.25em;
}

.frm-fluent-form .btn-bubble-arrow__arrow-wrap.is--left {
position: absolute;
left: 1em;
top: 50%;
z-index: 2;
transform: translateY(-50%);
pointer-events: none;
}

.frm-fluent-form .btn-bubble-arrow__arrow {
color: #131313;
background-color: #cc632c;
border-radius: 0.25em;
flex-flow: row;
justify-content: center;
align-items: center;
width: 2.15em;
height: 2.15em;
display: flex;
position: absolute;
inset: 0;
transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
transform: scale(0) rotate(0.001deg);
transform-origin: left;
}

.frm-fluent-form .btn-bubble-arrow__arrow.is--duplicate {
z-index: 2;
background-color: #fef3e3;
transform: scale(1) rotate(0.001deg);
transform-origin: right;
}

.frm-fluent-form .btn-bubble-arrow__arrow-wrap.is--left .btn-bubble-arrow__arrow {
transform-origin: left;
color: #ffffff;
}

.frm-fluent-form .btn-bubble-arrow__arrow-svg {
width: 40%;
height: auto;
display: block;
transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
transform: rotate(-45deg);
}

.frm-fluent-form .ff-btn-submit:hover .btn-bubble-arrow__content-text {
transform: translateX(2.85em) rotate(0.001deg);
}

.frm-fluent-form .ff-btn-submit:hover .btn-bubble-arrow__arrow-wrap.is--left .btn-bubble-arrow__arrow {
transform: scale(1) rotate(0.001deg);
}

.frm-fluent-form .ff-btn-submit:hover .btn-bubble-arrow__arrow-wrap.is--left .btn-bubble-arrow__arrow-svg {
transform: rotate(-45deg);
}

.frm-fluent-form .ff-btn-submit:hover .btn-bubble-arrow__arrow-wrap:not(.is--left) .btn-bubble-arrow__arrow.is--duplicate {
transform: scale(0) rotate(0.001deg);
}

.frm-fluent-form .ff-btn-submit:hover .btn-bubble-arrow__arrow-wrap:not(.is--left) .btn-bubble-arrow__arrow-svg {
transform: rotate(-45deg);
}

.frm-fluent-form .ff-btn-submit:focus-visible {
outline: 2px solid #0f0f0f;
outline-offset: 4px;
}

.frm-fluent-form .ff-btn-submit:disabled,
.frm-fluent-form .ff-btn-submit.ff_btn_no_style,
.frm-fluent-form .ff-btn-submit.ff-btn-loading {
opacity: 0.65;
pointer-events: none;
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 768px) {
.tribes-fixed-form-trigger {
left: 18px;
right: 18px;
bottom: 18px;
transform: none;
}

.tribes-fixed-form-trigger .btn-group-tr,
.tribes-fixed-form-trigger .btn-tribes-arrow {
width: 100%;
}

.tribes-form-drawer {
width: 100vw;
height: 100vh;
height: 100svh;
height: 100dvh;
max-height: 100dvh;
}

.tribes-form-drawer-inner {
padding-left: 24px;
padding-right: 24px;
padding-bottom: 180px;
}

.frm-fluent-form .ff-t-container {
flex-direction: column;
gap: 0;
align-items: stretch;
}

.frm-fluent-form .ff-t-cell {
width: 100% !important;
flex-basis: 100% !important;
}

.frm-fluent-form .ff-el-input--content:has(.ff-el-form-check) {
gap: 0.5rem;
}

.frm-fluent-form .ff-el-form-check-label {
min-height: 40px;
padding: 0.7rem 1rem;
font-size: 0.9rem;
}

.frm-fluent-form .ff-el-form-control {
min-height: 46px;
font-size: 0.95rem;
}

.frm-fluent-form .ff-btn-submit {
font-size: 1rem;
}

.frm-fluent-form .btn-bubble-arrow__content {
min-height: 3em;
}
}