*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:20px;
background:#0F172A;

background-image:
linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);

background-size:30px 30px;
}

.container{
width:100%;
max-width:750px;
background:#111827;
padding:30px;
border-radius:20px;
border:1px solid #3B82F6;
box-shadow:0 0 25px rgba(59,130,246,0.20);
}

h1{
text-align:center;
color:#3B82F6;
margin-bottom:10px;
font-size:32px;
font-weight:700;
letter-spacing:1px;
}

.subtitle{
text-align:center;
color:#94A3B8;
margin-bottom:25px;
font-size:15px;
}

textarea{
width:100%;
height:150px;
padding:15px;
background:#1E293B;
border:1px solid #3B82F6;
border-radius:12px;
color:white;
font-size:16px;
resize:none;
outline:none;
transition:.3s;
}

input{
width:100%;
padding:14px;
margin-top:15px;
background:#1E293B;
border:1px solid #3B82F6;
border-radius:12px;
color:white;
font-size:16px;
outline:none;
transition:.3s;
}

textarea:focus,
input:focus{
border-color:#60A5FA;
box-shadow:0 0 10px rgba(59,130,246,.25);
}

.buttons{
display:flex;
gap:10px;
margin-top:20px;
}

button{
flex:1;
padding:14px;
border:none;
border-radius:12px;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:.3s;
}

button:hover{
transform:translateY(-3px);
}

/* Encrypt Button - Blue */
.encrypt-btn{
background:#2563EB;
color:white;
}

.encrypt-btn:hover{
background:#1D4ED8;
}

/* Decrypt Button - Neon Green */
.decrypt-btn{
background:#00FF99;
color:black;
font-weight:700;
box-shadow:0 0 15px rgba(0,255,153,0.4);
}

.decrypt-btn:hover{
background:#00E68A;
box-shadow:0 0 25px rgba(0,255,153,0.6);
}

/* Clear Button - Red */
.clear-btn{
background:#DC2626;
color:white;
}

.clear-btn:hover{
background:#B91C1C;
}

.output-box{
margin-top:20px;
background:#1E293B;
padding:15px;
border-radius:12px;
border-left:5px solid #3B82F6;
}

.output-box h3{
color:#60A5FA;
margin-bottom:10px;
font-size:18px;
font-weight:600;
}

.output-box p{
color:#F8FAFC;
word-wrap:break-word;
line-height:1.6;
}

@media(max-width:600px){

.container{
padding:20px;
}

.buttons{
flex-direction:column;
}

h1{
font-size:24px;
}

textarea{
height:120px;
}

}