/* =========================
   PAGE HEADER
========================= */

.page-header-wrap {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--app-border);
}

.page-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.page-header-text {
    min-width: 0;
}

.page-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--app-primary);
    line-height: 1.2;
}

.page-subtitle {
    margin: 4px 0 0;
    font-size: 13.5px;
    color: var(--app-text-muted);
}

.page-header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-left: auto;
}

.page-header-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.breadcrumb-home {
    color: var(--app-text-muted);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.breadcrumb-home:hover {
    color: var(--app-primary);
}

.breadcrumb-separator {
    color: #94a3b8;
    font-size: 12px;
}

.breadcrumb-link {
    color: var(--app-text-muted);
    text-decoration: none;
    transition: var(--app-transition);
}

.breadcrumb-link:hover {
    color: var(--app-primary);
}

.breadcrumb-current {
    color: var(--app-text);
    font-weight: 600;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .page-header-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header-meta {
        width: 100%;
        align-items: flex-start;
        margin-left: 0;
    }

    .page-header-breadcrumbs,
    .page-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .page-title {
        font-size: 22px;
    }
}