.page-navigation {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 5%;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Back Button Styles */
.back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border: 2px solid #1a365d;
    border-radius: 50px;
    color: #1a365d;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    min-height: 44px;
    text-decoration: none;
}

.back-button:hover, 
.back-button:focus {
    background: #1a365d;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.back-button svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    transition: transform 0.2s ease;
}

.back-button:hover svg {
    transform: translateX(-2px);
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    flex: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.95rem;
}

.breadcrumb-item a {
    color: #1a365d;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    background: #1a365d;
    color: #fff;
}

.breadcrumb-item.active {
    font-weight: 600;
    color: #1a365d;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    margin: 0 0.25rem;
    color: #94a3b8;
}

.breadcrumb-separator svg {
    width: 16px;
    height: 16px;
}

/* Collapsed Items Dropdown */
.breadcrumb-collapsed {
    position: relative;
}

.breadcrumb-collapsed-btn {
    background: none;
    border: none;
    color: #64748b;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

.breadcrumb-collapsed-btn:hover {
    background: #f1f5f9;
}

.breadcrumb-collapsed-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0.5rem;
    min-width: 200px;
    display: none;
    z-index: 100;
}

.breadcrumb-collapsed.active .breadcrumb-collapsed-content {
    display: block;
}

.breadcrumb-collapsed-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #1a365d;
    text-decoration: none;
    border-radius: 4px;
}

.breadcrumb-collapsed-content a:hover {
    background: #f1f5f9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-button {
        width: 100%;
        justify-content: center;
    }
    
    .breadcrumb {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .breadcrumb-item span:not(.breadcrumb-separator) {
        display: none;
    }
    
    .breadcrumb-item.active span {
        display: inline;
    }
}