body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #6e46e7, #8e54e9);
    color: #333;
    margin: 0;
    padding: 2rem;
}

.calculator-container {
    background: #fff;
    max-width: 600px;
    margin: auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4a00e0;
}

.description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.date-inputs {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.date-inputs input {
    width: 4.5rem;
    padding: 0.5rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.date-inputs input:focus {
    border-color: #4a00e0;
    outline: none;
}

.calculate-btn {
    background-color: #4a00e0;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.calculate-btn:hover {
    background-color: #6e46e7;
    transform: translateY(-2px);
}

.result {
    margin-top: 2rem;
    font-size: 1.25rem;
    background-color: #f7f7f7;
    padding: 1.5rem;
    border-radius: 8px;
    line-height: 1.8;
    word-wrap: break-word;
}
