body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

h1 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.input-section {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

input[type="number"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #0056b3;
}

.result-section {
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 1.2em;
    color: #333;
}

.result-section span {
    font-weight: bold;
    color: #007bff;
}

hr {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 30px 0;
}


.clear-button {
    background-color: #dc3545; /* Red color for clear */
    margin-top: 25px; /* Add some space above it */
}

.clear-button:hover {
    background-color: #c82333;
}


.info-section {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left; /* Align text within info section to left */
    color: #495057;
    line-height: 1.6;
}

.info-section h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center; /* Center the heading within the info section */
}

.info-section ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 15px;
}

.info-section ul li {
    margin-bottom: 5px;
}

.info-section strong {
    color: #007bff;
}

.info-section .small-text {
    font-size: 0.9em;
    color: #6c757d;
}
