:root {
    --primary-color: #ffff76;
    --secondary-color: #ff3b3b;
    --text-color: #fff;
    --bg-gradient: linear-gradient(135deg, #4203a9, #90bafc);
}

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

body {
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.calculator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.calculator h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.calculator h1 span {
    color: var(--primary-color);
}

.input-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 30px;
}

.input-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    color: #333;
    background: transparent;
    padding: 10px;
    position: relative;
}

/* Custom styles for date input icon */
.input-box input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    font-size: 20px;
}

.input-box button {
    background: var(--primary-color);
    border: none;
    outline: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 10px;
}

.input-box button:hover {
    background: #e6e600;
}

#result {
    font-size: 20px;
    line-height: 1.5;
}

#result span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 24px;
}

@media (max-width: 480px) {
    .input-box {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
        justify-content: center;
        box-sizing: border-box;
    }
}