
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Roboto:wght@400&display=swap');


body {
    font-family: 'Roboto', sans-serif;  
    background-color: #003366; 
    color: #003366; 
    text-align: center;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
}


.app-container {
    max-width: 400px;
    margin: 20px auto;
    background: white;
    border: 7px solid #FF7F32;
    padding: 30px;
    width: 400px; 
    height: 400px;
}


h1 {
    font-family: 'Montserrat', sans-serif; 
    font-size: 28px;
    font-weight: 600;
    color: #003366; 
    margin-bottom: 20px;
}


.converter-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start; 
}


label {
    font-size: 16px;
    font-weight: 500;
    color: #003366; 
    align-self: flex-start; 
}


input, select {
    padding: 12px;
    font-size: 16px;
    border: 2px solid #00A9E0; 
    border-radius: 8px;
    background-color: #ffffff;
    width: 100%;  
    box-sizing: border-box; 
    transition: border-color 0.3s ease-in-out;
}


#amount-input {
    width: 100%;  
}


input:focus, select:focus {
    border-color: #fe942b; 
    outline: none;
}


#convert-btn {
    background-color: #fe942b;
    color: white;
    padding: 14px;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s;
}

#convert-btn:hover {
    background-color: #ff6a00eb; 
    transform: scale(1.05);
}

#convert-btn:active {
    transform: scale(1);
}


.result-box {
    font-size: 20px;
    font-weight: bold;
    margin-top: 40px;
    color: #003366; 
    padding: 20px;
    background-color: white; 
    border: 4px solid #FF7F32; 
    width: 90%;  
    margin: 0 auto;  
    display: none; 
    text-align: center;  
    box-sizing: border-box; 
}


.result-box.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


#converted-amount {
    font-size: 24px;
    color: #003366; 
    font-weight: 700;
}


@media (max-width: 600px) {
    .result-box {
        font-size: 16px;
        padding: 15px;
    }
    #converted-amount {
        font-size: 18px;
    }
}
