body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:#f4f7fb;
}

.hero{
background:linear-gradient(135deg,#007cf0,#00dfd8);
color:white;
text-align:center;
padding:50px 20px;
}

.container{
width:760px;
margin:auto;
margin-top:-30px;
}

.card{
background:white;
padding:30px;
margin-bottom:25px;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

h2{
margin-top:0;
}

/* METRIC / US BUTTONS */

.unitTabs{
display:flex;
gap:10px;
margin-bottom:15px;
}

.unitTabs button{
flex:1;
padding:10px;
border:none;
background:#e5e5e5;
border-radius:6px;
cursor:pointer;
font-weight:bold;
transition:0.3s;
}

.unitTabs button:hover{
background:#007cf0;
color:white;
}

/* INPUT GRID */

.inputGrid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

label{
font-weight:600;
display:block;
margin-bottom:5px;
}

input,select{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
}

/* ACTIVITY */

.activity label{
display:block;
margin:6px 0;
cursor:pointer;
}

/* BUTTONS */

.btn-primary{
background:#007cf0;
color:white;
border:none;
padding:12px;
width:100%;
margin-top:15px;
border-radius:6px;
cursor:pointer;
font-size:15px;
}

.btn-primary:hover{
background:#0066cc;
}

.btn-secondary{
background:#e0e0e0;
border:none;
padding:12px;
width:100%;
margin-top:10px;
border-radius:6px;
cursor:pointer;
}

/* RESULT */

.resultHeader{
background:#4c7f2a;
color:white;
padding:8px;
margin-bottom:10px;
}

.resultRow{
display:flex;
border:1px solid #cbd5b1;
margin-bottom:6px;
}

.label{
width:50%;
background:#f2f2f2;
padding:15px;
font-weight:600;
}

.value{
width:50%;
background:#e7f0d8;
padding:15px;
text-align:center;
font-size:20px;
font-weight:bold;
}

.sub{
font-size:12px;
color:#666;
}

.unit{
font-size:12px;
font-weight:normal;
}

/* ZIGZAG TABLE */

.schedule{
width:100%;
border-collapse:collapse;
margin-top:15px;
}

.schedule th{
background:#007cf0;
color:white;
padding:10px;
}

.schedule td{
border:1px solid #ddd;
padding:10px;
text-align:center;
}

.schedule tr:nth-child(even){
background:#f2f6ff;
}

/* CONVERTER */

.converter{
display:flex;
gap:10px;
align-items:center;
flex-wrap:wrap;
}

.converter input{
width:120px;
}

.converter select{
width:180px;
}