@extends('layouts.app')

@section('content')
<div class="max-w-2xl mx-auto nb-card">
    <div class="nb-spiral" id="sp-closed" data-spiral-count="10"></div>
    <div class="nb-body">
    <h1 class="text-3xl font-bold text-slate-900">Votación no disponible</h1>
    <p class="mt-2 hand text-slate-700">Hola, {{ $student->full_name }} ({{ $student->grade->name }}).</p>
    <div class="mt-4 al-warn">En este momento no hay una elección activa o el horario ya cerró.</div>

    <form method="POST" action="{{ route('logout') }}" class="mt-5">
        @csrf
        <button class="w-full h-14 rounded-2xl bg-slate-700 text-white text-base font-semibold hover:bg-slate-800 transition" type="submit">Cerrar sesión</button>
    </form>
    </div>
</div>
@endsection
