.supcf-form {
    max-width: 640px;
    margin: 0 auto;
}

.supcf-form__heading {
    margin: 1rem 0;
    text-align: center;
    font-size: 1.25rem;
}

.supcf-form__toggle-wrap {
    margin: 1rem 0;
    text-align: center;
}

.supcf-form__toggle {
    padding: 0.75rem 2.5rem;
    background: #f6f0e6;
    color: #333;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.supcf-form__toggle:hover {
    background: var(--theme-color-default-background-hover);
    color: #fff;
}

.supcf-form__form--collapsed {
    display: none;
}

.supcf-form__optional {
    color: #999;
    font-size: 0.85em;
    white-space: nowrap;
}

.supcf-form__messages {
    margin-bottom: 1.25rem;
}

.supcf-form__success {
    padding: 1rem 1.25rem;
    background: #d4edda;
    color: #155724;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.supcf-form__errors {
    padding: 1rem 1.25rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.supcf-form__errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

.supcf-form__row {
    display: flex;
    gap: 1rem;
}

.supcf-form__row .supcf-form__field {
    flex: 1;
}

.supcf-form__field {
    margin-bottom: 1.25rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.supcf-form__field input,
.supcf-form__field textarea,
.supcf-form__field select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #8a8f98;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    color: #111;
    line-height: 1.4;
}

.supcf-form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23111' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.supcf-form__field input:focus,
.supcf-form__field textarea:focus,
.supcf-form__field select:focus {
    outline: none;
    border-color: #d99a55;
    box-shadow: 0 0 0 3px rgba(217, 154, 85, 0.3);
}

.supcf-form__field input:hover,
.supcf-form__field textarea:hover,
.supcf-form__field select:hover {
    border-color: #555;
}

.supcf-form__field input::placeholder,
.supcf-form__field textarea::placeholder {
    color: #666;
    opacity: 1;
}

.supcf-form__field textarea {
    min-height: 100px;
    resize: vertical;
}

.supcf-form__consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    line-height: 1.5;
}

.supcf-form__consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    padding: 0;
    accent-color: #f5a45b;
    cursor: pointer;
}

.supcf-form__field--error .supcf-form__consent-label {
    color: #dc3545;
}

.supcf-form__consent-text {
    flex: 1;
    padding-top: 1px;
    cursor: default;
}

.supcf-form__field--error input,
.supcf-form__field--error textarea,
.supcf-form__field--error select {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.supcf-form__error-message {
    display: none;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.supcf-form__field--error .supcf-form__error-message {
    display: block;
}

.supcf-form__submit {
    padding-top: 0.25rem;
    margin: 1rem 0px;
    justify-self: center;
}

.supcf-form__submit button {
    padding: 0.75rem 2.5rem;
    background: #f6f0e6;
    color: #333;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.supcf-form__submit button:hover {
    background: var(--theme-color-default-background-hover);
    color: #fff;
}

.supcf-form__newsletter {
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

@media (max-width: 480px) {
    .supcf-form__row {
        flex-direction: column;
        gap: 0;
    }
}