.form-required {
    color: #b45309;
}

[data-form-service="phpmailer"] :is(input, select, textarea):focus-visible {
    border-color: #f2a51a !important;
    outline: 3px solid rgba(242, 165, 26, 0.24) !important;
    outline-offset: 2px;
}

[data-form-service="phpmailer"] [aria-invalid="true"] {
    border-color: #b42318 !important;
}

.form-field-error {
    min-height: 1.25rem;
    margin: 0;
    color: #b42318;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.file-upload-field {
    display: grid;
    gap: 0.55rem;
    color: #07111f;
    font-size: 0.875rem;
    font-weight: 900;
}

.file-upload-helper {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.55;
}

.file-upload {
    position: relative;
    display: grid;
    min-height: 7.5rem;
    place-items: center;
    overflow: hidden;
    border: 1.5px dashed #cbd5e1;
    border-radius: 1.5rem;
    background: #f7f8fa;
    color: #64748b;
    text-align: center;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.file-upload:hover,
.file-upload.is-dragging,
.file-upload:focus-within {
    border-color: #f2a51a;
    background: #fffaf0;
    box-shadow: 0 0 0 3px rgba(242, 165, 26, 0.18);
}

.file-upload__input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.file-upload__content {
    display: grid;
    place-items: center;
    gap: 0.55rem;
    padding: 1.25rem;
    pointer-events: none;
}

.file-upload__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    background: #07111f;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
}

.file-upload__selected {
    overflow-wrap: anywhere;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
}

.file-upload__remove {
    display: none;
    width: max-content;
    padding: 0.35rem 0;
    border: 0;
    background: transparent;
    color: #9f2d20;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.file-upload__remove.is-visible {
    display: inline-flex;
}

.file-upload__remove:focus-visible {
    border-radius: 0.25rem;
    outline: 3px solid rgba(242, 165, 26, 0.38);
    outline-offset: 3px;
}

.form-status {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 750;
    line-height: 1.5;
}

.form-status:empty {
    display: none;
}

.form-status[data-state="loading"] {
    background: #fff8e8;
    color: #805300;
}

.form-status[data-state="success"] {
    background: #ecfdf3;
    color: #176b3a;
}

.form-status[data-state="error"] {
    background: #fef3f2;
    color: #9f2d20;
}

[data-form-service="phpmailer"] button[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.62;
    transform: none !important;
}

