body {
    background-color: #0f172a;
    color: #f8fafc;
    --iti-border-color: rgb(71 85 105 / 0.85);
    --iti-country-selector-bg: #0f172a;
    --iti-icon-color: #cbd5e1;
    --iti-hover-color: #1e293b;
    --iti-strict-reject-flash-color: rgb(248 113 113 / 0.2);
}

.accent-glow {
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgb(71 85 105 / 0.7);
    border-radius: 0.875rem;
    background: rgb(30 41 59 / 0.35);
}

.faq-item[open] {
    border-color: rgb(8 145 178 / 0.55);
    background: rgb(30 41 59 / 0.55);
}

.faq-item summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: #f8fafc;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    color: #22d3ee;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item summary:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: -4px;
}

.faq-item p {
    border-top: 1px solid rgb(71 85 105 / 0.55);
    padding: 1rem 1.5rem 1.25rem;
    color: #94a3b8;
    line-height: 1.7;
}

.faq-item p a {
    color: #22d3ee;
}

.faq-item p a:hover {
    color: #67e8f9;
}

.form-field {
    width: 100%;
    border: 1px solid rgb(71 85 105 / 0.85);
    border-radius: 0.5rem;
    background-color: rgb(15 23 42 / 0.8);
    color: #f8fafc;
    padding: 0.75rem 0.875rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field::placeholder {
    color: #64748b;
}

.form-field:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgb(6 182 212 / 0.18);
}

.form-field[aria-invalid="true"] {
    border-color: #f87171;
}

.field-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
}

.required-mark {
    color: #22d3ee;
}

.status-message {
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
}

.status-message[data-state="error"] {
    border: 1px solid rgb(248 113 113 / 0.45);
    background-color: rgb(127 29 29 / 0.24);
    color: #fecaca;
}

.status-message[data-state="success"] {
    border: 1px solid rgb(34 211 238 / 0.4);
    background-color: rgb(8 145 178 / 0.13);
    color: #cffafe;
}

.submit-button[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.submit-button[data-submitting="true"] {
    cursor: wait;
    opacity: 0.7;
}

.iti {
    width: 100%;
}

.iti__country-list,
.iti__search-input {
    color: #f8fafc;
}

.iti__search-input {
    background-color: #0f172a;
}

.iti__dial-code {
    color: #94a3b8;
}

.phone-field-grid {
    display: grid;
    grid-template-columns: minmax(10.5rem, 0.42fr) minmax(0, 1fr);
    gap: 1rem;
}

.country-picker {
    position: relative;
}

.country-picker__button {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
}

.country-picker__selected,
.country-picker__option-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.7rem;
}

.country-picker__selected [data-country-label],
.country-picker__option-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-picker__chevron {
    width: 0.5rem;
    height: 0.5rem;
    flex: 0 0 auto;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: translateY(-0.15rem) rotate(45deg);
}

.country-picker__button[aria-expanded="true"] .country-picker__chevron {
    transform: translateY(0.15rem) rotate(225deg);
}

.country-picker__menu {
    position: absolute;
    z-index: 60;
    top: calc(100% + 0.5rem);
    left: 0;
    width: min(24rem, calc(100vw - 3rem));
    overflow: hidden;
    border: 1px solid rgb(71 85 105 / 0.95);
    border-radius: 0.75rem;
    background: #0f172a;
    box-shadow: 0 20px 45px rgb(2 6 23 / 0.55);
}

.country-picker--address .country-picker__menu {
    width: 100%;
}

.country-picker__search {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgb(71 85 105 / 0.85);
    background: #0f172a;
    color: #f8fafc;
    padding: 0.8rem 0.9rem;
    outline: none;
}

.country-picker__search:focus {
    box-shadow: inset 0 -2px #06b6d4;
}

.country-picker__search::placeholder {
    color: #64748b;
}

.country-picker__options {
    max-height: 17rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.35rem;
}

.country-picker__option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #e2e8f0;
    padding: 0.65rem 0.7rem;
    text-align: left;
}

.country-picker__option:hover,
.country-picker__option:focus-visible,
.country-picker__option[aria-selected="true"] {
    background: #1e293b;
    outline: none;
}

.country-picker__option-code {
    flex: 0 0 auto;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.country-picker .iti__flag {
    flex: 0 0 auto;
}

@media (max-width: 540px) {
    .phone-field-grid {
        grid-template-columns: 1fr;
    }

    .country-picker__menu,
    .country-picker--address .country-picker__menu {
        width: 100%;
    }
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
