body {
    max-width: 640px;
    margin: 2rem auto;
    font-family: system-ui;
    overflow-x: hidden;
    position: relative;
}
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}
.card {
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .06);
}

.result {
    margin-top: 1.5rem;
    background: #f4f9ff
}

label {
    display: block;
    margin: 0 0 .2rem;
    font-weight: 600
}

input[type=date] {
    padding: .4rem .6rem;
    font-size: 1rem
}

button {
    margin-top: 1rem;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: #fff;
    cursor: pointer
}

button:hover {
    background: #1d4ed8
}

.error {
    color: #b91c1c;
    margin-top: 1rem;
    font-weight: 600
}

.animate-answer {
    display: inline-block;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0%   { transform: scale(0.2); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.card-title i {
  font-size: 1.2rem;
}
.card {
  transition: transform 0.2s ease;
}
.card:hover {
  transform: scale(1.015);
}

.progress-wrapper {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.progress {
  background-color: #e9ecef;
  border-radius: 999px;
}
.progress-bar {
  font-weight: bold;
}

.card-header {
  font-size: 1.1rem;
}
.display-5 {
  font-size: 2.25rem;
}

.bg-success-subtle,
.bg-danger-subtle {
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button {
    margin-top: 0;
}
.accordion-button:hover {
    background: #bdd5f9;
}
