/* ============================
   DASHBOARD LAYOUT
   ============================ */

.moa-premium-shell {
    position: relative;
    padding: 20px 40px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* HERO */
.moa-hero {
    background: linear-gradient(135deg, #1a2a6c, #2a4ea1, #3a7bd5);
    color: white;
    padding: 32px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* HERO AGENT BLOCK */
.moa-hero-agent {
    text-align: center;
}

.moa-hero-agent img {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    margin-bottom: 10px;
    border: 2px solid rgba(255,255,255,0.7);
}

.hero-btn {
    min-width: 180px;
}

.moa-hero-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.moa-hero-content p {
    opacity: 0.9;
    margin-bottom: 12px;
}

.moa-hero-meta {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.moa-hero-meta span {
    background: rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: 999px;
}

/* Hide hero agent on mobile */
@media (max-width: 768px) {
    .moa-hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .moa-hero-agent {
        display: none !important;
    }
}

/* EMPTY STATE */
.moa-empty-premium {
    background: #f8faff;
    border: 1px solid #e3e9ff;
    padding: 32px;
    border-radius: 16px;
}

.moa-subtitle {
    font-size: 1rem;
    color: #333;
    margin-top: 6px;
    margin-bottom: 24px;
}

.moa-premium-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.moa-premium-card {
    background: white;
    border: 1px solid #e3e9ff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* OVERVIEW */
.moa-overview {
    margin-top: 10px;
}

.moa-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.moa-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.moa-overview-card {
    background: white;
    border: 1px solid #e3e9ff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* STATUS / TRAFFIC LIGHTS */
.moa-status-row {
    display: flex;
    gap: 12px;
}

.moa-status-card {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
}

.moa-status-card.green { background: #28a745; }
.moa-status-card.amber { background: #ffc107; color: #333; }
.moa-status-card.red   { background: #dc3545; }

/* FLOATING AGENT BUTTON */
.moa-agent-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 1050;
}

.moa-agent-floating img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    margin-right: 10px;
}

.moa-agent-floating-label {
    font-size: 0.9rem;
    color: #183981;
    font-weight: 600;
}

/* Mobile floating agent adjustments */
@media (max-width: 768px) {
    .moa-agent-floating {
        bottom: 16px;
        right: 16px;
        padding: 10px 14px;
    }
    .moa-agent-floating img {
        width: 36px;
        height: 36px;
    }
    .moa-agent-floating-label {
        font-size: 0.85rem;
    }
}