body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #ffffff;
    color: #000000;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 1rem;
    box-sizing: border-box;
    border: 1px solid #000000;
    margin: 1rem;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.description {
    text-align: center;
    margin-bottom: 20px;
}

.input-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 5px;
    font-weight: 700;
}

select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #000000;
    color: #000000;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="number"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #000000;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #000000;
}

select:focus, input[type="number"]:focus {
    outline: 2px solid #000000;
    outline-offset: -2px;
}

/* Custom arrow for select */
select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid #000000;
    background-color: #000000;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    border-radius: 0;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #000000;
}

button:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .date-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.result-container {
    display: flex;
    flex-direction: column;
}

.detailed-description {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.result-item {
    border: 1px solid #000000;
    padding: 10px;
    text-align: center;
}

.result-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.result-label {
    font-size: 14px;
}