/* Basic page setup */
body 
{
    font-family: Arial, sans-serif;    
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Main container */
.conversion_container 
{
    margin-top: 16vh;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 350px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

/* Heading */
.conversion_container h3 
{
    margin-bottom: 20px;
    color: #333;
}

/* Input styling */
#number_input 
{
    width: 90%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s ease;
}

#number_input:focus 
{
    border-color: #d1d9e6;
}

input:focus::placeholder
{
    color: white;
}

input::-webkit-inner-spin-button, input::-webkit-outer-spin-button
{
    -webkit-appearance: none;
}

/* Buttons container */
.conversion_buttons 
{
    display: flex;
    gap: 10px;
}

/* Buttons */
.conversion_buttons button 
{
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}


/* To Words and To Currency button */
button.to_words, button.to_currency 
{
    background-color: #152642;
    color: white;
}

button.to_words:hover, button.to_currency:hover 
{
    background-color: #0A1A2F;
    transform: scale(1.03);
}

/* Result box */
#conversion_result 
{
    margin-top: 20px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: #1e3a56; 
}

/* Simple fade animation */
@keyframes fadeIn 
{
    from 
    { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to 
    { 
        opacity: 1; 
        transform: translateY(0); 
    }
}
