@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
}

:root {
    --orange-50: #fff4e8;
    --orange-100: #ffe3c2;
    --orange-300: #ffb166;
    --orange-500: #ff8c1a;
    --orange-600: #f5760a;
    --orange-700: #cc5f00;
    --orange-900: #7a3800;
    --bs-primary: #ff8c1a;
    --bs-primary-rgb: 255, 140, 26;
}

* {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

body {
    background: linear-gradient(180deg, var(--orange-50) 0%, #fffaf3 100%);
    min-height: 100vh;
}

/* ---------- هدر ---------- */
.app-header {
    background: linear-gradient(90deg, var(--orange-600), var(--orange-500));
    box-shadow: 0 4px 14px rgba(245, 118, 10, 0.25);
}

.app-header .brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.app-header .user-badge {
    color: #fff;
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
}

.icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,0.18);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform .15s ease, background .15s ease;
    text-decoration: none;
}

.icon-btn:hover {
    background: rgba(255,255,255,0.32);
    transform: translateY(-2px);
    color: #fff;
}

.icon-btn svg {
    width: 22px;
    height: 22px;
}

/* ---------- کارت‌ها و باکس‌ها ---------- */
.panel-card {
    background: #fff;
    border: 1px solid var(--orange-100);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(245, 118, 10, 0.08);
}

.hero-icon-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--orange-300), var(--orange-600));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 12px 30px rgba(245, 118, 10, 0.3);
}

.hero-icon-wrap svg {
    width: 68px;
    height: 68px;
    color: #fff;
}

.btn-orange {
    background-color: var(--orange-500);
    border-color: var(--orange-500);
    color: #fff;
}
.btn-orange:hover {
    background-color: var(--orange-700);
    border-color: var(--orange-700);
    color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 26, 0.2);
}

.modal-header {
    background: var(--orange-500);
    color: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}
.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

table thead {
    background-color: var(--orange-500);
    color: #fff;
}

.table-row-hover:hover {
    background-color: var(--orange-50);
}

.badge-type {
    background-color: var(--orange-100);
    color: var(--orange-900);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

.login-card {
    max-width: 380px;
    margin: 8vh auto;
}

a {
    text-decoration: none;
}
