.da-dmca-form-wrap {
    box-sizing: border-box;
    width: 100%;
}

.da-dmca-form {
    display: grid;
    gap: 1.25rem;
}

.da-dmca-section {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid currentColor;
    border-radius: .35rem;
}

.da-dmca-section legend {
    padding: 0 .35rem;
    font-weight: 700;
}

.da-dmca-field,
.da-dmca-submit {
    margin: 0;
}

.da-dmca-field label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 600;
}

.da-dmca-field input,
.da-dmca-field textarea,
.da-dmca-field select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    font: inherit;
    color: inherit;
    background: var(--wp--preset--color--surface, transparent);
    border: 1px solid currentColor;
    border-radius: .35rem;
    padding: .7rem .8rem;
}

.da-dmca-field textarea {
    resize: vertical;
}

.da-dmca-help {
    display: block;
    margin-top: .35rem;
    font-size: .9em;
    opacity: .75;
}

.da-dmca-checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: .65rem;
    cursor: pointer;
}

.da-dmca-checkbox input {
    margin-top: .3em;
}

.da-dmca-submit button {
    cursor: pointer;
    font: inherit;
}

.da-dmca-notice {
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    border-left: 4px solid currentColor;
}

.da-dmca-success {
    background: rgba(0, 128, 0, .08);
}

.da-dmca-error {
    background: rgba(180, 0, 0, .08);
}


/* Keep the editor preview visually faithful to the public form without making
 * the preview controls interactive inside the block editor. */
.da-dmca-editor-preview .da-dmca-form {
    pointer-events: none;
}

.da-dmca-editor-preview {
    min-height: 1px;
}
