* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.65),
        rgba(54, 10, 33, 0.55)
    ),
    url("backimgforwebpage.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.converter-container {
    background: linear-gradient(
        180deg,
        rgba(20, 10, 30, 0.75),
        rgba(10, 20, 60, 0.75)
    ),
    url("boximgforwebpage.jpg");
    background-size: cover;
    background-position: center;
    padding: 25px;
    width: 480px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45),
                inset 0 0 30px rgba(255, 255, 255, 0.05);
    color: white;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 10px;
    text-align: left;
}

input[type="number"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.currency-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.currency-row select {
    flex: 1;
}

.equal-sign {
    font-size: 36px;
    font-weight: bold;
    width: 50px;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

#result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}
