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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #fff;
    overflow: hidden;
}

.app {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 30px;
    width: 350px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.app:hover {
    transform: scale(1.03);
}

h2 {
    margin: 20px 0;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

input, select, button {
    padding: 12px 15px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

input, select {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: inset 2px 2px 6px rgba(255,255,255,0.2),
                inset -2px -2px 6px rgba(0,0,0,0.2);
}

input::placeholder, select option {
    color: #e0e0e0;
    font-weight: 500;
}

input:focus, select:focus {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: inset 2px 2px 10px rgba(255,255,255,0.3),
                inset -2px -2px 10px rgba(0,0,0,0.3);
}

option {
    background-color: #7B89F6;
    border: none;
}
button {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

ul {
    list-style: none;
    width: 100%;
    margin-top: 20px;
    max-height: 200px;
    overflow-y: auto;
}

ul::-webkit-scrollbar {
    width: 6px;
}

ul::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

li {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

li:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

#total {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
