/*
|--------------------------------------------------------------------------
|
| E-Piccion
|
| "Affida il tuo messaggio a un piccione."
|
| Powered by EmojiCrypt Engine
|
|--------------------------------------------------------------------------
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#eef2f7;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color:#333;

    padding:40px;

}

.container{

    max-width:900px;

    margin:auto;

    background:#ffffff;

    border-radius:14px;

    padding:40px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.10);

}

header{

    text-align:center;

    margin-bottom:35px;

}

.logo{

    font-size:60px;

    margin-bottom:15px;

}

h1{

    font-size:42px;

    font-weight:300;

    color:#1f3c63;

    margin-bottom:10px;

}

.subtitle{

    font-size:18px;

    color:#666;

    margin-bottom:8px;

}

.engine{

    font-size:13px;

    color:#999;

}

label{

    display:block;

    margin-top:25px;

    margin-bottom:8px;

    font-weight:bold;

}

/* -------------------------------------------------
   Campi di input E-Piccion
-------------------------------------------------- */

.ep-input,
.ep-textarea{

    width:100%;

    padding:14px;

    border:1px solid #cfd8e3;

    border-radius:8px;

    font-size:16px;

    font-family:inherit;

    background:#ffffff;

    color:#333;

    transition:border-color .25s,
               box-shadow .25s;

}

.ep-input:focus,
.ep-textarea:focus{

    outline:none;

    border-color:#2d7d46;

    box-shadow:0 0 0 3px rgba(45,125,70,.15);

}

.ep-textarea{

    resize:vertical;

    min-height:180px;

}

textarea{

    min-height:180px;

}

.buttons{

    display:flex;

    gap:15px;

    margin-top:25px;

}

button{

    cursor:pointer;

    border:none;

    border-radius:8px;

    padding:14px 22px;

    font-size:16px;

    transition:.25s;

}

button:hover{

    transform:translateY(-2px);

}

button[value="encrypt"]{

    background:#2d7d46;

    color:white;

}

button[value="decrypt"]{

    background:#285f99;

    color:white;

}

.result{

    margin-top:40px;

    padding-top:30px;

    border-top:1px solid #ddd;

}

.result h2{

    margin-bottom:15px;

    color:#1f3c63;

}

#result{

    background:#fafafa;

}

.error{

    margin-top:25px;

    padding:18px;

    background:#ffe9e9;

    border-left:5px solid #c62828;

    color:#8a0000;

    border-radius:6px;

}

footer{

    margin-top:45px;

    text-align:center;

    font-size:13px;

    color:#999;

}

/* Responsive */

@media(max-width:700px){

    body{

        padding:15px;

    }

    .container{

        padding:20px;

    }

    .buttons{

        flex-direction:column;

    }

    button{

        width:100%;

    }

    h1{

        font-size:34px;

    }

    .logo{

        font-size:48px;

    }

}

    #epiccion-message{

    transition:opacity .35s;

}

.password-box{

    position:relative;

}

.password-box input{

    padding-right:55px;

}

.toggle-password{

    margin-top:10px;

    background:#f2f2f2;

    color:#333;

    border:1px solid #ccc;

    border-radius:6px;

    padding:8px 14px;

    font-size:14px;

    cursor:pointer;

}

.toggle-password:hover{

    background:#e8e8e8;

}

.install-box{

    margin-top:40px;

    text-align:center;

}

.progress{

    width:100%;

    height:28px;

    background:#ddd;

    border-radius:20px;

    overflow:hidden;

    margin:30px 0;

}

.bar{

    width:0;

    height:100%;

    background:#2d7d46;

    transition:width .30s;

}
