<?php $__env->startSection('content'); ?>
  <?php
    $personalDetails = [
        'Mobile Number' => $usersdetals->mobileno,
        'Address' => $usersdetals->address,
        'Aadhar Card' => $usersdetals->aadharcard,
        'Class Group' => $studentProfile?->classname,
        'Father Name' => $studentProfile?->fathername,
        'Mother Name' => $studentProfile?->mothername,
        'Date of Birth' => $studentProfile?->dateofbirth,
        'Student SR No.' => $studentProfile?->srnumber,
    ];

    $bankingDetails = [
        'UPI ID' => $studentProfile?->studentupiid,
        'PAN Card' => $studentProfile?->pancardnumber,
        'Bank Account Number' => $studentProfile?->bankaccountnumber,
        'Bank Branch' => $studentProfile?->bankbranch,
        'IFSC Code' => $studentProfile?->bankifsccode,
        'Religion' => $studentProfile?->religion,
    ];
  ?>

  <div class="card-header">
    <h4>Student Profile</h4>
  </div>
  <div class="card-body">
    <?php echo $__env->make('admin.partials.flash-messages', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <div class="student-profile-layout">
      <div class="student-profile-card">
        <div class="student-profile-hero">
          <img src="<?php echo e($studentImageUrl); ?>" alt="<?php echo e($usersdetals->name); ?>" class="student-profile-photo">
          <div class="student-profile-copy">
            <h5><?php echo e($usersdetals->name); ?></h5>
            <p><?php echo e($studentProfile?->classname ?: 'Class group not available'); ?></p>
            <div class="student-profile-chips">
              <span><?php echo e($studentProfile?->srnumber ?: 'SR not available'); ?></span>
              <span><?php echo e($usersdetals->mobileno ?: 'Mobile not available'); ?></span>
              <span><?php echo e($usersdetals->institutecode ?: 'Institute code not available'); ?></span>
            </div>
          </div>
        </div>

        <div class="student-profile-actions">
          <a class="btn btn-info btn-sm" href="<?php echo e(route('admin.studentscontest', ['id' => $usersdetals->id])); ?>">Applied Competitions</a>
          <a class="btn btn-success btn-sm" href="<?php echo e(route('admin.userpayments', ['id' => $usersdetals->id])); ?>">Payment History</a>
          <a class="btn btn-dark btn-sm" href="<?php echo e(route('admin.changepassword', ['userid' => $usersdetals->id])); ?>">Change Password</a>
        </div>
      </div>

      <div class="student-detail-card">
        <h5>Personal Details</h5>
        <div class="student-detail-grid">
          <?php $__currentLoopData = $personalDetails; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $label => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="student-detail-item">
              <span><?php echo e($label); ?></span>
              <strong><?php echo e($value ?: '-'); ?></strong>
            </div>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
      </div>

      <div class="student-detail-card">
        <h5>Banking and Identity Details</h5>
        <div class="student-detail-grid">
          <?php $__currentLoopData = $bankingDetails; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $label => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="student-detail-item">
              <span><?php echo e($label); ?></span>
              <strong><?php echo e($value ?: '-'); ?></strong>
            </div>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
      </div>
    </div>
  </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\examproject\examproject_new\resources\views/admin/school/userprofile.blade.php ENDPATH**/ ?>