body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181818;
    color: #fafafa;
    margin: 0;
    min-height: 100vh;
}
.container {
    max-width: 480px;
    margin: 2em auto;
    background: #232323;
    border-radius: 10px;
    padding: 2em 1.5em;
    box-shadow: 0 2px 12px #0008;
}
h1 {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.7em;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    gap: 0.3em;
}
input[type="text"], input[type="date"] {
    border: 1px solid #444;
    border-radius: 5px;
    padding: 0.7em;
    background: #181818;
    color: #fafafa;
    font-size: 1em;
}
input[type="text"]:focus, input[type="date"]:focus {
    outline: 2px solid #b57edc;
}
button[type="submit"] {
    background: #b57edc;
    color: #181818;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 0.8em;
    font-size: 1.1em;
    margin-top: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
button[type="submit"]:hover {
    background: #7e4fb5;
}
button[type="submit"]:disabled,
button[type="submit"][disabled],
button[disabled] {
    background: #444 !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    pointer-events: none !important;
    opacity: 0.7;
}
button[type="submit"]:disabled:hover,
button[type="submit"]:disabled:focus,
button[type="submit"][disabled]:hover,
button[type="submit"][disabled]:focus,
button[disabled]:hover,
button[disabled]:focus {
    background: #444 !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    pointer-events: none !important;
}
#result {
    margin-top: 2em;
    text-align: center;
    color: #b57edc;
}
@media (max-width: 600px) {
    .container {
        padding: 1em 0.5em;
    }
    h1 {
        font-size: 1.2em;
    }
}
