/* ===========================
   Encrypt / Decrypt Pages
=========================== */

.tool{

    width:min(950px,92%);

    margin:40px auto;

    padding:40px;

    background:var(--surface);

    border:1px solid var(--surface-border);

    border-radius:var(--radius);

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

}

.tool h2{

    text-align:center;

    margin-bottom:10px;

    font-size:2rem;

}

.subtitle{

    text-align:center;

    color:var(--muted);

    margin-bottom:35px;

}

.form-group{

    display:flex;

    flex-direction:column;

    margin-bottom:25px;

}

.form-group label{

    margin-bottom:10px;

    font-weight:600;

}

textarea,
input{

    width:100%;

    padding:16px;

    border-radius:12px;

    border:1px solid rgba(255,255,255,.12);

    background:rgba(255,255,255,.05);

    color:white;

    font-size:16px;

    outline:none;

    transition:.3s;

}

textarea{

    resize:vertical;

    min-height:140px;

}

input{

    height:55px;

}

textarea:focus,
input:focus{

    border-color:var(--primary);

    box-shadow:

        0 0 12px rgba(59,130,246,.35);

}

textarea::placeholder,
input::placeholder{

    color:#8d8d8d;

}

.button-row{

    display:flex;

    gap:15px;

    justify-content:center;

    flex-wrap:wrap;

    margin-top:25px;

}

.button-row .btn{

    border:none;

    cursor:pointer;

    font-size:16px;

}

.pipeline{

    width:min(950px,92%);

    margin:30px auto 60px;

    padding:30px;

    background:var(--surface);

    border-radius:var(--radius);

    border:1px solid var(--surface-border);

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

}

.pipeline h3{

    margin-bottom:20px;

}

#pipelineView{

    min-height:80px;

    padding:20px;

    border-radius:10px;

    background:rgba(255,255,255,.04);

    border:1px dashed rgba(255,255,255,.15);

    color:var(--muted);

    font-family:Consolas, monospace;

    line-height:1.8;

    word-break:break-word;

}
.setting{

display:flex;

justify-content:space-between;

align-items:center;

margin:25px 0;

gap:20px;

}

.setting select{

padding:10px 15px;

border-radius:10px;

background:#222;

color:white;

border:1px solid rgba(255,255,255,.15);

}

hr{

margin:25px 0;

border:none;

height:1px;

background:rgba(255,255,255,.08);

}
/* Inputs */

input,
textarea,
select{

    color:#ffffff;

    background:#1b1b1b;

    border:1px solid rgba(255,255,255,.15);

    caret-color:#3b82f6;

}

/* Placeholder */

input::placeholder,
textarea::placeholder{

    color:#9ca3af;

    opacity:1;

}

/* Labels */

label{

    color:#ffffff;

}

/* Select */

select{

    color:#ffffff;

}

/* Option */

option{

    background:#1b1b1b;

    color:#ffffff;

}