/* RESET */
*{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

/* NỀN XANH LÁ NHẠT */
body{
    margin-top: 5%;
    background-color: #e8f5e9;   /* xanh lá nhạt */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #004d26; /* xanh đậm để nổi chữ */
}

/* NAVBAR ITEMS */
.nav-item{
    background-color: #006633;  /* xanh đậm */
    color: white;
    border: 0;
    margin-right: 10px;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.2s;
}

.nav-item:hover{
    background-color: #004d26;
}

.nav-item-active{
    background-color: #c8e6c9; /* xanh nhạt hơn navbar */
    color: #006633;
    border: 2px solid #006633;
    border-bottom: 0;   
}

/* TITLE */
.main-container h2{
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    text-decoration: none;
    color: #004d26;
    font-weight: bold;
}

.main-container h2 span{
    color: #006633;
}

/* KHUNG CONVERTER */
.container{
    padding: 15px;
    background-color: #ffffff;
    border: 2px solid #006633;  /* xanh đậm */
    border-radius: 8px;
    min-height: 300px;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.15);
}

/* TABLE */
.container table{
    border-spacing: 20px 10px;
}

/* INPUT FIELD */
.container table tr input{
    padding: 10px;
    border: 2px solid #006633;
    border-radius: 4px;
    box-shadow: none;
    font-size: 20px;
    width:95%;
    background-color: #f1f8f2; /* xanh rất nhạt */
    color: #004d26;
}

.container table tr input:disabled{
    background-color: #e0f2e9;
    color: #004d26;
}

/* SELECT BOX */
.container table tr select{
    width:100%;
    padding: 6px;
    border: 2px solid #006633;
    border-radius: 4px;
    background-color: #f1f8f2;
    font-size: 16px;
    color: #004d26;
}

/* REMOVE NUMBER ARROWS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* RESULT */
.result{
    text-align: center;
    font-weight: bold;
    color: #006633;
}

.result > p > b{
    color: red;
    font-weight: 700;
}
