/* Reset styles for the currency converter widget to prevent conflicts */
.currency-converter-widget, .currency-converter-widget div, .currency-converter-widget h1, .currency-converter-widget h2, .currency-converter-widget input, .currency-converter-widget select, .currency-converter-widget a {
    box-sizing: border-box;
    margin: 4px;
}

/* Widget container */
.currency-converter-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    padding: 20px; /* Add padding for spacing */
    box-sizing: border-box;
}

/* Exchange rate section */
.currency-converter-widget .exchange-rate {
    background-color: #04E1E9; 
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px; /* Add margin for spacing */
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.currency-converter-widget .exchange-rate h2 {
    font-size: 0.8rem; 
    margin: 0;
}

.currency-converter-widget .exchange-rate h1 {
    font-size: 1.5rem; 
    margin: 0;
}

/* Row styling for currency inputs/selects */
.currency-converter-widget .row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 10px; /* Adjust margin for spacing */
    box-sizing: border-box;
}

.currency-converter-widget input, .currency-converter-widget select {
    margin: 0;
    padding: 10px;
    font-size: 1rem;
    width: 50%; /* Adjust width for better alignment */
    box-sizing: border-box;
    height: 40px;
    color: #000000;
}

.currency-converter-widget select {
    background-color: #04E1E9;
}


/* Rate for amount display section */
.currency-converter-widget .rate-for-amount h1 {
    font-size: 1.0rem; 
    margin-top: 16px;
}

.button {
    display: inline-block;
    width: 100%;         
    margin-top: 14px;/* Make the button 75% of its parent width */
    padding: 12px 24px;      /* Add some padding for better appearance */
    text-align: center;      /* Center the text inside the button */
    text-decoration: none !important;   /* Remove underline from the text */
    color: black;            /* Set text color to black */
    background-color: #04E1E9; 
    border: 1px solid #000; /* Add a border if needed, customize color */
    border-radius: 5px;      /* Optional: rounded corners for the button */
    box-sizing: border-box;  /* Ensure padding and border are included in width */
}

.button:hover {
    color: black;            /* Keep text color black even on hover */
    background-color: #0B7A75; 
    border-color: #000;      /* Ensure border remains consistent on hover */
}