/* TOOL WRAPPER UPGRADE */

/* TOOL TITLE */

.tool-wrapper h1{
margin-bottom:20px;
font-size:32px;
font-weight:700;
line-height:1.15;
letter-spacing:-0.03em;
text-align:center;
color:#111827;
text-wrap:balance;
}

.tool-wrapper{
    max-width:900px;
    margin:40px auto;
    padding:28px;
    background:
        radial-gradient(circle at top right, rgba(76,124,255,0.08), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,252,255,0.98) 100%);
    border:1px solid rgba(215,223,239,0.8);
    border-radius:24px;
    box-shadow:
        0 20px 50px rgba(16,24,40,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

/* INPUT AREA */

#input{
    width:100%;
    min-height:96px;
    padding:16px 18px;
    margin-top:12px;
    font-size:17px;
    line-height:1.6;
    border:1px solid #d7ddeb;
    border-radius:18px;
    background:rgba(255,255,255,0.96);
    box-shadow:inset 0 1px 2px rgba(16,24,40,0.04);
    transition:all .2s ease;
    text-align:center;
}

#input:focus{
    border-color:#4c7cff;
    box-shadow:
        0 0 0 4px rgba(76,124,255,0.12),
        0 12px 28px rgba(76,124,255,0.08);
    outline:none;
}

/* ===== STICKY SYSTEM ===== */

.tool-wrapper{
position:relative;
}

/* INPUT STICKY */

#input{
position:sticky;
top:0;
z-index:20;
background:rgba(255,255,255,0.98);
backdrop-filter:blur(10px);
}

/* PREVIEW STICKY */

.preview-wrapper{
position:sticky;
top:90px;
z-index:15;
background:transparent;
padding-top:12px;
}
