/* GP26 File Manager — standalone forms, matching GP26 theme form design. */
.gp26fm-form {
    margin: 0;
    font-family: inherit;
}
.gp26fm-form label {
    font-family: inherit;
}
.gp26fm-form label {
    display: block;
    margin: 0 0 0.5em;
    font-weight: 600;
    line-height: 1.4;
}
.gp26fm-form input[type="text"],
.gp26fm-form input[type="email"],
.gp26fm-form input[type="tel"],
.gp26fm-form input:not([type]),
.gp26fm-form input[type="file"],
.gp26fm-form textarea,
.gp26fm-form select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.65em 0.8em;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-weight: 400;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
}
.gp26fm-form textarea {
    min-height: 9em;
    resize: vertical;
}
.gp26fm-form input::placeholder,
.gp26fm-form textarea::placeholder {
    color: #999;
    opacity: 1;
}
.gp26fm-form input:focus,
.gp26fm-form textarea:focus,
.gp26fm-form select:focus {
    outline: 2px solid #df8b24;
    outline-offset: 1px;
}
.gp26fm-form .gp-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5em;
    margin-bottom: 1.5em;
}
.gp26fm-form .gp-form-field {
    min-width: 0;
    margin-bottom: 1.5em;
}
.gp26fm-form .gp-form-row .gp-form-field {
    margin-bottom: 0;
}
.gp26fm-form h3 {
    margin: 2em 0 1.25em;
    padding-bottom: 0.65em;
    border-bottom: 1px solid #d6d6d6;
    font-weight: 700;
}
.gp26fm-form h3:first-of-type {
    margin-top: 0;
}
.gp26fm-form .gp-form-help {
    margin: 0.5em 0 0;
    line-height: 1.5;
}
.gp26fm-form .gp-form-submit {
    margin-top: 1.5em;
    padding-top: 1em;
    border-top: 1px solid #d6d6d6;
}
.gp26fm-form .gp-form-submit button {
    width: auto;
    padding: 0.8em 1.8em;
    border: 0;
    border-radius: 0;
    background: #bd272d;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}
.gp26fm-form .gp-form-submit button:hover,
.gp26fm-form .gp-form-submit button:focus {
    background: #333;
}
.gp26fm-form .gp-form-submit button:disabled {
    opacity: 0.6;
    cursor: wait;
}
.gp26fm-form .gp26fm-progress,
.gp26fm-form .gp26fm-message {
    margin: 1em 0;
}
@media screen and (min-width: 768px) {
    .gp26fm-form .gp-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.25em;
        row-gap: 1.5em;
    }
}

/* Shared drag-and-drop uploader: Send Files and Request a Quote. */
.gp26fm-form .gp26fm-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    min-height: 9em;
    padding: 1.5em;
    border: 2px dashed #b9b9b9;
    background: #fafafa;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.gp26fm-form .gp26fm-dropzone:hover,
.gp26fm-form .gp26fm-dropzone:focus-within,
.gp26fm-form .gp26fm-dropzone.is-dragging {
    border-color: #bd272d;
    background: #fff6f6;
}
.gp26fm-form .gp26fm-dropzone:focus-visible {
    outline: 2px solid #df8b24;
    outline-offset: 2px;
}
.gp26fm-form .gp26fm-dropzone span {
    color: #666;
    font-size: 0.9em;
}
.gp26fm-form .gp26fm-dropzone .gp26fm-native-file {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.gp26fm-form .gp26fm-dropzone.is-busy {
    opacity: 0.7;
    cursor: wait;
}
.gp26fm-form .gp26fm-file-list {
    margin-top: 0.75em;
}
.gp26fm-form .gp26fm-file-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5em 1em;
    padding: 0.8em 0;
    border-bottom: 1px solid #dedede;
}
.gp26fm-form .gp26fm-file-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
}
.gp26fm-form .gp26fm-file-info span {
    color: #666;
    font-size: 0.85em;
}
.gp26fm-form .gp26fm-remove {
    padding: 0.3em 0.5em;
    border: 0;
    background: transparent;
    color: #bd272d;
    text-decoration: underline;
    cursor: pointer;
}
.gp26fm-form .gp26fm-remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.gp26fm-form .gp26fm-file-item progress {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    height: 0.45em;
    accent-color: #bd272d;
}

/* Explicitly match the GP26 theme typography on plugin controls. */
.gp26fm-form,
.gp26fm-form label,
.gp26fm-form input,
.gp26fm-form textarea,
.gp26fm-form select,
.gp26fm-form button {
    font-family: 'Noto Sans', sans-serif;
}
