.wm-wrap { max-width: 100%; margin: 0 auto; }

.wm-dropzone {
    width: 100%;
    box-sizing: border-box;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    color: #6b7280;
    transition: border-color 0.15s, background 0.15s;
}
.wm-dropzone:hover,
.wm-dropzone.drag-over {
    border-color: #10b981;
    background: #f0fdf9;
    color: #10b981;
}
.wm-dropzone-text {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}
.wm-dropzone-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #9ca3af;
}

.wm-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
}
.wm-file-name {
    font-weight: 600;
    color: #1e2a4a;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wm-file-pages {
    color: #6b7280;
    font-size: 12px;
    white-space: nowrap;
}

.inv-col input[type="color"] {
    width: 100%;
    height: 40px;
    padding: 4px;
    cursor: pointer;
}
.wm-coloris-input {
    cursor: pointer;
}
.inv-col input[type="range"] {
    width: 100%;
    accent-color: #10b981;
    margin-top: 6px;
}

/* =============================================
   SHARED CLASSES (kept self-contained, same as
   cv-generator.css pattern, so this tool doesn't
   depend on pdf.css for these)
   ============================================= */
.inv-card {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 14px;
}
.inv-card h2 {
    font-size: 16px;
    margin-bottom: 14px;
    color: #1e2a4a;
    border-bottom: 2px solid #10b981;
    padding-bottom: 8px;
}
.inv-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.inv-col { flex: 1; min-width: 200px; }
.inv-col label { display: block; font-size: 13px; margin-bottom: 4px; color: #4b5563; }
.inv-col input[type="text"], .inv-col select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.inv-col input:focus, .inv-col select:focus { outline: none; border-color: #10b981; }

.inv-logo-remove {
    display: inline-block;
    background: none;
    border: 1px solid #dc2626;
    color: #dc2626;
    font-size: 12px;
    line-height: 1.4;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}
.inv-logo-remove:hover { background: #fef2f2; }

.inv-actionbar { display: flex; gap: 12px; flex-wrap: nowrap; overflow-x: auto; }
.inv-btn {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.inv-btn:hover { background: #0da271; }
.inv-btn-outline {
    background: #fff;
    color: #10b981;
    border: 1px solid #10b981;
}
.inv-btn-outline:hover { background: #f0fdf9; }

.inv-post-actions { display: none; }
.inv-post-actions.show { display: contents; }

.inv-disclaimer {
    font-size: 12px;
    color: #6b7280;
    margin-top: 16px;
    line-height: 1.5;
}
.inv-inline-message {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #b91c1c;
    font-size: 13px;
}