body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px 0;
}
.container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 350px;
}
#logo {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 300px;
}
h2 {
    text-align: center;
    margin-top: 0;
}
label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
input[type="text"] {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 38px; /* Explicit height */
}
.currency-inputs {
    display: flex;
    gap: 10px;
}
.currency-inputs > div {
    flex: 1;
}
.input-with-button {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Apply margin to the container */
}

.input-with-button input {
    flex-grow: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -1px; /* Overlap borders */
    margin-bottom: 0; /* Remove individual margin */
}

#refreshRate {
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 38px; /* Match input height */
    box-sizing: border-box; /* Include padding and border in height */
}
hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}
.results {
    margin-top: 20px;
}
.results h3 {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.results p {
    margin: 8px 0;
    padding: 8px;
    background-color: #e9e9e9;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}
