<!DOCTYPE html>
<html>
<head>
    <title>Student ID Card - <?php echo e($student->student_id); ?></title>
    <style>
        .id-card {
            width: 320px;
            height: 480px;
            border: 2px solid #000;
            margin: 20px auto;
            text-align: center;
            padding: 20px;
            font-family: Arial, sans-serif;
            border-radius: 10px;
            background: #f9f9f9;
        }
        .photo { width: 100px; height: 100px; border-radius: 50%; border: 2px solid #007bff; margin-bottom: 15px; }
        .name { font-size: 20px; font-weight: bold; color: #333; }
        .info { margin-top: 15px; text-align: left; }
        .info p { margin: 5px 0; font-size: 14px; border-bottom: 1px dotted #ccc; }
        .footer { margin-top: 30px; font-weight: bold; color: #007bff; }
        @media print { .no-print { display: none; } }
    </style>
</head>
<body>
    <div class="no-print" style="text-align: center; margin-bottom: 20px;">
        <button onclick="window.print()">প্রিন্ট করুন</button>
    </div>

    <div class="id-card">
        <h3>আপনার প্রতিষ্ঠানের নাম</h3>
        <?php if($student->photo): ?>
            <img src="<?php echo e(asset($student->photo)); ?>" class="photo">
        <?php else: ?>
            <div class="photo" style="background: #ddd; line-height: 100px; display: inline-block;">No Photo</div>
        <?php endif; ?>
        
        <div class="name"><?php echo e($student->name_bn); ?></div>
        
        <div class="info">
            <p><strong>আইডি:</strong> <?php echo e($student->student_id); ?></p>
            <p><strong>শ্রেণি:</strong> <?php echo e($student->class->class_name_bn ?? ''); ?></p>
            <p><strong>রোল:</strong> <?php echo e($student->roll_number); ?></p>
            <p><strong>মোবাইল:</strong> <?php echo e($student->phone); ?></p>
            <p><strong>রক্তের গ্রুপ:</strong> <?php echo e($student->blood_group ?? 'N/A'); ?></p>
        </div>
        
        <div class="footer">প্রধান শিক্ষকের স্বাক্ষর</div>
    </div>
</body>
</html><?php /**PATH /home/naowarin/school.naowarinternational.my.id/resources/views/students/id-card.blade.php ENDPATH**/ ?>