/* =========================================================
   PR SOLUTIONS — PORTAL HUB STYLESHEET
   Clean, modern, high-converting portal gateway
   ========================================================= */

.portal-hub {
    background: #f8fafc;
    padding: 36px 16px 64px;
    min-height: calc(100vh - 420px);
}

.portal-hub__container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* Breadcrumb */
.portal-hub__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
}

.portal-hub__breadcrumb a {
    color: #0878d1;
    text-decoration: none;
    font-weight: 600;
}

.portal-hub__breadcrumb a:hover {
    color: #f36a16;
}

.portal-hub__breadcrumb .sep {
    color: #cbd5e1;
    font-size: 11px;
}

/* Hero Section */
.portal-hub__hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.portal-hub__kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8eff7;
    color: #0b2744;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.portal-hub__hero h1 {
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 14px;
}

.portal-hub__hero h1 span {
    color: #f36a16;
}

.portal-hub__lead {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Active Session Banner */
.portal-session-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 28px;
}

.portal-session-banner__left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #065f46;
    font-size: 14px;
    font-weight: 600;
}

.portal-session-banner__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.portal-session-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-session-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #059669;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.portal-session-banner__btn:hover {
    background: #047857;
}

.portal-session-banner__logout {
    color: #64748b;
    font-size: 13px;
    text-decoration: underline;
}

/* Portal Grid */
.portal-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 42px;
}

/* Portal Hub Card */
.hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 24px 22px;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hub-card--live:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.12);
}

.hub-card--admin:hover {
    border-color: #0b2744;
}

.hub-card--partner:hover {
    border-color: #f36a16;
}

.hub-card--upcoming {
    background: #fbfcfe;
    border-style: dashed;
    border-color: #cbd5e1;
}

/* Card Header */
.hub-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hub-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.hub-card__icon .icon {
    width: 26px;
    height: 26px;
}

.hub-card__icon--navy { background: #e8eff7; color: #0b2744; }
.hub-card__icon--orange { background: #fff1e6; color: #f36a16; }
.hub-card__icon--blue { background: #e0f2fe; color: #0284c7; }
.hub-card__icon--green { background: #e8f8ee; color: #16a34a; }

.hub-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.hub-card__pill--live {
    background: #ecfdf5;
    color: #059669;
}

.hub-card__pill--live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: hubDotPulse 2s infinite ease-in-out;
}

@keyframes hubDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hub-card__pill--soon {
    background: #f1f5f9;
    color: #64748b;
}

/* Card Content */
.hub-card__title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}

.hub-card__tagline {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 12px;
}

.hub-card__desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 18px;
}

/* Feature List */
.hub-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hub-card__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
}

.hub-card__features .icon-check {
    width: 15px;
    height: 15px;
    color: #16a34a;
    flex-shrink: 0;
}

.hub-card__features--dim li {
    color: #64748b;
}

.hub-card__features--dim .icon-check {
    color: #94a3b8;
}

/* Card Action / Footer */
.hub-card__action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-btn--navy {
    background: #0b2744;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 39, 68, 0.25);
}

.hub-btn--navy:hover {
    background: #14385f;
    box-shadow: 0 6px 18px rgba(11, 39, 68, 0.35);
    transform: translateY(-2px);
}

.hub-btn--orange {
    background: #f36a16;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(243, 106, 22, 0.28);
}

.hub-btn--orange:hover {
    background: #d85a0d;
    box-shadow: 0 6px 18px rgba(243, 106, 22, 0.38);
    transform: translateY(-2px);
}

.hub-btn--disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border: 1px solid #e2e8f0;
}

.hub-card__sublink {
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #0878d1;
    text-decoration: none;
}

.hub-card__sublink:hover {
    text-decoration: underline;
    color: #f36a16;
}

/* Security Help Card */
.portal-help-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.05);
}

.portal-help-card__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.portal-help-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: grid;
    place-items: center;
    color: #0b2744;
    flex-shrink: 0;
}

.portal-help-card__icon .icon {
    width: 22px;
    height: 22px;
}

.portal-help-card__text h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px;
}

.portal-help-card__text p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.portal-help-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.portal-help-btn--phone {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #334155;
}

.portal-help-btn--phone:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.portal-help-btn--wa {
    background: #25d366;
    color: #ffffff;
}

.portal-help-btn--wa:hover {
    background: #20bd5a;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .portal-hub {
        padding: 24px 14px 48px;
    }
    .portal-hub__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hub-card {
        padding: 20px 18px;
    }
    .portal-help-card {
        padding: 20px 18px;
        flex-direction: column;
        align-items: flex-start;
    }
    .portal-help-card__actions {
        width: 100%;
    }
    .portal-help-btn {
        flex: 1;
        justify-content: center;
    }
}
