
<div id="tab-profile" class="tab-content">
    <section class="profile-section">
        
        <div class="profile-header">
            <div class="profile-avatar">
                <?php echo e(strtoupper(substr(Auth::user()->name, 0, 1))); ?>

            </div>
            <h2 class="profile-name"><?php echo e(Auth::user()->name); ?></h2>
            <p class="profile-email"><?php echo e(Auth::user()->email); ?></p>
        </div>

        
        <div class="profile-info-card">
            
            <div class="profile-info-row">
                <div class="profile-info-icon">
                    <span class="material-symbols-outlined">badge</span>
                </div>
                <div class="profile-info-text">
                    <div class="profile-info-label">Nama Lengkap</div>
                    <div class="profile-info-value"><?php echo e(Auth::user()->name); ?></div>
                </div>
            </div>

            
            <div class="profile-info-row">
                <div class="profile-info-icon">
                    <span class="material-symbols-outlined">mail</span>
                </div>
                <div class="profile-info-text">
                    <div class="profile-info-label">Email</div>
                    <div class="profile-info-value"><?php echo e(Auth::user()->email); ?></div>
                </div>
            </div>

            
            <div class="profile-info-row">
                <div class="profile-info-icon">
                    <span class="material-symbols-outlined">verified_user</span>
                </div>
                <div class="profile-info-text">
                    <div class="profile-info-label">Roles</div>
                    <div class="profile-info-value">
                        <?php
                            $roles = Auth::user()->roles()->pluck('key')->all();
                        ?>
                        <?php if(count($roles) > 0): ?>
                            <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <span class="role-badge <?php echo e(in_array($role, ['admin', 'co_admin']) ? 'admin' : ''); ?>">
                                    <?php echo e(ucfirst(str_replace('_', ' ', $role))); ?>

                                </span>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php else: ?>
                            <span style="color: var(--portal-on-surface-variant); font-size: 0.875rem;">Standard User</span>
                        <?php endif; ?>
                    </div>
                </div>
            </div>

            
            <div class="profile-info-row">
                <div class="profile-info-icon">
                    <span class="material-symbols-outlined">calendar_today</span>
                </div>
                <div class="profile-info-text">
                    <div class="profile-info-label">Member Sejak</div>
                    <div class="profile-info-value">
                        <?php echo e(Auth::user()->created_at ? Auth::user()->created_at->format('d M Y') : '-'); ?>

                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
<?php /**PATH /home/sppsynergo/public_html/sso.synergo.id/resources/views/portal/profile.blade.php ENDPATH**/ ?>