h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

header {
    background-color: #f8f9fa;
    padding: 1em;
    text-align: center;
}

footer {
    background-color: #f1f1f1;
    padding: 1em;
    text-align: center;
    font-size: 0.9em;
    position: fixed;
    bottom: 0;
    width: 100%;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


main, .content, .container {
    flex: 1 0 auto;
}

.button {
    display: inline-block;
    padding: 0.5em 1em;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1em;
}

footer {
    position: static;
    bottom: auto;
    width: 100%;
    margin-top: auto;
}
footer a {
    color: #007bff;
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

aside {
    font-style: italic;
    margin: 1em 0;
}

aside .warning {
    background-color: #ff0000;
    font-weight: bold;
    padding: 0.5em;
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
}

@media (max-width: 768px) {
    .statistics-box {
        flex: 1 1 100%;
    }
}

#sharelink {
    text-decoration: none;
    color: #007bff;
}

#faqs p {
display: none;
margin-top: 0.5em;
}

#faqs h3 {
cursor: pointer;
}

.bill-list {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bill-list h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.bill-list__note {
    color: #555;
    margin-bottom: 1.5rem;
}


.bill-grid {

    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}


.bill-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        border-color 0.15s ease-out;

    flex: 1 1 260px;           
    max-width: 320px;             
}

.bill-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08),
        0 3px 6px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.bill-card__title {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.bill-card__meta {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 1rem;
}


.bill-card__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    background: #2563eb;     
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.bill-card__link:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.bill-card__adjusted {
    background: #ff8686;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        border-color 0.15s ease-out;

    flex: 1 1 260px;           
    max-width: 320px;    
}

nav a {
    margin: 0 1em;
    text-decoration: none;
    color: #8614ff;
}
nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

.stats-overview {
    max-width: 1500px;
    gap: 1.5rem;
    justify-content: center;
    margin: 1rem auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 0 1rem;
}

.stats-overview h2 {
    font-size: 1.95rem;
    margin-bottom: 0.5rem;
}

.stats-card-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    gap: 1.5rem;
    justify-content: center;
    margin: 1rem auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 0 1rem;
}


.stats-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        border-color 0.15s ease-out;

    flex: 1 1 260px;           
    max-width: 320px;         
}

.stats-card a{
    color: blue;
    text-decoration: underline;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08),
        0 3px 6px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}
.stats-card__title {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.historical-stats {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.historical-stats h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.stats-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.historical-stats__note {
    color: #555;
    margin-bottom: 1.5rem;
}


/* -------------- Live Patch: Alert Box -------------- */

/* The alert message box */
.alert {
  padding: 20px;
  background-color: #fffd73; /* Red */
  color: rgb(0, 0, 0);
  margin-bottom: 15px;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.alert a {
  color: black;
  text-decoration: underline;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: rgb(143, 143, 143);
} 