* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter Tight", sans-serif;
}

body {
    min-height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    
    width: 100%;
    max-width: 500px;
    border:1px solid #e3e3e3;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 0.602187px 0.602187px -1.16667px,
        rgba(0, 0, 0, 0.063) 0px 2.28853px 2.28853px -2.33333px,
        rgba(0, 0, 0, 0.03) 0px 10px 10px -3.5px;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.converter-section {
    margin-bottom: 20px;
}

select, input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

select {
    background-color: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23333333' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    font-family: inherit;
}

.unit-row {
    display: flex;
    gap: 10px;
}

.unit-row > div {
    flex: 1;
}

label {
    color: #555;
    font-size: 14px;
}

#measureSelect {
    /*background-color: #764ba2;
    color: white;*/
    padding: 12px;
    margin-bottom: 20px;
    font-family: inherit;
}

input:focus, select:focus {
   /* outline: none;
    border-color: #764ba2;*/
}

@media (max-width: 480px) {
    .unit-row {
        flex-direction: column;
    }
}