.home-page-wrapper {
    background-color: #f6f7f8;
}
.dark .home-page-wrapper {
    background-color: #101922;
}
.home-surface {
    background-color: #ffffff;
    border-radius: 1.75rem;
    overflow: hidden;
}
.dark .home-surface {
    background-color: #1f2937;
    color: #e5e7eb;
}
.home-header {
    border-bottom: 1px solid rgba(17, 20, 24, 0.08);
}
.dark .home-header {
    border-color: rgba(255, 255, 255, 0.12);
}
.home-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(17, 115, 212, 0.12);
    color: var(--home-primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.dark .home-brand-icon {
    background-color: rgba(17, 115, 212, 0.25);
}
.home-action-chip {
    border-radius: 999px;
    border: 1px solid rgba(17, 20, 24, 0.1);
    background-color: transparent;
    color: #111418;
    padding: 0.5rem 1.25rem;
}
.home-accent-btn {
    background: var(--home-banner-bg);
    border: 2px solid var(--home-banner-text);
    color: var(--home-banner-text);
}
.home-accent-btn:hover {
    background-color: var(--home-primary-color);
    opacity: 0.9;
}
.dark .home-action-chip {
    color: #f9fafb;
    border-color: rgba(255, 255, 255, 0.25);
}
.home-hero {
    background: var(--home-banner-bg);
    color: var(--home-banner-text);
}
.home-hero-img {
    max-height: 320px;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}
.home-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background-color: var(--home-primary-color);
    color: #fff;
    box-shadow: 0 1rem 2rem var(--home-primary-color);
    z-index: 1050;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-floating-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 1.5rem 2.5rem rgba(17, 115, 212, 0.5);
}
.home-notifications .alert {
    border-radius: 1rem;
}

/* New home layout */
.home-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.criteria-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    overflow: hidden;
}
.criteria-card .card-header {
    background: var(--card-header-bg, var(--home-primary-color));
    color: #fff;
    padding: 14px 16px;
    font-weight: 700;
}
.criteria-card ul {
    list-style: none;
    margin: 0;
    padding: 14px 16px;
}
.criteria-card li + li {
    margin-top: 10px;
}
.badge-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    font-weight: 600;
}
.years-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
}
.years-list .year-pill {
    padding: 8px 12px;
    border-radius: 12px;
    background: #f3f4f6;
    font-weight: 700;
}

@media (max-width: 768px) {
    .home-hero {
        padding: 1.5rem;
    }
}

