/* =========================
GENERAL
========================= */

body{
    font-family:Arial,sans-serif;
    margin:0;
    background:#f4f8fc;
    color:#222;
}

/* =========================
HEADER
========================= */

.tool-header{
    background:#ffffff;
    position:sticky;
    top:0;
    z-index:999;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 5px 18px rgba(0,0,0,.06);
}

.tool-header-container{
    max-width:1200px;
    margin:auto;
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.tool-logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.tool-logo img{
    width:42px;
    height:42px;
}

.tool-logo span{
    font-size:24px;
    font-weight:700;
    color:#111827;
}

.back-home{
    padding:12px 22px;
    border-radius:30px;
    border:2px solid #2563eb;
    color:#2563eb;
    background:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.back-home:hover{
    background:linear-gradient(135deg,#2563eb,#22c55e);
    color:#fff;
    border-color:transparent;
}

/* =========================
HERO
========================= */

.hero{
    padding:60px 20px;
    text-align:center;
    background:linear-gradient(135deg,#2563eb,#22c55e);
    color:#fff;
}

.hero h1{
    margin:0;
    font-size:48px;
}

.hero p{
    margin-top:15px;
    font-size:18px;
}

/* =========================
MAIN WRAPPER
========================= */

.wrap{
    max-width:900px;
    margin:40px auto;
    padding:0 20px;
}

/* =========================
UPLOAD BOX
========================= */

.upload{
    background:#fff;
    padding:35px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 20px rgba(0,0,0,.10);
}

.upload input{
    margin:20px auto;
    display:block;
}

.upload img{
    max-width:100%;
    border-radius:12px;
    margin:20px auto;
}

/* =========================
BUTTONS
========================= */

button{
    display:block;
    margin:20px auto;
    padding:14px 28px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:30px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

button:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

/* Download Button */

#download{
    display:none;
    width:max-content;
    margin:20px auto;
    padding:14px 28px;
    background:#22c55e;
    color:#fff;
    text-decoration:none;
    border-radius:30px;
    transition:.3s;
}

#download:hover{
    background:#16a34a;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:768px){

.tool-header-container{
    flex-direction:column;
    gap:15px;
}

.tool-logo span{
    font-size:20px;
}

.back-home{
    width:100%;
    text-align:center;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:16px;
}

.upload{
    padding:25px;
}

}