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

body {
    font-family: Arial, sans-serif;
    background-color: #eef2f7;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.calculator {
    width: 400px;

    background-color: white;

    padding: 35px;

    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

h1 {
    text-align: center;

    color: #1e293b;

    font-size: 32px;

    margin-bottom: 8px;
}

.subtitle {
    text-align: center;

    color: #64748b;

    font-size: 14px;

    margin-bottom: 30px;
}

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

label {
    display: block;

    color: #334155;

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 8px;
}

input,
select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    background-color: #f8fafc;

    color: #1e293b;

    font-size: 15px;

    outline: none;
}

input:focus,
select:focus {
    border-color: #2563eb;

    background-color: white;

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button {
    width: 100%;

    height: 50px;

    border: none;

    border-radius: 8px;

    background-color: #2563eb;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    margin-top: 5px;
}

button:hover {
    background-color: #1d4ed8;
}

.result-box {
    margin-top: 25px;

    padding: 20px;

    background-color: #f1f5f9;

    border-radius: 8px;

    text-align: center;
}

.result-box span {
    display: block;

    color: #64748b;

    font-size: 13px;

    margin-bottom: 8px;
}

.result-box h2 {
    color: #2563eb;

    font-size: 28px;
}