@extends('layouts.app')
@section('title','Print Voucher — BlueBando v3')

@section('content')
  <div class="card full" style="max-width:400px;margin:0 auto">
    <h2 style="margin:0 0 8px;text-align:center">BlueBando WiFi Voucher</h2>
    <div class="muted" style="text-align:center;margin-bottom:8px">
      Router: {{ $router->name }}
    </div>

    <div style="font-size:18px;font-weight:700;text-align:center;margin-bottom:4px">
      {{ $user['name'] }}
    </div>
    <div style="text-align:center;margin-bottom:4px">
      Password: <strong>{{ $user['password'] ?? '******' }}</strong>
    </div>
    <div class="muted" style="text-align:center;font-size:12px">
      Profile: {{ $user['profile'] }}<br>
      Limit uptime: {{ $user['limit_uptime'] ?: '—' }}
    </div>
  </div>

  <div style="margin-top:12px;text-align:center">
    <button class="btn" onclick="window.print()">Print</button>
  </div>
@endsection
