.gilfb-customer-form {
    box-sizing: border-box;
    margin: 16px 0 12px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
}

.gilfb-customer-form h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.gilfb-customer-form > p {
    margin: 0 0 14px;
    color: #666;
    font-size: 14px;
}

.gilfb-field {
    margin: 0 0 12px;
}

.gilfb-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.gilfb-field input[type="text"],
.gilfb-field input[type="file"],
.gilfb-field textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.gilfb-field textarea {
    resize: vertical;
}

.gilfb-image-adjustments {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background: #fafafa;
}

.gilfb-image-adjustments legend {
    padding: 0 4px;
    font-weight: 700;
}

.gilfb-adjustment {
    display: grid;
    gap: 5px;
    margin: 0;
}

.gilfb-image-adjustment-help {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.gilfb-adjustment label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    font-size: 13px;
}

.gilfb-adjustment output {
    color: #666;
    font-variant-numeric: tabular-nums;
}

.gilfb-adjustment input[type="range"] {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}

.gilfb-reset-image-adjustments {
    justify-self: start;
    margin-top: 2px;
}

.gilfb-status {
    min-height: 18px;
    margin: 8px 0 0 !important;
    color: #444;
}

.goinvite-lumise-editor-button.gilfb-is-busy {
    opacity: .65;
    pointer-events: none;
}

/* Do not depend on a theme's plain-link styling for this primary action. */
#goinvite-builder .gilfb-lumise-editor-action {
    display: flex;
    justify-content: center;
    margin: 18px 0 0;
}

#goinvite-builder a.gilfb-lumise-editor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid #111111;
    border-radius: 6px;
    background: #111111;
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

#goinvite-builder a.gilfb-lumise-editor-button:hover,
#goinvite-builder a.gilfb-lumise-editor-button:focus-visible {
    border-color: #333333;
    background: #333333;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* This extension supplies its own Lumise preview. Hide the decorative camera
 * island from the legacy phone shell, which otherwise overlaps site menus on
 * narrow product layouts. The underlying Image Builder is not modified. */
#goinvite-builder .goinvite-phone-island {
    display: none !important;
}

.gilfb-order-editor-actions {
    margin: 28px 0;
}

.gilfb-order-download-button {
    margin: 0 8px 8px 0;
}
