/* Header layout and main container */
.page-header {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-xl) var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Typography and status indicators */
.page-subtitle--mobile {
    font-size: 0.875rem;
}

.page-subtitle__status {
    color: var(--color-primary);
    font-weight: 500;
}

/* Actions container */
.header-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* Button icon sizing */
.btn-icon--large {
    font-size: 1.25rem;
}

/* * Fixes for anchor tags acting as buttons.
 * Prevents default link styles like underlines and ensures clean hover states.
 */
.header-actions .btn {
    text-decoration: none;
}

.header-actions .btn:hover,
.header-actions .btn:focus,
.header-actions .btn:active {
    text-decoration: none;
}

/* * Button hover color overrides.
 * Prevents the global link hover style from turning the text black.
 */
.header-actions .btn--primary:hover,
.header-actions .btn--primary:focus {
    color: #ffffff; /* Keeps the text white against the purple background */
}

.header-actions .btn--outline:hover,
.header-actions .btn--outline:focus {
    color: var(--color-primary); /* Keeps the outline button text purple */
}