.error-404-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh; /* Ensures content is vertically centered */
}

.error-404-page h1 {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    /* Creates a gradient text effect using your theme colors */
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 15px rgba(127, 128, 207, 0.1);
    margin-bottom: 0.5rem;
}

.error-404-page .h2 {
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--color-text-primary);
}

.error-404-page .text-muted {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-page .btn-primary {
    transition: all 0.3s ease;
}

.error-404-page .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(127, 128, 207, 0.25);
}


/* --- "No Favorites" Message --- */
#no-favorites {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color-primary);
    border-radius: 12px;
    padding: 3rem 1.5rem;
    margin-top: 2rem;
}

#no-favorites .bi-heartbreak-fill {
    font-size: 3rem;
    color: var(--color-danger);
    margin-bottom: 1rem;
}

#no-favorites h4 {
    color: var(--color-text-primary);
    font-weight: 600;
}

#no-favorites .text-muted {
    color: var(--color-text-subtle) !important;
}

#no-favorites .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(127, 128, 207, 0.25);
}