.tool-page{
    padding:60px 20px;
    display:flex;
    justify-content:center;
}

.container{
    width:100%;
    max-width:600px;
    background:#1f2937;
    padding:30px;
    border-radius:18px;
    box-shadow:0 14px 38px rgba(0,0,0,.25);
}

.container h1{
    text-align:center;
    color:#10b981;
    margin-bottom:20px;
}

.container input,
.container select,
.container button{
    width:100%;
    padding:12px;
    margin-top:10px;
    font-size:16px;
    box-sizing:border-box;
    border-radius:8px;
    border:1px solid #374151;
}

.container input,
.container select{
    background:#111827;
    color:white;
}

.container button{
    background:#10b981;
    color:white;
    border:none;
    cursor:pointer;
    font-weight:bold;
}

.container button:hover{
    filter:brightness(1.08);
}

.swap-btn{
    background:#2563eb !important;
}

.swap-btn:hover{
background:#1976D2;
}

.result{
margin-top:20px;
padding:20px;
background:#f8fafc;
border:2px solid #10B981;
border-radius:10px;
font-size:20px;
font-weight:bold;
text-align:center;
color:#1e293b;
line-height:1.8;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.chart-box{
margin-top:30px;
padding:25px;
background:#ffffff;
border-radius:12px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
text-align:center;
}

.chart-box h3{
margin-bottom:20px;
color:#1e293b;
}

#rateChart{
width:100%;
max-height:320px;
}

.status-bar{
margin-top:15px;
text-align:center;
font-size:15px;
font-weight:600;
color:#10B981;
}

.note{
margin-top:15px;
font-size:14px;
text-align:center;
color:#666;
}

.back{
display:block;
text-align:center;
margin-top:20px;
text-decoration:none;
color:#4CAF50;
font-weight:bold;
}