/* ONETOOLBOX - IMAGE COLLAGE MAKER */
.collage-hero{padding:42px 0 30px;text-align:center}
.tool-badge{display:inline-flex;align-items:center;gap:7px;margin-bottom:12px;padding:7px 13px;border-radius:999px;background:#f5f3ff;color:#7c3aed;font-size:12px;font-weight:800}
.collage-hero h1{margin:0 0 10px;color:#0f172a;font-size:40px;font-weight:800}
.collage-hero p{max-width:800px;margin:auto;color:#64748b;font-size:17px;line-height:1.6}
.collage-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;padding:18px;background:#fff;border:1px solid #e5e7eb;border-radius:24px;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.collage-controls{padding:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px}
.panel-title{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #e2e8f0}.panel-title h2{margin:0;color:#0f172a;font-size:20px}
.upload-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;box-sizing:border-box;border-radius:10px;background:#7c3aed;color:#fff;font-size:14px;font-weight:800;cursor:pointer}.upload-btn:hover{background:#6d28d9}
.hint{margin:6px 0 14px;text-align:center;color:#94a3b8;font-size:11px}
.control-group{margin-bottom:14px}.control-group>label{display:block;margin-bottom:6px;color:#475569;font-size:12px;font-weight:800}
.control-group select{width:100%;height:40px;padding:0 10px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#0f172a}
.control-group input[type=range]{width:100%;height:8px;display:block;margin:12px 0 6px;padding:0;appearance:none;-webkit-appearance:none;background:#dbe3ee;border-radius:999px;outline:none;cursor:pointer}
.control-group input[type=range]::-webkit-slider-runnable-track{height:8px;background:#dbe3ee;border-radius:999px}
.control-group input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin-top:-6px;border:3px solid #fff;border-radius:50%;background:#7c3aed;box-shadow:0 2px 7px rgba(0,0,0,.25);cursor:pointer}
.control-group input[type=range]::-moz-range-track{height:8px;background:#dbe3ee;border-radius:999px}
.control-group input[type=range]::-moz-range-progress{height:8px;background:#7c3aed;border-radius:999px}
.control-group input[type=range]::-moz-range-thumb{width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#7c3aed;box-shadow:0 2px 7px rgba(0,0,0,.25);cursor:pointer}
.control-group input[type=color]{width:100%;height:40px;padding:2px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;cursor:pointer}
.value{display:block;text-align:right;color:#7c3aed;font-size:11px;font-weight:700}
.ratio-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.ratio-btn{height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#475569;font-weight:700;cursor:pointer}.ratio-btn.active{background:#f5f3ff;border-color:#7c3aed;color:#7c3aed}
.image-list-wrap{margin:15px 0;border:1px solid #e2e8f0;border-radius:11px;background:#fff;overflow:hidden}.list-title{display:flex;justify-content:space-between;padding:10px 11px;border-bottom:1px solid #e2e8f0;color:#334155;font-size:12px;font-weight:800}
.image-list{max-height:175px;overflow:auto}.image-list-empty{padding:18px;text-align:center;color:#94a3b8;font-size:11px}
.image-list-item{display:flex;align-items:center;gap:8px;padding:7px 9px;border-bottom:1px solid #f1f5f9}.image-list-item:last-child{border-bottom:0}.image-list-item img{width:42px;height:42px;object-fit:cover;border-radius:6px}.image-list-item span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569;font-size:11px}.remove-image{width:28px;height:28px;border:0;border-radius:7px;background:#fef2f2;color:#dc2626;cursor:pointer}
.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tool-btn,.danger-btn{min-height:42px;border-radius:9px;font-weight:800;cursor:pointer}.tool-btn{border:1px solid #cbd5e1;background:#fff;color:#334155}.tool-btn:hover{background:#eff6ff}.danger-btn{border:1px solid #fecaca;background:#fef2f2;color:#dc2626}
.collage-preview-area{min-width:0}.preview-bar{height:42px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;color:#64748b;font-size:13px;font-weight:800}
.preview-holder{min-height:590px;margin-top:12px;padding:20px;display:flex;align-items:center;justify-content:center;overflow:auto;background:#e2e8f0;border:1px solid #cbd5e1;border-radius:18px}
#collageCanvas{display:block;max-width:100%;height:auto;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.2)}
.empty-preview{text-align:center;color:#64748b}.empty-preview i{font-size:60px;color:#c4b5fd}.empty-preview h3{margin:15px 0 5px;color:#334155}.empty-preview p{margin:0;font-size:13px}
.download-row{display:flex;gap:10px;margin-top:12px}.download-btn{flex:1;min-height:46px;border:0;border-radius:11px;background:#16a34a;color:#fff;font-weight:800;cursor:pointer}.download-btn.jpg{background:#7c3aed}.download-btn:disabled{opacity:.45;cursor:not-allowed}.download-btn:not(:disabled):hover{filter:brightness(.94)}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature-item{min-height:110px;padding:20px;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 6px 20px rgba(15,23,42,.05)}
.feature-icon{width:52px;height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:21px}.feature-icon.blue{background:#eff6ff;color:#2563eb}.feature-icon.purple{background:#f5f3ff;color:#7c3aed}.feature-icon.orange{background:#fff7ed;color:#f59e0b}.feature-icon.green{background:#f0fdf4;color:#16a34a}
.feature-item h3{margin:0 0 5px;color:#0f172a;font-size:16px}.feature-item p{margin:0;color:#64748b;font-size:13px;line-height:1.5}
.content-card{padding:30px;background:#fff;border:1px solid #e5e7eb;border-radius:24px;box-shadow:0 8px 28px rgba(15,23,42,.05)}.content-card h2{margin:0 0 25px;text-align:center;color:#0f172a;font-size:27px}
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.step{display:flex;gap:12px}.step>span{width:34px;height:34px;flex:0 0 34px;display:flex;align-items:center;justify-content:center;background:#7c3aed;color:#fff;border-radius:50%;font-weight:800}.step h3{margin:0 0 5px;color:#0f172a;font-size:16px}.step p{margin:0;color:#64748b;font-size:13px;line-height:1.6}
.faq details{margin-bottom:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.faq summary{position:relative;padding:17px 45px 17px 18px;cursor:pointer;list-style:none;color:#0f172a;font-weight:700}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";position:absolute;right:18px;color:#7c3aed;font-size:21px}.faq details[open] summary:after{content:"−"}.faq details p{margin:0;padding:0 18px 18px;color:#64748b;font-size:14px;line-height:1.7}
@media(max-width:1050px){.collage-workspace{grid-template-columns:1fr}.collage-controls{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.panel-title,.upload-btn,.hint,.image-list-wrap{grid-column:1/-1}.feature-grid,.steps-grid{grid-template-columns:repeat(2,1fr)}.preview-holder{min-height:460px}}
@media(max-width:650px){.collage-hero{padding:30px 15px 22px}.collage-hero h1{font-size:30px}.collage-workspace{padding:10px}.collage-controls{display:block;padding:14px}.preview-holder{min-height:320px;padding:10px}.feature-grid,.steps-grid{grid-template-columns:1fr}.content-card{padding:20px}.download-row{flex-direction:column}}

/* Number-of-photos slider */
.count-control{padding:10px 10px 9px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}
.count-control>label{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.count-control output{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 7px;border-radius:999px;background:#ede9fe;color:#7c3aed;font-size:11px;font-weight:900}
.collage-slider{display:block!important;width:100%!important;height:20px!important;margin:0!important;padding:0!important;appearance:auto!important;accent-color:#7c3aed!important;opacity:1!important;cursor:pointer!important}
.slider-labels{display:flex;justify-content:space-between;margin-top:1px;color:#94a3b8;font-size:9px;font-weight:700}
@media(max-width:650px){.count-control{margin-top:10px}.collage-slider{height:22px!important}}
