/* PrintPosters Collage Maker — Custom Designer panel (#panel-custom) */
#panel-custom { overflow-x: hidden; max-width: 100%; box-sizing: border-box; }
#panel-custom *, #panel-custom *::before, #panel-custom *::after { box-sizing: border-box; }
.custom-status {
background: linear-gradient(180deg, #1f1f23, #18181b);
border: 1px solid #3f3f46; border-radius: 12px; padding: 12px; margin-bottom: 12px; overflow: hidden;
}
.custom-status-main { font-size: 13px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.custom-status-meta { margin-top: 4px; font-size: 11px; color: #a1a1aa; line-height: 1.35; overflow-wrap: anywhere; }
.custom-count-chips {
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px;
}
#panel-custom button.custom-count-chip {
width: 100% !important; height: auto !important; margin: 0 !important; padding: 8px 4px !important;
background: #27272a !important; color: #e4e4e7 !important; border: 1px solid #3f3f46 !important;
border-radius: 8px !important; font-size: 12px !important; font-weight: 700 !important;
cursor: pointer; box-shadow: none !important; text-transform: none !important;
}
#panel-custom button.custom-count-chip.active {
border-color: #8b5cf6 !important; color: #fff !important; background: rgba(139,92,246,0.2) !important;
}
.custom-count-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
#panel-custom #customCount {
flex: 0 0 72px; width: 72px; background: #111; border: 1px solid #3f3f46; color: #fff;
border-radius: 8px; padding: 8px; font-size: 13px;
}
#panel-custom button.custom-use-photos {
flex: 1 1 auto; min-width: 0; height: auto !important; margin: 0 !important; padding: 8px 10px !important;
background: rgba(139,92,246,0.12) !important; border: 1px solid rgba(139,92,246,0.4) !important;
color: #ddd6fe !important; border-radius: 8px !important; font-size: 11px !important; font-weight: 600 !important;
cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
box-shadow: none !important; text-transform: none !important;
}
.custom-actions-top, .custom-actions-bottom {
display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px;
}
#panel-custom button.custom-hero-btn {
width: 100% !important; height: auto !important; margin: 0 !important; padding: 12px 8px !important;
background: linear-gradient(135deg, #7c3aed, #a855f7) !important; color: #fff !important;
border: none !important; border-radius: 10px !important; font-size: 12px !important; font-weight: 700 !important;
cursor: pointer; display: flex !important; align-items: center; justify-content: center; gap: 6px;
box-shadow: 0 4px 12px rgba(124,58,237,0.28) !important; text-transform: none !important;
}
#panel-custom button.custom-save-btn,
#panel-custom button.custom-edit-btn {
width: 100% !important; height: auto !important; margin: 0 !important; padding: 12px 8px !important;
background: #27272a !important; color: #e4e4e7 !important; border: 1px solid #3f3f46 !important;
border-radius: 10px !important; font-size: 12px !important; font-weight: 600 !important;
cursor: pointer; display: flex !important; align-items: center; justify-content: center; gap: 6px;
box-shadow: none !important; text-transform: none !important;
}
#panel-custom button.custom-fill-btn {
width: 100% !important; height: auto !important; margin: 0 !important; padding: 12px 8px !important;
justify-content: center !important;
}
#panel-custom .custom-fit-grid,
#panel-custom .custom-layout-grid {
margin-bottom: 12px;
}
#panel-custom .custom-fit-grid .layout-card,
#panel-custom .custom-layout-grid .layout-card {
cursor: pointer;
}
#panel-custom .magic-layout-btn {
width: 100% !important; height: auto !important; margin: 0 !important;
box-shadow: none;
}
.custom-template-grid {
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
max-height: 280px; overflow-y: auto; overflow-x: hidden; padding-right: 2px; margin-top: 8px;
}
#panel-custom .tpl-item {
width: 100%; min-width: 0; aspect-ratio: auto; min-height: 88px; padding: 6px;
overflow: hidden; border: 1px solid #3f3f46; border-radius: 10px; background: #18181b;
}
#panel-custom .tpl-item.active-layout {
border-color: #8b5cf6; box-shadow: 0 0 0 1px #8b5cf6;
}
#panel-custom .tpl-preview {
width: 100%; height: 56px; position: relative; border-radius: 6px; overflow: hidden;
background: #111; pointer-events: none;
}
#panel-custom .tpl-name {
display: flex; justify-content: space-between; align-items: center; gap: 4px;
margin-top: 6px; min-width: 0;
}
#panel-custom .tpl-name span {
font-size: 9px; color: #a1a1aa; font-weight: 600; text-transform: uppercase;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
#panel-custom button.tpl-del {
width: auto !important; height: auto !important; padding: 2px 4px !important; margin: 0 !important;
background: transparent !important; border: none !important; color: #f87171 !important;
font-size: 10px !important; cursor: pointer; box-shadow: none !important;
}
.custom-gallery-pager {
display: flex; justify-content: space-between; align-items: center; gap: 8px;
margin-top: 8px; font-size: 11px; color: #a1a1aa;
}
#panel-custom button.custom-page-btn {
width: auto !important; height: auto !important; margin: 0 !important; padding: 6px 10px !important;
background: #27272a !important; border: 1px solid #3f3f46 !important; color: #e4e4e7 !important;
border-radius: 8px !important; font-size: 11px !important; cursor: pointer; box-shadow: none !important;
}
.custom-editor-tools {
margin-top: 16px; padding-top: 14px; border-top: 1px solid #333;
}
.custom-tool-grid {
display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
}
#panel-custom button.custom-tool-btn {
width: 100% !important; height: auto !important; margin: 0 !important; padding: 10px 6px !important;
background: #27272a !important; border: 1px solid #3f3f46 !important; color: #e4e4e7 !important;
border-radius: 8px !important; font-size: 11px !important; font-weight: 600 !important;
cursor: pointer; display: flex !important; align-items: center; justify-content: center; gap: 6px;
box-shadow: none !important; text-transform: none !important;
}
#panel-custom button.custom-tool-btn.active {
border-color: #8b5cf6 !important; background: rgba(139,92,246,0.18) !important; color: #fff !important;
}
.custom-hint {
margin: 10px 0 0; font-size: 11px; line-height: 1.4; color: #a1a1aa; overflow-wrap: anywhere;
}
#customSlotZoom { width: 100%; }
\n