/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 350px;
    width: 100%;
}

h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.converter {
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 6px;
    text-align: left;
}

input {
    padding: 10px;
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus {
    border-color: #00796b;
    outline: none;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #00796b;
    color: #ffffff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005f55;
}

.result {
    font-size: 18px;
    color: #00796b;
    font-weight: bold;
    margin-top: 10px;
    min-height: 24px; /* Ensures consistent spacing */
}