.sb-contact-form {
    background-color: var(--bs-body-bg, #fff);
}

.sb-contact-form--dark {
    background-color: #1a1d23;
    color: #f1f5f9;
}

.sb-contact-form--dark .form-label {
    color: #e2e8f0;
}

.sb-contact-form--dark .form-control,
.sb-contact-form--dark .form-select {
    background-color: #2d3139;
    border-color: #3d4149;
    color: #f1f5f9;
}

.sb-contact-form--dark .form-control::placeholder {
    color: #94a3b8;
}

.sb-contact-form__inner {
    max-width: 680px;
    margin: 0 auto;
}

.sb-contact-form__header {
    margin-bottom: 2rem;
}

.sb-contact-form__heading > *:last-child,
.sb-contact-form__subtext > *:last-child {
    margin-bottom: 0;
}

.sb-contact-form__subtext {
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 0.5rem;
}

.sb-contact-form--dark .sb-contact-form__subtext {
    color: #94a3b8;
}

.sb-contact-form__form .btn {
    min-width: 160px;
}

.sb-contact-form__success {
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    background-color: #d1fae5;
    color: #065f46;
    font-weight: 600;
    border: 1px solid #a7f3d0;
}

.sb-contact-form--dark .sb-contact-form__success {
    background-color: #064e3b;
    color: #a7f3d0;
    border-color: #065f46;
}

html[data-theme="dark"] .sb-contact-form__success {
    background-color: #064e3b;
    color: #a7f3d0;
    border-color: #065f46;
}
