<?php
use yii\helpers\Html;
use yii\helpers\Url;
?>

<div class="mb-4">
    <h2 class="font-weight-bold text-dark">
        <b>Административная панель</b>
    </h2>
    <p class="text-muted" style="font-size: 14px;">Управление системой доставки</p>
</div>

<div class="row">
    <div class="col-lg-12">
        <div class="bg-white rounded-3 mb-4" style="box-shadow: 0 2px 8px rgba(0,0,0,0.08);">
            <div class="p-4">
                <h3 class="font-weight-bold mb-4" style="font-size: 18px;">
                    <b>Быстрые действия</b>
                </h3>
                
                <div class="row">
                    <div class="col-md-4 mb-3">
                        <a href="<?= Url::to(['/admin/user']) ?>" 
                           style="text-decoration: none; color: black; display: block; height: 100%;"
                           onmouseover="this.querySelector('div').style.boxShadow='0 4px 12px rgba(0, 0, 0, 0.15)'"
                           onmouseout="this.querySelector('div').style.boxShadow='none'">
                            <div class="text-center p-4 rounded-3 h-100 bg-white" style="border: 1px solid rgba(124, 124, 124, 0.41); transition: all 0.3s ease;">
                                <i class="fas fa-user-plus mb-3" style="font-size: 32px; color: #1976d2;"></i>
                                <h6 style="font-size: 14px; font-weight: 600; margin-bottom: 8px;">Пользователи</h6>
                                <p style="font-size: 12px; color: #666; margin-bottom: 0;">Управление пользователями системы</p>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-4 mb-3">
                        <a href="<?= Url::to(['/admin/restaurant']) ?>" 
                           style="text-decoration: none; color: black; display: block; height: 100%;"
                           onmouseover="this.querySelector('div').style.boxShadow='0 4px 12px rgba(0, 0, 0, 0.15)'"
                           onmouseout="this.querySelector('div').style.boxShadow='none'">
                            <div class="text-center p-4 rounded-3 h-100 bg-white" style="border: 1px solid rgba(124, 124, 124, 0.41); transition: all 0.3s ease;">
                                <i class="fas fa-utensils mb-3" style="font-size: 32px; color: #2e7d32;"></i>
                                <h6 style="font-size: 14px; font-weight: 600; margin-bottom: 8px;">Рестораны</h6>
                                <p style="font-size: 12px; color: #666; margin-bottom: 0;">Управление ресторанами</p>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-4 mb-3">
                        <a href="<?= Url::to(['/admin/courier']) ?>" 
                           style="text-decoration: none; color: black; display: block; height: 100%;"
                           onmouseover="this.querySelector('div').style.boxShadow='0 4px 12px rgba(0, 0, 0, 0.15)'"
                           onmouseout="this.querySelector('div').style.boxShadow='none'">
                            <div class="text-center p-4 rounded-3 h-100 bg-white" style="border: 1px solid rgba(124, 124, 124, 0.41); transition: all 0.3s ease;">
                                <i class="fas fa-motorcycle mb-3" style="font-size: 32px; color: #ed6c02;"></i>
                                <h6 style="font-size: 14px; font-weight: 600; margin-bottom: 8px;">Курьеры</h6>
                                <p style="font-size: 12px; color: #666; margin-bottom: 0;">Управление курьерами</p>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>