body { font-family: 'Inter', sans-serif; }

/* Hierarchy Styling */
.level-1 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1rem;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(to r, #dbeafe, transparent);
    padding: 0.5rem;
    border-left: 4px solid #1e40af;
}
.level-2 {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.5rem;
    margin-top: 0.75rem;
    color: #1d4ed8;
    padding: 0.4rem;
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
}
.level-3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 1rem;
    margin-top: 0.5rem;
    color: #2563eb;
    padding: 0.3rem;
    border-left: 2px solid #60a5fa;
}
.level-4 {
    margin-left: 1.5rem;
    padding: 0.4rem 0;
}
.level-5 {
    margin-left: 2rem;
    padding: 0.4rem 0;
}
.level-6 {
    margin-left: 2.5rem;
    padding: 0.4rem 0;
}

/* Desktop hierarchy adjustments */
@media (min-width: 768px) {
    .level-1 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        padding: 0.75rem;
    }
    .level-2 {
        font-size: 1.25rem;
        margin-left: 1rem;
        margin-top: 1rem;
        padding: 0.5rem;
    }
    .level-3 {
        font-size: 1.1rem;
        margin-left: 2rem;
        margin-top: 0.75rem;
        padding: 0.4rem;
    }
    .level-4 {
        margin-left: 3rem;
        padding: 0.5rem 0;
    }
    .level-5 {
        margin-left: 4.5rem;
        padding: 0.5rem 0;
    }
    .level-6 {
        margin-left: 6rem;
        padding: 0.5rem 0;
    }
}

/* Item Row Styling */
.item-row {
    transition: background-color 0.2s;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}
.item-row:hover {
    background-color: #f9fafb;
}

/* Mobile item row adjustments */
@media (max-width: 640px) {
    .item-row {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0;
        gap: 0.5rem;
    }
}
.copyright {
  text-align: center;
  font-size: 0.75rem;
  padding-top: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .copyright {
    font-size: 0.875rem;
  }
}
/* Desktop Sticky Footer */
.sticky-footer-desktop {
    position: sticky;
    bottom: 0;
    background: white;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

/* Mobile Sticky Footer - Compact version */
.sticky-footer-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    padding: 0.5rem 0.75rem;
    border-top: 2px solid #e5e7eb;
}

/* Hide desktop footer on mobile */
@media (max-width: 1023px) {
    .sticky-footer-desktop {
        display: none;
    }
}

/* Hide mobile footer on desktop */
@media (min-width: 1024px) {
    .sticky-footer-mobile {
        display: none;
    }
}

/* Add bottom padding to container on mobile to prevent content from being hidden behind mobile footer */
@media (max-width: 1023px) {
    .main-container {
        padding-bottom: 70px;
    }
}
