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

body{
background:#f5f7fb;
color:#333;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

header{
background:#1f2937;
color:#fff;
padding:40px 0;
text-align:center;
}

.tool-box{
background:#fff;
margin-top:30px;
padding:25px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.1);
}

textarea{
width:100%;
height:260px;
padding:15px;
font-size:16px;
resize:none;
border:1px solid #ddd;
border-radius:8px;
outline:none;
}

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

button{
padding:12px 30px;
border:none;
border-radius:8px;
cursor:pointer;
font-size:16px;
background:#2563eb;
color:#fff;
transition:.3s;
}

button:hover{
background:#1d4ed8;
}

.summary{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin:35px 0;
}

.card{
background:#fff;
padding:20px;
text-align:center;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.card h3{
margin-bottom:10px;
}

.result{
background:#fff;
padding:25px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
overflow-x:auto;
}

table{
width:100%;
border-collapse:collapse;
margin-top:20px;
}

table th,
table td{
padding:15px;
border-bottom:1px solid #ddd;
text-align:left;
}

table th{
background:#2563eb;
color:#fff;
}