/* vExpert Modern UI
   Visual overrides only - original vExpert CSS remains intact.
*/

:root {
    --vex-blue-dark: #102a43;
    --vex-blue: #1769aa;
    --vex-blue-bright: #168aad;
    --vex-cyan: #22b8cf;
    --vex-bg: #f4f7fa;
    --vex-card: #ffffff;
    --vex-text: #243746;
    --vex-muted: #60788a;
    --vex-border: #dce5ec;
}

/* Overall page */
body {
    background: var(--vex-bg);
    color: var(--vex-text);
}

/* Homepage columns */
.vexpert-hp {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.main-col {
    width: auto;
    max-width: none;
}

.vex-mid-col {
    width: 28px;
    min-width: 28px;
}

.side-nav {
    width: 340px;
}

/* Modern cards */
.vex-box {
    background: var(--vex-card);
    border: 1px solid var(--vex-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;

    box-shadow:
        0 1px 2px rgba(16, 42, 67, 0.04),
        0 5px 18px rgba(16, 42, 67, 0.06);
}

/* Card headers */
.vex-box-title h3,
.vex-box-title h4 {
    background:
        linear-gradient(
            110deg,
            var(--vex-blue-dark) 0%,
            var(--vex-blue) 58%,
            var(--vex-blue-bright) 100%
        );

    color: #fff !important;
    border: 0;
    margin: 0 !important;
    font-weight: 500;
    letter-spacing: .1px;
}

.vex-box-title h3 {
    padding: 14px 18px;
}

.vex-box-title h4 {
    padding: 13px 18px 14px;
}

/* Card content */
.vex-box-content {
    padding: 20px;
    color: var(--vex-text);
}

/* Horizontal rules */
.vex-box-hr {
    border: 0;
    border-top: 1px solid var(--vex-border);
}

/* Buttons */
.vex-btn,
.btn-primary {
    border-radius: 6px;
}

/* Program metric chips */
.metrics .chip,
.chip {
    border-radius: 20px;
}

/* Video becomes responsive in preparation for smaller card */
.vexpert-video {
    margin: 20px 0;
}

.vexpert-video iframe {
    max-width: 100%;
    border: 0;
    border-radius: 8px;
}

/* Images inside homepage cards */
.community-top-section img {
    max-width: 100%;
}

/* Mobile */
@media (max-width: 900px) {
    .vexpert-hp,
    .vexpert-hp tbody,
    .vexpert-hp tr,
    .vexpert-hp td {
        display: block;
        width: 100%;
    }

    .main-col,
    .side-nav {
        width: 100%;
        max-width: none;
    }

    .vex-mid-col {
        display: none !important;
    }
}


/* ---------------------------------------------------------
   vExpert Homepage Hero
   --------------------------------------------------------- */

.vexpert-hero {
    position: relative;
    overflow: hidden;
    min-height: 245px;
    margin-bottom: 28px;
    padding: 42px 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 12px;

    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(34, 184, 207, .38) 0,
            rgba(34, 184, 207, 0) 32%
        ),
        linear-gradient(
            115deg,
            #102a43 0%,
            #145b91 52%,
            #168aad 100%
        );

    box-shadow: 0 8px 28px rgba(16, 42, 67, .16);
}

.vexpert-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    top: -240px;

    border: 70px solid rgba(255,255,255,.06);
    border-radius: 50%;
}

.vexpert-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.vexpert-hero-eyebrow {
    margin-bottom: 9px;

    color: #9fe7f1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.vexpert-hero h1 {
    margin: 0 0 12px 0;

    color: #fff !important;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 500;
}

.vexpert-hero p {
    max-width: 650px;
    margin: 0;

    color: rgba(255,255,255,.88);
    font-size: 17px;
    line-height: 1.55;
}

.vexpert-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.vexpert-hero-button {
    display: inline-block;
    padding: 10px 18px;

    border-radius: 6px;

    font-weight: 500;
    text-decoration: none !important;

    transition: transform .15s ease, background .15s ease;
}

.vexpert-hero-button:hover {
    transform: translateY(-1px);
}

.vexpert-hero-button.primary {
    background: #fff;
    color: #145b91 !important;
}

.vexpert-hero-button.secondary {
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.08);
    color: #fff !important;
}

.vexpert-hero-button.secondary:hover {
    background: rgba(255,255,255,.16);
}

.vexpert-hero-mark {
    position: relative;
    z-index: 2;

    padding-left: 30px;

    color: rgba(255,255,255,.93);
    font-size: 42px;
    font-weight: 300;
    white-space: nowrap;
}

.vexpert-hero-mark span {
    color: #72d8e6;
    font-weight: 600;
}

@media (max-width: 900px) {

    .vexpert-hero {
        padding: 32px 26px;
        min-height: auto;
    }

    .vexpert-hero h1 {
        font-size: 31px;
    }

    .vexpert-hero-mark {
        display: none;
    }

    .vexpert-hero-actions {
        flex-wrap: wrap;
    }
}

/* ---------------------------------------------------------
   Live Community
   --------------------------------------------------------- */

.vexpert-live {
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid var(--vex-border);
    border-radius: 10px;
    overflow: hidden;

    box-shadow:
        0 1px 2px rgba(16,42,67,.04),
        0 5px 18px rgba(16,42,67,.06);
}

.vexpert-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 13px 18px;

    border-bottom: 1px solid var(--vex-border);

    color: var(--vex-blue-dark);
    font-size: 15px;
}

.vexpert-live-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;

    border-radius: 50%;
    background: #25b46b;

    box-shadow: 0 0 0 4px rgba(37,180,107,.12);
}

.vexpert-live-channel {
    margin-left: 8px;
    color: var(--vex-muted);
    font-size: 13px;
}

.vexpert-live-online {
    color: #25a866;
    font-size: 13px;
    font-weight: 600;
}

.vexpert-live-body {
    display: grid;
    grid-template-columns: 1fr 245px;
}

.vexpert-live-messages {
    padding: 8px 18px;
}

.vexpert-live-message {
    display: grid;
    grid-template-columns: 100px 1fr 55px;
    gap: 12px;

    padding: 2px 0;

    border-bottom: 1px solid #edf2f5;

    align-items: center;
}

.vexpert-live-message:last-child {
    border-bottom: 0;
}

.vexpert-live-user {
    color: var(--vex-blue);
    font-weight: 600;
}

.vexpert-live-text {
    color: var(--vex-text);
}

.vexpert-live-time {
    color: #8b9aa5;
    font-size: 12px;
    text-align: right;
}

.vexpert-live-action {
    padding: 20px;

    border-left: 1px solid var(--vex-border);

    background:
        linear-gradient(
            145deg,
            #f5f9fc 0%,
            #edf6fa 100%
        );
}

.vexpert-live-action-title {
    margin-bottom: 5px;

    color: var(--vex-blue-dark);
    font-size: 16px;
    font-weight: 600;
}

.vexpert-live-action-text {
    margin-bottom: 15px;

    color: var(--vex-muted);
    font-size: 13px;
    line-height: 1.4;
}

.vexpert-live-button {
    display: inline-block;

    padding: 8px 14px;

    border-radius: 6px;
    background: var(--vex-blue);

    color: #fff !important;
    font-weight: 500;
    text-decoration: none !important;
}

.vexpert-live-button:hover {
    background: var(--vex-blue-dark);
}

@media (max-width: 800px) {

    .vexpert-live-body {
        grid-template-columns: 1fr;
    }

    .vexpert-live-action {
        border-left: 0;
        border-top: 1px solid var(--vex-border);
    }

    .vexpert-live-message {
        grid-template-columns: 85px 1fr;
    }

    .vexpert-live-time {
        display: none;
    }
}

.vexpert-community-teaser {
    padding: 18px 6px;
}

.vexpert-community-stats {
    margin-top: 34px;
    display: flex;
    justify-content: space-around;
    gap: 0;
    margin-bottom: 16px;
}

.vexpert-community-stat {
    width: auto;
    min-width: 110px;
    text-align: center;
}

.vexpert-community-stat strong {
    display: block;
    color: var(--vex-blue);
    font-size: 27px;
    line-height: 1;
    font-weight: 600;
}

.vexpert-community-stat span {
    display: block;
    margin-top: 6px;
    color: var(--vex-muted);
    font-size: 12px;
}

.vexpert-community-teaser-title {
    margin-bottom: 4px;
    color: var(--vex-blue-dark);
    font-size: 16px;
    font-weight: 600;
}

.vexpert-community-teaser-text {
    margin-top: 10px;
    color: var(--vex-muted);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 650px) {
    .vexpert-community-stats {
        gap: 18px;
        flex-wrap: wrap;
    }
}





.vexpert-application-status {
    margin-top: 20px;
    padding: 14px 18px;
    border: 1px solid var(--vex-border);
    border-radius: 8px;
    background: #f7fbff;
}

.vexpert-application-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.vexpert-application-label {
    color: var(--vex-blue-dark);
    font-size: 14px;
    font-weight: 700;
}

.vexpert-application-open {
    color: #25a866;
    font-size: 13px;
    font-weight: 600;
}

.vexpert-application-deadline {
    color: var(--vex-muted);
    font-size: 13px;
    padding-left: 18px;
    border-left: 1px solid var(--vex-border);
}

.vexpert-application-button {
    margin-left: auto;
    color: var(--vex-blue) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.vexpert-application-button:hover {
    color: var(--vex-blue-dark) !important;
}

.vexpert-application-days {
    margin-top: 16px;
    width: 110px;
    text-align: center;
}

/* Exact visual match to community stats */
.vexpert-application-days strong {
    display: block;
    color: var(--vex-blue);
    font-size: 27px;
    line-height: 1;
    font-weight: 600;
}

.vexpert-application-days span {
    display: block;
    margin-top: 6px;
    color: var(--vex-muted);
    font-size: 12px;
}

@media (max-width: 650px) {
    .vexpert-application-info {
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .vexpert-application-deadline {
        padding-left: 0;
        border-left: 0;
    }

    .vexpert-application-button {
        margin-left: 0;
    }
}

.vexpert-application-progress-stats {
    display: flex;
    justify-content: space-around;
    gap: 0;
    margin-top: 16px;
    align-items: flex-start;
}

.vexpert-application-progress-stats .vexpert-application-days {
    margin-top: 0;
    width: auto;
    min-width: 110px;
     text-align: center;
}

.vexpert-application-progress {
    width: 100%;
    height: 6px;
    margin-top: 16px;
    background: #dfe7ef;
    border-radius: 10px;
    overflow: hidden;
}

.vexpert-application-progress-bar {
    height: 100%;
    min-width: 2px;
    background: var(--vex-blue);
    border-radius: 10px;
    transition: width 0.4s ease;
}

@media (max-width: 650px) {
    .vexpert-application-progress-stats {
        flex-wrap: wrap;
    }
}

/* vExpert Community Chat shell */

/* vExpert Community Chat shell */

.vexpert-chat-shell {
    width: 100%;
    height: calc(100vh - 155px);
    margin: 155px 0 0 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}
.vexpert-chat-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}




