.tool-container{
    max-width:1060px;
    margin:40px auto;
    padding:15px;
}

.tool-title{
    text-align:center;
    font-size:28px;
    font-weight:700;
}
.seo-content{
    margin-top:25px;
    font-size:14px;
    line-height:1.7;
    color:#444;
}
.tool-desc{
    text-align:center;
    color:#666;
    margin-bottom:25px;
}

.tool-card{
    background:#fff;
    border-radius:10px;
    padding:25px;
    box-shadow:0 3px 12px rgba(0,0,0,0.08);
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:15px;
    margin:15px 0;
}

input{
    width:100%;
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
}

.tool-btn{
    width:100%;
    background:#0b5ed7;
    color:#fff;
    border:none;
    padding:14px;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
}

.tool-btn:hover{
    background:#084298;
}

.checkbox{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:15px;
}

.loader{
    margin:20px auto;
    width:35px;
    height:35px;
    border:4px solid #ddd;
    border-top:4px solid #0b5ed7;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{transform:rotate(360deg);}
}

.result-img{
    max-width:100%;
    margin-top:20px;
}
.tool-container{max-width:1060px;margin:40px auto;padding:15px}
.tool-card{background:#fff;padding:25px;border-radius:10px;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}
.tool-btn{background:#0b5ed7;color:#fff;border:none;padding:12px;border-radius:6px;width:100%}
.loader{width:30px;height:30px;border:4px solid #ddd;border-top:4px solid #0b5ed7;border-radius:50%;animation:spin 1s linear infinite;margin:auto}
@keyframes spin{100%{transform:rotate(360deg)}}
.result-img{max-width:100%}
.breadcrumb{margin:10px 0;color:#777;font-size:14px}
.action-buttons{
    display:flex;
    gap:15px;
    margin-top:15px;
}

.tool-btn.red{
    background:#dc3545;
}

.tool-btn.green{
    background:#198754;
}

.tool-btn.red:hover{
    box-shadow:0 6px 18px rgba(220,53,69,.35);
}

.tool-btn.green:hover{
    box-shadow:0 6px 18px rgba(25,135,84,.35);
}

@media(max-width:600px){
.action-buttons{
    flex-direction:column;
}
}


/* =====================
   TOOLS GRID LAYOUT
===================== */

.tools-wrapper{
    max-width:1200px;
    margin:25px auto;
    display:grid;
    grid-template-columns:160px 1fr 160px;
    gap:20px;
    padding:10px;
}

/* MAIN TOOL AREA */
.tools-main{
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.06);
}

/* ADS */
.tools-ad{
    position:sticky;
    top:90px;
    height:fit-content;
}

.ad-box{
    background:#f1f3f5;
    border:1px dashed #ccc;
    text-align:center;
    padding:20px 10px;
    font-size:14px;
    color:#777;
    border-radius:8px;
}

/* TITLE */
.tool-title{
    font-size:22px;
    margin-bottom:5px;
    text-align:center;
}

/* CARD */
.tool-card{
    margin-top:15px;
}

/* RESULT IMAGE */
.result-img{
    max-width:260px;
    display:block;
    margin:auto;
    border-radius:6px;
}

/* BUTTON SMALL */
.tool-btn{
    padding:10px;
    font-size:14px;
}

/* MOBILE */
@media(max-width:1000px){

.tools-wrapper{
    grid-template-columns:1fr;
}

.tools-ad{
    display:none;
}

}
/* ===== Upload Box ===== */

.upload-box{
    text-align:center;
    margin-bottom:15px;
}

.preview-img{
    max-width:140px;
    border-radius:6px;
    margin-top:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

/* ===== Two Column Layout ===== */

.resize-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.resize-card{
    background:#fafafa;
    padding:15px;
    border-radius:8px;
    border:1px solid #eee;
    text-align:center;
}

.resize-card h3{
    font-size:16px;
    margin-bottom:10px;
}

.resize-card input{
    width:100%;
    padding:9px;
    margin-bottom:10px;
}

/* BUTTON COLORS */

.tool-btn.red{
    background:#dc3545;
}

.tool-btn.green{
    background:#198754;
}

/* MOBILE */

@media(max-width:700px){
.resize-columns{
    grid-template-columns:1fr;
}
}
/* ===== Separate Tool Sections ===== */

.tool-section{
    margin-top:20px;
    padding:18px;
    border-radius:10px;
    background:#fafafa;
    border:1px solid #e6e6e6;
}

.tool-section h2{
    font-size:18px;
    margin-bottom:6px;
}

.tool-info{
    font-size:14px;
    color:#555;
    margin-bottom:10px;
}

/* Visual color identity */

.decrease-section{
    border-left:5px solid #dc3545;
}

.increase-section{
    border-left:5px solid #198754;
}
/* =========================
   TWO TOOL COLUMN LAYOUT
========================= */

.dual-tools{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:15px;
}

.tool-box{
    background:#fafafa;
    padding:18px;
    border-radius:10px;
    border:1px solid #e5e5e5;
}

.tool-box h2{
    font-size:18px;
    margin-bottom:10px;
}

/* color identity */

.decrease-box{
    border-left:5px solid #dc3545;
}

.increase-box{
    border-left:5px solid #198754;
}

/* preview */

.preview-area{
    text-align:center;
    margin:10px 0;
}

.preview-area img{
    max-width:120px;
    border-radius:6px;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

/* mobile */

@media(max-width:768px){
.dual-tools{
    grid-template-columns:1fr;
}
}
/* ===== FAQ SECTION ===== */

.faq-section{
margin-top:30px;
}

.faq-item{
background:#fafafa;
border:1px solid #eee;
padding:15px;
margin-bottom:12px;
border-radius:8px;
}

.faq-item h3{
font-size:16px;
margin-bottom:6px;
color:#222;
}
.preview-grid{
display:flex;
flex-wrap:wrap;
gap:12px;
margin-top:15px;
}

.preview-item{
width:130px;
border:1px solid #ddd;
padding:8px;
border-radius:8px;
background:#fff;
cursor:grab;
text-align:center;
}

.preview-item img{
max-width:100%;
border-radius:6px;
}

.dragging{
opacity:0.5;
}