.dg-imu {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.dg-imu-form {
    width: 100%;
}

.dg-imu-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.dg-imu-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dg-imu-field-label {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

.dg-imu-text {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #c3c4c7;
    border-radius: 10px;
    background: #fff;
    color: #1d2327;
    box-sizing: border-box;
}

.dg-imu-text:focus {
    border-color: #2271b1;
    outline: 0;
    box-shadow: 0 0 0 1px #2271b1;
}

.dg-imu-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    padding: 24px;
    border: 2px dashed #b9c3cf;
    border-radius: 18px;
    background: #f7f9fc;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
    box-sizing: border-box;
}

.dg-imu-dropzone:hover,
.dg-imu-dropzone.is-dragover,
.dg-imu-dropzone:focus {
    border-color: #2271b1;
    background: #eef5fb;
    outline: 0;
}

.dg-imu-input {
    display: none !important;
}

.dg-imu-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #1d2327;
}

.dg-imu-subtitle,
.dg-imu-note {
    color: #50575e;
    line-height: 1.5;
}

.dg-imu-note {
    font-size: 14px;
}

.dg-imu-pick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #2271b1;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.dg-imu-files,
.dg-imu-status,
.dg-imu-actions,
.dg-imu-captcha {
    margin-top: 14px;
}

.dg-imu-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dg-imu-files-empty {
    color: #6b7280;
    font-size: 14px;
}

.dg-imu-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2f6;
    color: #1d2327;
    font-size: 14px;
    max-width: 100%;
}

.dg-imu-file-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.dg-imu-file-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d9e2ec;
    color: #1d2327;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.dg-imu-file-remove:hover {
    background: #c7d2de;
}

.dg-imu-file-remove:focus {
    outline: 0;
    box-shadow: 0 0 0 1px #2271b1;
}

.dg-imu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dg-imu-submit,
.dg-imu-reset {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.dg-imu-submit {
    background: #2271b1;
    color: #fff;
}

.dg-imu-submit:hover:not(:disabled),
.dg-imu-reset:hover:not(:disabled) {
    transform: translateY(-1px);
}

.dg-imu-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.dg-imu-reset {
    background: #eef2f6;
    color: #1d2327;
}

.dg-imu-reset[hidden] {
    display: none !important;
}

.dg-imu-status {
    min-height: 24px;
    font-weight: 600;
    color: #1d2327;
}

.dg-imu-status.is-success {
    color: #008a20;
}

.dg-imu-status.is-error {
    color: #b32d2e;
}

.dg-imu-status.is-loading {
    color: #2271b1;
}

.dg-imu-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 640px) {
    .dg-imu-fields {
        grid-template-columns: 1fr;
    }

    .dg-imu-dropzone {
        min-height: 180px;
        padding: 18px;
        border-radius: 14px;
    }

    .dg-imu-title {
        font-size: 20px;
    }

    .dg-imu-actions {
        flex-direction: column;
    }

    .dg-imu-submit,
    .dg-imu-reset {
        width: 100%;
    }
}


.dg-imu-field-full {
    grid-column: 1 / -1;
}

.dg-imu-textarea {
    min-height: 110px;
    resize: vertical;
}
