body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f4f8;
}

.container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 500px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.input-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-section input,
.input-section select {
    width: 45%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.convert-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: green;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.convert-button:hover {
    background-color: darkgreen;
}

.result-box {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ccc;
    height: auto;
    max-height: 300px;
    overflow-y: auto;
}

.result-box table {
    width: 100%;
    border-collapse: collapse;
}

.result-box th,
.result-box td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.result-box th {
    background-color: #f1f1f1;
    font-weight: bold;
}

.result-box td {
    font-weight: normal;
}
