/* 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);
}

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

/* Mobile responsive adjustments - Triggers earlier at 1024px */
@media (max-width: 1300px) {
    .page-header {
        flex-direction: column;
        text-align: center;
        /* Add gap to separate the greeting text from the buttons */
        gap: var(--spacing-lg);
    }

    .header-actions {
        width: 100%;
        /* Stack buttons vertically on mobile */
        flex-direction: column;
        gap: var(--spacing-md);
    }

    /* Make the buttons full width and center their content */
    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

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

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

/* Onboarding text styles */
.page-subtitle--intro {
    margin-bottom: var(--spacing-xs);
}

.page-subtitle--price {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: var(--spacing-sm);
}

.page-subtitle--price-mobile {
    font-size: 1rem;
    font-weight: 500;
    margin-top: var(--spacing-sm);
}

.page-subtitle__status--price {
    font-size: 1.25rem;
    font-weight: 700;
}

.page-subtitle__status--price-mobile {
    font-size: 1.125rem;
    font-weight: 700;
}

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

/* Fixes for anchor tags acting as buttons */
.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 */
.header-actions .btn--primary:hover,
.header-actions .btn--primary:focus {
    color: #ffffff;
}

.header-actions .btn--outline:hover,
.header-actions .btn--outline:focus {
    color: var(--color-primary);
}