    .join-hero {

        background-size: cover;
        background-position: center;
        padding: 64px 0;
        color: #0e1626;
    }

    .join-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(14, 22, 38, 0.08);
        padding: 26px;
    }

    .role-pill {
        padding: 8px 16px;
        border-radius: 20px;
        background: #f0f0f0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .role-pill.active {
        background: #007bff;
        color: #fff;
    }

    .step-box {
        padding: 18px;
        border-radius: 10px;
        border: 1px solid #f0f0f0;
        background: #fafafa;
        margin-top: 12px;
    }

    .small-muted {
        color: #6b7280;
        font-size: 13px;
        float: left;
    }

    .brand-accent {
        color: #0b84ff;
        font-weight: 700;
    }

    .ec-hide {
        display: none !important;
    }

    .btn-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .right-buttons {
        display: flex;
        gap: 8px;
    }


    .alert-inline {
        margin-top: 10px;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 14px;
    }

    .alert-success {
        background: #ecf9f2;
        color: #0a7a3a;
        border: 1px solid #d1f0db;
    }

    .alert-error {
        background: #fff3f3;
        color: #9b2a2a;
        border: 1px solid #ffd7d7;
    }

    @media (max-width: 768px) {
        .join-hero {
            padding: 30px 0;
        }

        .header-bottom-layout {
            flex-direction: row;
            gap: 8px
        }

        .main-menu {
            display: none
        }
    }

    /* Small tweaks for right panel content blocks so they swap cleanly */
    .role-content {
        display: block
    }

    .role-content .benefits-list {
        padding-left: 18px;
        color: #444
    }

    .benefits-list {
        list-style-position: outside;
        /* keeps bullets outside */
        padding-left: 20px;
        /* ensures bullets/text are indented */
        text-align: left;
        /* aligns text to the left */
    }

    .sidebar-profile {
        padding: 20px;
        border-bottom: 1px solid #eee;
    }

    .profile-img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        margin-bottom: 10px;
    }

    .role {
        font-size: 14px;
        color: #777;
        margin: 5px 0;
    }

    .badge {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
    }

    .badge.approved {
        background: #e6f7ec;
        color: #1a8f3a;
    }

    .badge.pending {
        background: #fff3cd;
        color: #856404;
    }

    .badge.free {
        background: #e6f9f9;
        color: #0c8b8b;
    }

    .off-canvas-menu ul {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

    .off-canvas-menu ul li {
        margin: 12px 0;
    }

    .off-canvas-menu ul li a {
        display: block;
        padding: 10px 15px;
        color: #081c37;
        font-weight: 500;
        border-radius: 8px;
        text-decoration: none;
        transition: 0.3s;
    }

    .off-canvas-menu ul li a:hover,
    .off-canvas-menu ul li a.active {
        background: #f0f5ff;
        color: #1a4dc3;
    }

    .off-canvas-footer {
        padding: 15px;
        border-top: 1px solid #eee;
    }

    .off-canvas-footer .tip {
        font-size: 12px;
        color: #888;
        margin-bottom: 10px;
    }


    .role-radio {
        /* visually hide but keep accessible */
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .role-pill {
        display: inline-block;
        padding: 8px 16px;
        border-radius: 20px;
        background: #f0f0f0;
        color: #111;
        cursor: pointer;
        user-select: none;
        transition: all .2s ease;
        margin-right: 12px;
    }

    .role-radio:checked+.role-pill {
        background: #007bff;
        color: #fff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, .15);
    }
.video-container {
    width: 100%;
    height: 180px;            /* fixed height to match image cards */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;         /* black background for better look */
    overflow: hidden;
    border-radius: 5px;
}

.video-container video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;      /* 🔥 ensures it fits without cropping */
}
