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


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

.container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #004d00, #006600);
    /* Purple to Blue gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.calculator {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #fff;
}

.calculator h1 {
    font-family: "Knewave", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
}

.calculator h1 span {
    color: #ffd369;
    font-family: "Knewave", system-ui;
    font-weight: 300;
    font-style: normal;
}

.input-box {
    margin: 30px 0;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-box input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 18px;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
}

.input-box button {
    background: #ffd369;
    border: none;
    outline: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-box button:hover {
    background: #ffb347;
    transform: translateY(-2px);
}

.input-box input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
}

#result {
    font-size: 22px;
    margin-top: 15px;
}

#result span {
    color: #ffd369;
    font-weight: 700;
}