/* Reset și font */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #4203a9, #90bafc);
    color: #fff;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.calculator {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.calculator h1 {
    font-size: 48px;
    line-height: 1.2;
}

.calculator h1 span {
    color: #ffff76;
}

.input-box {
    margin: 40px 0;
    padding: 25px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-box input {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
}

.input-box input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.input-box button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    background: #ffff76;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-box button:hover {
    background: #fff;
    color: #4203a9;
}

#result {
    font-size: 20px;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#result.show {
    opacity: 1;
}

#result span {
    color: #ffff76;
    font-weight: bold;
}
