/**
 * Dashboard Hero Component
 * Hero section with account banner, title, and CTA
 *
 * @package BeepBeep_AI
 * @since 5.0.0
 */

/* ==================================================
   HERO CONTAINER
   ================================================== */

.bbai-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.bbai-hero-title {
    font-size: 2.625rem;
    font-weight: var(--bbai-font-bold);
    color: var(--bbai-gray-900);
    margin: 0 0 2.25rem 0;
    line-height: 1.2;
}

.bbai-hero .bbai-btn-primary {
    display: block;
    margin: 1rem auto 0;
}

/* ==================================================
   ACCOUNT BANNER
   ================================================== */

.bbai-account-banner {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.bbai-account-banner__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.bbai-account-banner__header h3 {
    margin: 12px 0 6px 0;
    font-size: 1.25rem;
    font-weight: var(--bbai-font-bold);
    color: #0f172a;
}

.bbai-account-banner__header p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* ==================================================
   ACCOUNT CHIP
   ================================================== */

.bbai-account-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.12);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
}

.bbai-account-chip::before {
    content: '🔒';
}

/* ==================================================
   ACCOUNT PLAN
   ================================================== */

.bbai-account-plan {
    text-align: right;
}

.bbai-account-plan-label {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.bbai-account-plan small {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ==================================================
   ACCOUNT ACTIONS
   ================================================== */

.bbai-account-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.bbai-account-btn {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.bbai-account-btn:hover {
    border-color: #cbd5f5;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.bbai-account-btn--primary {
    background: linear-gradient(135deg, #14b8a6 0%, #84cc16 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.35);
}

.bbai-account-btn--primary:hover {
    opacity: 0.92;
}

.bbai-account-btn--ghost {
    background: transparent;
    border: none;
    color: #ef4444;
    box-shadow: none;
}

.bbai-account-btn--ghost:hover {
    color: #dc2626;
}

/* ==================================================
   ACCOUNT HELP TEXT
   ================================================== */

.bbai-account-help {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 768px) {
    .bbai-hero-title {
        font-size: var(--bbai-text-xl);
    }

    .bbai-account-banner {
        padding: 20px 24px;
    }

    .bbai-account-banner__header {
        flex-direction: column;
    }

    .bbai-account-plan {
        text-align: left;
    }
}
