* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.calculator-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px black;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: bold;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 1.1em;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1.1em;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: purple;
    box-shadow: 0 0 0 3px darkblue;
}

input::placeholder {
    color: white;
}

.result {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    font-size: 1.5em;
    font-weight: bold;
    color: black;
}

.result-label {
    color: grey;
    font-weight: 600;
}

#total {
    color: purple;
}

#calculate {
    padding: 15px 30px;
    background: blue;
    color: white;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#calculate:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
