@font-face {
    font-family: 'Aramesh';
    src: url('../dist/fonts/aramesh/w_Aramesh Extra Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Aramesh';
    src: url('../dist/fonts/aramesh/w_Aramesh Light.woff2') format('woff2'),
        url('../dist/fonts/aramesh/w_Aramesh Light.woff') format('woff'),
        url('../dist/fonts/aramesh/w_Aramesh Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Aramesh';
    src: url('../dist/fonts/aramesh/w_Aramesh Medium.woff2') format('woff2'),
        url('../dist/fonts/aramesh/w_Aramesh Medium.woff') format('woff'),
        url('../dist/fonts/aramesh/w_Aramesh Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
}

@font-face {
    font-family: 'Aramesh';
    src: url('../dist/fonts/aramesh/w_Aramesh Semi Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Aramesh';
    src: url('../dist/fonts/aramesh/w_Aramesh Bold.woff2') format('woff2'),
        url('../dist/fonts/aramesh/w_Aramesh Bold.woff') format('woff'),
        url('../dist/fonts/aramesh/w_Aramesh Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
}

* {
    font-family: 'Aramesh', sans-serif;
}

:root {
    --app-bg: #f1f5f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --border: #e2e8f0;
    --border-soft: #eef2f7;

    --text: #0f172a;
    --muted: #64748b;

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: rgba(37, 99, 235, 0.12);

    --sidebar-bg: #0f172a;
    --sidebar-bg-2: #111827;
    --sidebar-text: #94a3b8;
    --sidebar-active: #ffffff;

    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;

    --header-height: 76px;
    --sidebar-width: 285px;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--app-bg);
    color: var(--text);
}

body {
    min-height: 100vh;
}

a {
    text-decoration: none;
}

/* =========================
       Fixed Header
    ========================= */
.app-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1040;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.app-header-inner {
    height: 100%;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}


.brand-logo-img {
    width: 140px;
    height: 50px;
    object-fit: contain;
    display: block;
    background: transparent;
    background-color: transparent;
}

.brand-meta {
    min-width: 0;
}

.brand-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.brand-subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-user-dropdown .dropdown-toggle {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-radius: 14px;
    min-height: 52px;
    padding: 0.45rem 0.85rem 0.45rem 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-user-dropdown .dropdown-toggle:hover,
.header-user-dropdown .dropdown-toggle:focus,
.header-user-dropdown .dropdown-toggle.show {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
}

.header-user-dropdown .dropdown-toggle::after {
    margin-right: 0.25rem;
    color: #cbd5e1;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar i {
    font-size: 1.15rem;
}

.user-meta {
    text-align: right;
    line-height: 1.2;
}

.user-name {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: #ffffff;
}

.user-role {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.header-user-dropdown .dropdown-menu {
    min-width: 240px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
}

.dropdown-user-head {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 0.35rem;
}

.dropdown-user-head .name {
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.dropdown-user-head .desc {
    font-size: 0.8rem;
    color: var(--muted);
}

.header-user-dropdown .dropdown-item {
    border-radius: 12px;
    padding: 0.72rem 0.8rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.header-user-dropdown .dropdown-item:hover {
    background: var(--surface-2);
    color: var(--text);
}

.header-user-dropdown .dropdown-item.text-danger:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--danger);
}

.header-user-dropdown .dropdown-item i {
    font-size: 1.05rem;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
}

/* =========================
       Sidebar
    ========================= */
.app-sidebar {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
    overflow-y: auto;
    padding: 1rem;
    z-index: 1030;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.sidebar-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 0.8rem;
}

.sidebar-welcome {
    padding: 0.8rem 0.9rem 1rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-welcome-title {
    color: #fff;
    font-weight: 800;
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}

.sidebar-welcome-subtitle {
    color: #94a3b8;
    font-size: 0.8rem;
}

.sidebar-section {
    margin-top: 0.75rem;
}

.sidebar-section-title {
    font-size: 0.73rem;
    font-weight: 800;
    color: #64748b;
    margin: 0 0.55rem 0.55rem;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li+li {
    margin-top: 0.28rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    color: var(--sidebar-text);
    padding: 0.88rem 0.9rem;
    border-radius: 14px;
    transition: all 0.2s ease;
    font-size: 0.93rem;
    font-weight: 600;
}

.sidebar-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(-2px);
}

.sidebar-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.28), rgba(37, 99, 235, 0.12));
    border: 1px solid rgba(59, 130, 246, 0.22);
    box-shadow: inset 3px 0 0 var(--primary);
}

.sidebar-link.text-danger {
    color: #fca5a5;
}

.sidebar-link.text-danger:hover {
    color: #fff;
    background: rgba(220, 38, 38, 0.16);
}

/* =========================
       Main Content
    ========================= */
.app-main {
    margin-top: var(--header-height);
    margin-right: var(--sidebar-width);
    min-height: calc(100vh - var(--header-height));
    padding: 1.5rem;
}

.page-shell {
    max-width: 100%;
}

.page-topbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.25rem 1.3rem;
    margin-bottom: 1.35rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-topbar-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text);
}

.page-topbar-subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* =========================
       Generic Components
    ========================= */
.card {
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    font-weight: 800;
    padding: 1rem 1.1rem;
}

.card-body {
    padding: 1.1rem;
}

.btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.62rem 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.15);
}

.form-control,
.form-select {
    min-height: 46px;
    border-radius: 12px;
    border-color: #dbe2ea;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12) !important;
}

.table-responsive.table-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    vertical-align: middle;
}

.table thead th {
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
    border-bottom-width: 1px;
}

.badge {
    border-radius: 999px;
    padding: 0.48rem 0.75rem;
    font-weight: 700;
}

/* =========================
       Toast
    ========================= */
.toast-container {
    position: fixed !important;
    top: auto !important;
    bottom: 24px !important;
    left: 24px !important;
    right: auto !important;
    transform: none !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    pointer-events: none !important;
}

.toast-container .toast {
    display: block !important;
    min-width: 340px !important;
    max-width: 420px !important;
    width: 100% !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.22),
        0 8px 24px rgba(15, 23, 42, 0.14) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

.toast-container .toast .d-flex {
    align-items: stretch !important;
}

.toast-container .toast-body {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    color: #fff !important;
}

.toast-container .toast-body i {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.toast-container .btn-close {
    align-self: center !important;
    margin-left: 12px !important;
    margin-right: auto !important;
    opacity: 0.9 !important;
    filter: brightness(0) invert(1) !important;
    box-shadow: none !important;
}

.toast-container .btn-close:hover {
    opacity: 1 !important;
    transform: scale(1.06) !important;
}

.toast-container .toast.show {
    animation: toastSlideIn .35s ease !important;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Success */
.toast.text-bg-success {
    background:
        linear-gradient(135deg, rgba(22, 163, 74, 0.96) 0%, rgba(34, 197, 94, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Error / Danger */
.toast.text-bg-danger {
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.96) 0%, rgba(239, 68, 68, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Info */
.toast.text-bg-info {
    background:
        linear-gradient(135deg, rgba(2, 132, 199, 0.96) 0%, rgba(14, 165, 233, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Warning */
.toast.text-bg-warning {
    background:
        linear-gradient(135deg, rgba(217, 119, 6, 0.96) 0%, rgba(245, 158, 11, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 768px) {
    .toast-container {
        left: 12px !important;
        right: 12px !important;
        bottom: 14px !important;
        align-items: stretch !important;
    }

    .toast-container .toast {
        min-width: unset !important;
        max-width: unset !important;
        width: 100% !important;
    }

    .toast-container .toast-body {
        font-size: 0.9rem !important;
        padding: 14px 15px !important;
    }
}


/* =========================
       Offcanvas Mobile
    ========================= */
.offcanvas.offcanvas-start {
    width: 300px;
}

.offcanvas .app-sidebar-mobile {
    background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
    min-height: 100%;
    padding: 1rem;
}

/* =========================
       Responsive
    ========================= */
@media (max-width: 991.98px) {
    .mobile-menu-btn {
        display: inline-flex;
    }

    .app-sidebar {
        display: none;
    }

    .app-main {
        margin-right: 0;
        padding: 1rem;
    }

    .app-header-inner {
        padding: 0 1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .user-role {
        display: none;
    }

    .header-user-dropdown .dropdown-toggle {
        min-height: 46px;
        padding: 0.35rem 0.7rem 0.35rem 0.5rem;
    }

    .page-topbar {
        border-radius: 18px;
        padding: 1rem;
    }

    .page-topbar-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 575.98px) {
    .brand-title {
        font-size: 0.92rem;
    }

    .header-user-dropdown .dropdown-toggle .user-meta {
        max-width: 120px;
    }

    .header-user-dropdown .dropdown-toggle .user-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .toast {
        min-width: 250px;
        max-width: calc(100vw - 2rem);
    }
}

/* =========================
   Dashboard Page
========================= */
.dashboard-page {
    width: 100%;
}

.dashboard-header-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
}

.dashboard-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

.dashboard-subtitle {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.dashboard-stats-row .col-md-3 {
    display: flex;
}

.dashboard-stat-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 145px;
    border-radius: 22px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    border: none;
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.dashboard-stat-card::after {
    content: "";
    position: absolute;
    left: -28px;
    bottom: -28px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-stat-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-stat-body {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.dashboard-stat-label {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.dashboard-stat-value {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.dashboard-stat-value span {
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0.9;
}

.stat-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.stat-success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.stat-info {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.stat-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.dashboard-welcome-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--shadow-sm);
}

.dashboard-welcome-card .card-body {
    padding: 1.5rem;
}

.dashboard-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.dashboard-welcome-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.dashboard-welcome-text {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 2;
}

@media (max-width: 991.98px) {
    .dashboard-stat-card {
        min-height: 130px;
    }
}

@media (max-width: 575.98px) {
    .dashboard-header-box {
        padding: 1rem;
        border-radius: 18px;
    }

    .dashboard-title {
        font-size: 1.2rem;
    }

    .dashboard-subtitle {
        font-size: 0.86rem;
    }

    .dashboard-stat-card {
        min-height: auto;
        padding: 1rem;
        border-radius: 18px;
    }

    .dashboard-stat-icon {
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
        border-radius: 14px;
    }

    .dashboard-stat-value {
        font-size: 1.3rem;
    }

    .dashboard-welcome-card {
        border-radius: 18px;
    }

    .dashboard-welcome-title {
        font-size: 1.05rem;
    }

    .dashboard-welcome-text {
        font-size: 0.88rem;
    }
}

/* <?php echo $__env->yieldContent('style');
?> */

/* views/admins/create.blade.php */
body[data-route="admins/create"] {
    --glass-bg: rgba(255, 255, 255, 0.96);
    --primary-gradient: linear-gradient(135deg, #4c6fff 0%, #6f42c1 100%);
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
    --border-soft: 1px solid rgba(255, 255, 255, 0.7);
}

body[data-route="admins/create"] .page-hero {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 28px 30px;
    color: #fff;
    box-shadow: 0 14px 30px rgba(76, 111, 255, 0.18);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

body[data-route="admins/create"] .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 35%);
    pointer-events: none;
}

body[data-route="admins/create"] .hero-title-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

body[data-route="admins/create"] .hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

body[data-route="admins/create"] .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4c6fff;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 18px;
    transition: transform 0.2s ease;
}

body[data-route="admins/create"] .back-link:hover {
    transform: translateX(-3px);
}

body[data-route="admins/create"] .content-card {
    background: var(--glass-bg);
    border: var(--border-soft);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

body[data-route="admins/create"] .section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #374151;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 4px solid #4c6fff;
    padding-right: 12px;
}

body[data-route="admins/create"] .form-control {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 0.85rem 1rem;
    box-shadow: none;
    transition: all 0.2s ease;
}

body[data-route="admins/create"] .form-control:focus {
    border-color: #4c6fff;
    box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.1);
}

body[data-route="admins/create"] .hint-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

body[data-route="admins/create"] .btn-submit {
    background: var(--success-gradient);
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-weight: 800;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-route="admins/create"] .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
    color: #fff;
}

body[data-route="admins/create"] .btn-cancel {
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    color: #6b7280;
}

/* استایل فیلد یوزرنیم برای حالت LTR */
body[data-route="admins/create"] .input-ltr {
    direction: ltr;
    text-align: left;
}

/* views/admins/index.blade.php */
body[data-route="admins"] {
    --glass-bg: rgba(255, 255, 255, 0.96);
    --primary-gradient: linear-gradient(135deg, #4c6fff 0%, #6f42c1 100%);
    --primary-gradient-soft: linear-gradient(135deg, rgba(76, 111, 255, 0.12), rgba(111, 66, 193, 0.12));
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
    --shadow-hover: 0 18px 40px rgba(17, 24, 39, 0.12);
    --border-soft: 1px solid rgba(255, 255, 255, 0.7);
}

body[data-route="admins"] .page-hero {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 28px 30px;
    color: #fff;
    box-shadow: 0 14px 30px rgba(76, 111, 255, 0.18);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

body[data-route="admins"] .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 30%);
    pointer-events: none;
}

body[data-route="admins"] .page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

body[data-route="admins"] .hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

body[data-route="admins"] .hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

body[data-route="admins"] .hero-subtitle {
    margin: 4px 0 0;
    opacity: 0.82;
    font-size: 0.95rem;
}

body[data-route="admins"] .content-card,
body[data-route="admins"] .empty-card,
body[data-route="admins"] .sidebar-card,
body[data-route="admins"] .modal-content {
    background: var(--glass-bg);
    border: var(--border-soft);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body[data-route="admins"] .content-card .card-body,
body[data-route="admins"] .empty-card .card-body,
body[data-route="admins"] .sidebar-card .card-body {
    padding: 24px;
}

body[data-route="admins"] .section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #374151;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 4px solid #4c6fff;
    padding-right: 10px;
}

body[data-route="admins"] .btn-modern {
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

body[data-route="admins"] .btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

body[data-route="admins"] .btn-create {
    background: var(--success-gradient);
    border: none;
    color: #fff;
}

body[data-route="admins"] .btn-create:hover {
    color: #fff;
}

body[data-route="admins"] .table-wrap {
    border-radius: 18px;
    overflow: hidden;
}

body[data-route="admins"] .table-modern {
    margin-bottom: 0;
    vertical-align: middle;
}

body[data-route="admins"] .table-modern thead th {
    background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
    color: #374151;
    font-weight: 800;
    border-bottom: 1px solid #e5edff !important;
    padding: 16px 18px;
    white-space: nowrap;
}

body[data-route="admins"] .table-modern tbody td {
    padding: 16px 18px;
    border-color: #eef2f7;
}

body[data-route="admins"] .table-modern tbody tr {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

body[data-route="admins"] .table-modern tbody tr:hover {
    background: rgba(76, 111, 255, 0.03);
}

body[data-route="admins"] .admin-name {
    font-weight: 700;
    color: #111827;
}

body[data-route="admins"] .self-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(76, 111, 255, 0.12);
    color: #4c6fff;
    font-size: 0.8rem;
    font-weight: 800;
    margin-inline-start: 8px;
}

body[data-route="admins"] .action-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

body[data-route="admins"] .btn-action {
    border-radius: 12px;
    font-weight: 700;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

body[data-route="admins"] .btn-action:hover {
    transform: translateY(-1px);
}

body[data-route="admins"] .btn-edit {
    border-color: rgba(245, 158, 11, 0.35);
    color: #b45309;
    background: rgba(245, 158, 11, 0.08);
}

body[data-route="admins"] .btn-edit:hover {
    color: #92400e;
    background: rgba(245, 158, 11, 0.14);
}

body[data-route="admins"] .btn-delete {
    border-color: rgba(239, 68, 68, 0.28);
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
}

body[data-route="admins"] .btn-delete:hover {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.14);
}

body[data-route="admins"] .empty-state {
    text-align: center;
    padding: 36px 20px;
}

body[data-route="admins"] .empty-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    margin: 0 auto 18px;
    background: var(--primary-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c6fff;
    font-size: 34px;
}

body[data-route="admins"] .empty-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

body[data-route="admins"] .empty-text {
    color: #6b7280;
    margin-bottom: 0;
}

body[data-route="admins"] .modal-header {
    border-bottom: 1px solid #eef2f7;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
}

body[data-route="admins"] .modal-body {
    padding: 22px;
}

body[data-route="admins"] .modal-footer {
    border-top: 1px solid #eef2f7;
    padding: 16px 22px;
    background: #fafbff;
}

body[data-route="admins"] .form-control {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    box-shadow: none;
}

body[data-route="admins"] .form-control:focus {
    border-color: rgba(76, 111, 255, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(76, 111, 255, 0.12);
}

body[data-route="admins"] .hint-text {
    font-size: 0.85rem;
    color: #6b7280;
}

/* views/sms/create.blade.php */
body[data-route="sms/create"] {
    --glass-bg: rgba(255, 255, 255, 0.96);
    --sms-gradient: linear-gradient(135deg, #6f42c1 0%, #4c6fff 100%);
    --sms-gradient-soft: linear-gradient(135deg, rgba(111, 66, 193, 0.12), rgba(76, 111, 255, 0.12));
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
    --shadow-hover: 0 18px 40px rgba(17, 24, 39, 0.12);
    --border-soft: 1px solid rgba(255, 255, 255, 0.7);
}

body[data-route="sms/create"] .page-hero {
    background: var(--sms-gradient);
    border-radius: 24px;
    padding: 28px 30px;
    color: #fff;
    box-shadow: 0 14px 30px rgba(76, 111, 255, 0.18);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

body[data-route="sms/create"] .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 30%);
    pointer-events: none;
}

body[data-route="sms/create"] .page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

body[data-route="sms/create"] .hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

body[data-route="sms/create"] .hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

body[data-route="sms/create"] .hero-subtitle {
    margin: 4px 0 0;
    opacity: 0.82;
    font-size: 0.95rem;
}

body[data-route="sms/create"] .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4c6fff;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 18px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body[data-route="sms/create"] .back-link:hover {
    opacity: 0.85;
    transform: translateX(-2px);
}

body[data-route="sms/create"] .content-card,
body[data-route="sms/create"] .sidebar-card {
    background: var(--glass-bg);
    border: var(--border-soft);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body[data-route="sms/create"] .content-card .card-body,
body[data-route="sms/create"] .sidebar-card .card-body {
    padding: 24px;
}

body[data-route="sms/create"] .section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 4px solid #4c6fff;
    padding-right: 10px;
}

body[data-route="sms/create"] .form-control,
body[data-route="sms/create"] .form-select {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    box-shadow: none;
}

body[data-route="sms/create"] .form-control:focus,
body[data-route="sms/create"] .form-select:focus {
    border-color: rgba(76, 111, 255, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(76, 111, 255, 0.12);
}

body[data-route="sms/create"] textarea.form-control {
    min-height: 170px;
    line-height: 1.9;
}

body[data-route="sms/create"] .hint-box {
    background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
    border: 1px solid #e5edff;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

body[data-route="sms/create"] .hint-title {
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
}

body[data-route="sms/create"] .variable-list code {
    display: inline-block;
    background: #fff;
    border: 1px solid #dbe4ff;
    color: #4c6fff;
    border-radius: 10px;
    padding: 2px 8px;
    margin: 0 4px 6px 0;
    direction: ltr;
}

body[data-route="sms/create"] .btn-submit {
    background: var(--success-gradient);
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-route="sms/create"] .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.22);
}

body[data-route="sms/create"] .btn-cancel {
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
}

body[data-route="sms/create"] .sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
}

body[data-route="sms/create"] .tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body[data-route="sms/create"] .tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #6b7280;
    line-height: 1.8;
}

body[data-route="sms/create"] .tips-list i {
    color: #22c55e;
    margin-top: 3px;
    flex: 0 0 auto;
}

/* views/sms/edit.blade.php */
body[data-route="sms/edit"] {
    --glass-bg: rgba(255, 255, 255, 0.96);
    --sms-gradient: linear-gradient(135deg, #6f42c1 0%, #4c6fff 100%);
    --sms-gradient-soft: linear-gradient(135deg, rgba(111, 66, 193, 0.12), rgba(76, 111, 255, 0.12));
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
    --shadow-hover: 0 18px 40px rgba(17, 24, 39, 0.12);
    --border-soft: 1px solid rgba(255, 255, 255, 0.7);
}

body[data-route="sms/edit"] .page-hero {
    background: var(--sms-gradient);
    border-radius: 24px;
    padding: 28px 30px;
    color: #fff;
    box-shadow: 0 14px 30px rgba(76, 111, 255, 0.18);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

body[data-route="sms/edit"] .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 30%);
    pointer-events: none;
}

body[data-route="sms/edit"] .page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

body[data-route="sms/edit"] .hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

body[data-route="sms/edit"] .hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

body[data-route="sms/edit"] .hero-subtitle {
    margin: 4px 0 0;
    opacity: 0.82;
    font-size: 0.95rem;
}

body[data-route="sms/edit"] .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4c6fff;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 18px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body[data-route="sms/edit"] .back-link:hover {
    opacity: 0.85;
    transform: translateX(-2px);
}

body[data-route="sms/edit"] .content-card,
body[data-route="sms/edit"] .sidebar-card {
    background: var(--glass-bg);
    border: var(--border-soft);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body[data-route="sms/edit"] .content-card .card-body,
body[data-route="sms/edit"] .sidebar-card .card-body {
    padding: 24px;
}

body[data-route="sms/edit"] .section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #374151;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 4px solid #4c6fff;
    padding-right: 10px;
}

body[data-route="sms/edit"] .form-control,
body[data-route="sms/edit"] .form-select {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    box-shadow: none;
}

body[data-route="sms/edit"] .form-control:focus,
body[data-route="sms/edit"] .form-select:focus {
    border-color: rgba(76, 111, 255, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(76, 111, 255, 0.12);
}

body[data-route="sms/edit"] textarea.form-control {
    min-height: 170px;
    line-height: 1.9;
}

body[data-route="sms/edit"] .hint-box {
    background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
    border: 1px solid #e5edff;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

body[data-route="sms/edit"] .hint-title {
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
}

body[data-route="sms/edit"] .variable-list code {
    display: inline-block;
    background: #fff;
    border: 1px solid #dbe4ff;
    color: #4c6fff;
    border-radius: 10px;
    padding: 2px 8px;
    margin: 0 4px 6px 0;
    direction: ltr;
}

body[data-route="sms/edit"] .active-switch-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    margin-bottom: 18px;
}

body[data-route="sms/edit"] .active-switch-label {
    font-weight: 700;
    color: #374151;
    margin: 0;
}

body[data-route="sms/edit"] .form-check-input {
    cursor: pointer;
    width: 2.6em;
    height: 1.35em;
}

body[data-route="sms/edit"] .btn-submit {
    background: var(--success-gradient);
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-route="sms/edit"] .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.22);
}

body[data-route="sms/edit"] .btn-cancel {
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
}

body[data-route="sms/edit"] .sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
}

body[data-route="sms/edit"] .tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body[data-route="sms/edit"] .tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #6b7280;
    line-height: 1.8;
}

body[data-route="sms/edit"] .tips-list i {
    color: #22c55e;
    margin-top: 3px;
    flex: 0 0 auto;
}

/* views/sms/index.blade.php */
body[data-route="sms"] {
    --glass-bg: rgba(255, 255, 255, 0.96);
    --sms-gradient: linear-gradient(135deg, #6f42c1 0%, #4c6fff 100%);
    --sms-gradient-soft: linear-gradient(135deg, rgba(111, 66, 193, 0.12), rgba(76, 111, 255, 0.12));
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
    --shadow-hover: 0 18px 40px rgba(17, 24, 39, 0.12);
    --border-soft: 1px solid rgba(255, 255, 255, 0.7);
}

body[data-route="sms"] .page-hero {
    background: var(--sms-gradient);
    border-radius: 24px;
    padding: 28px 30px;
    color: #fff;
    box-shadow: 0 14px 30px rgba(76, 111, 255, 0.18);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

body[data-route="sms"] .page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 30%);
    pointer-events: none;
}

body[data-route="sms"] .page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

body[data-route="sms"] .hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

body[data-route="sms"] .hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

body[data-route="sms"] .hero-subtitle {
    margin: 4px 0 0;
    opacity: 0.82;
    font-size: 0.95rem;
}

body[data-route="sms"] .action-btn {
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

body[data-route="sms"] .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

body[data-route="sms"] .action-btn-primary {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

body[data-route="sms"] .action-btn-primary:hover {
    color: #fff;
    opacity: 0.96;
}

body[data-route="sms"] .sms-card {
    background: var(--glass-bg);
    border: var(--border-soft);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

body[data-route="sms"] .sms-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

body[data-route="sms"] .sms-card .card-body {
    padding: 22px;
}

body[data-route="sms"] .template-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

body[data-route="sms"] .template-title {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1f2937;
    line-height: 1.5;
}

body[data-route="sms"] .template-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--sms-gradient-soft);
    color: #4c6fff;
    border: 1px solid rgba(76, 111, 255, 0.14);
}

body[data-route="sms"] .template-preview {
    color: #6b7280;
    font-size: 0.94rem;
    line-height: 1.9;
    min-height: 72px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    white-space: normal;
}

body[data-route="sms"] .template-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

body[data-route="sms"] .btn-soft {
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

body[data-route="sms"] .btn-soft:hover {
    transform: translateY(-1px);
}

body[data-route="sms"] .btn-outline-view {
    border: 1px solid rgba(76, 111, 255, 0.25);
    color: #4c6fff;
    background: rgba(76, 111, 255, 0.04);
}

body[data-route="sms"] .btn-outline-view:hover {
    background: rgba(76, 111, 255, 0.1);
    color: #3556ff;
}

body[data-route="sms"] .btn-outline-edit {
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #b45309;
    background: rgba(245, 158, 11, 0.05);
}

body[data-route="sms"] .btn-outline-edit:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
}

body[data-route="sms"] .template-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    flex-shrink: 0;
}

body[data-route="sms"] .template-switch .form-check-input {
    cursor: pointer;
    width: 2.6em;
    height: 1.35em;
}

body[data-route="sms"] .empty-state {
    background: var(--glass-bg);
    border: var(--border-soft);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 40px 24px;
    text-align: center;
}

body[data-route="sms"] .empty-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #4c6fff;
    background: var(--sms-gradient-soft);
}

body[data-route="sms"] .modal-content {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

body[data-route="sms"] .modal-header {
    background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
    border-bottom: 1px solid #edf2f7;
    padding: 16px 20px;
}

body[data-route="sms"] .modal-title {
    font-weight: 800;
    color: #1f2937;
}

body[data-route="sms"] .modal-body {
    padding: 20px;
    color: #374151;
    line-height: 2;
    background: #fff;
}

body[data-route="sms"] .modal-body .template-full {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 16px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* views/sms/low-balance.blade.php */
body[data-route="sms/low-balance"] {
    --limit-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --limit-soft: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.08));
    --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.08);
}

body[data-route="sms/low-balance"] .limit-hero {
    background: var(--limit-gradient);
    border-radius: 24px;
    padding: 28px 30px;
    color: #fff;
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.18);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

body[data-route="sms/low-balance"] .limit-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.17);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

body[data-route="sms/low-balance"] .settings-card,
body[data-route="sms/low-balance"] .info-card {
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body[data-route="sms/low-balance"] .settings-card .card-body,
body[data-route="sms/low-balance"] .info-card .card-body {
    padding: 24px;
}

body[data-route="sms/low-balance"] .section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #374151;
    padding-right: 10px;
    border-right: 4px solid #f59e0b;
    margin-bottom: 18px;
}

body[data-route="sms/low-balance"] .form-control {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 0.85rem 1rem;
}

body[data-route="sms/low-balance"] .form-control:focus {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.12);
}

body[data-route="sms/low-balance"] .active-box {
    background: var(--limit-soft);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

body[data-route="sms/low-balance"] .recipient-card {
    display: block;
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 15px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

body[data-route="sms/low-balance"] .recipient-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.45);
    background: #fffbeb;
}

body[data-route="sms/low-balance"] .recipient-card .form-check {
    margin: 0;
}

body[data-route="sms/low-balance"] .recipient-card .form-check-label {
    font-weight: 700;
    cursor: pointer;
}

body[data-route="sms/low-balance"] .hint-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    color: #4b5563;
    line-height: 1.9;
}

body[data-route="sms/low-balance"] .variable-list code {
    display: inline-block;
    direction: ltr;
    background: #fff;
    border: 1px solid #fde68a;
    color: #b45309;
    border-radius: 8px;
    padding: 2px 7px;
    margin: 3px 0;
}

body[data-route="sms/low-balance"] .btn-save {
    background: var(--limit-gradient);
    border: none;
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 800;
}

body[data-route="sms/low-balance"] .user-limit-search {
    position: relative;
    width: min(100%, 320px);
}

body[data-route="sms/low-balance"] .user-limit-search>i {
    position: absolute;
    right: 14px;
    top: 50%;
    z-index: 2;
    color: #9ca3af;
    transform: translateY(-50%);
}

body[data-route="sms/low-balance"] .user-limit-search .form-control {
    padding-right: 40px;
}

body[data-route="sms/low-balance"] .user-limits-table thead th {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    border-bottom-color: #e5e7eb;
}

body[data-route="sms/low-balance"] .user-limits-table td {
    padding-top: 14px;
    padding-bottom: 14px;
    border-bottom-color: #f1f5f9;
}

body[data-route="sms/low-balance"] .balance-badge {
    display: inline-flex;
    color: #334155;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 7px 10px;
    white-space: nowrap;
    font-weight: 700;
}

body[data-route="sms/low-balance"] .user-limit-form {
    display: grid;
    grid-template-columns: minmax(96px, auto) minmax(150px, 210px) auto;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

body[data-route="sms/low-balance"] .user-status-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

body[data-route="sms/low-balance"] .user-status-toggle .status-label {
    min-width: 48px;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 700;
}

body[data-route="sms/low-balance"] .threshold-input .form-control {
    min-width: 90px;
    padding: 0.55rem 0.75rem;
}

body[data-route="sms/low-balance"] .threshold-input .input-group-text {
    border-color: #e5e7eb;
    border-radius: 14px 0 0 14px;
}

body[data-route="sms/low-balance"] .user-limit-form .btn {
    border: none;
    border-radius: 11px;
    padding: 0.62rem 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    body[data-route="sms/low-balance"] .limit-hero {
        padding: 22px 20px;
    }

    body[data-route="sms/low-balance"] .user-limit-search {
        width: 100%;
    }

    body[data-route="sms/low-balance"] .user-limit-form {
        grid-template-columns: 1fr;
        min-width: 210px;
        justify-items: stretch;
    }

    body[data-route="sms/low-balance"] .user-limit-form .user-status-toggle {
        justify-content: space-between;
    }
}

/* views/users/create.blade.php */
body[data-route="users/create"] .page-wrapper {
    direction: rtl;
    font-family: inherit;
}

/* هدر مدرن */
body[data-route="users/create"] .page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #334155 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

body[data-route="users/create"] .page-hero .hero-title {
    font-weight: 900;
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-route="users/create"] .page-hero .hero-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

body[data-route="users/create"] .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

body[data-route="users/create"] .back-link:hover {
    color: #0f172a;
    transform: translateX(-3px);
}

/* استایل کارت‌های پنل */
body[data-route="users/create"] .panel-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    background: #fff;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body[data-route="users/create"] .card-financial {
    margin-bottom: 40px;
    /* افزایش فاصله بین کارت مالی و پیامک */
}

body[data-route="users/create"] .panel-card .card-header {
    background-color: #fafbfd;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 24px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

body[data-route="users/create"] .panel-card .card-body {
    padding: 24px;
}

body[data-route="users/create"] .card-header-title {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
    margin: 0;
}

body[data-route="users/create"] .header-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.1rem;
}

body[data-route="users/create"] .header-icon-box.accent {
    background: #faf5ff;
    color: #7c3aed;
}

/* فرم‌ها و فیلدها */
body[data-route="users/create"] .form-label.fw-600 {
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body[data-route="users/create"] .input-group {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    transition: border-color 0.2s, box-shadow 0.2s;
}

body[data-route="users/create"] .input-group:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

body[data-route="users/create"] .input-group-text {
    background-color: #f8fafc;
    border: none;
    color: #64748b;
}

body[data-route="users/create"] .input-group .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

/* چک‌باکس‌های شکیل و تغییر رنگ داینامیک */
body[data-route="users/create"] .sms-check-card {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    cursor: pointer;
}

body[data-route="users/create"] .sms-check-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-left: 12px;
    cursor: pointer;
    accent-color: #10b981;
}

body[data-route="users/create"] .sms-check-card label {
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    margin: 0;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    transition: color 0.3s ease;
}

/* استایل حالت فعال (تغییر رنگ به سبز) */
body[data-route="users/create"] .sms-check-card.checked-active {
    border-color: #10b981;
    background: #f0fdf4;
}

body[data-route="users/create"] .sms-check-card.checked-active label {
    color: #059669 !important;
}

body[data-route="users/create"] .sms-check-card.checked-active i {
    color: #10b981 !important;
}

/* دکمه‌های پایینی حرفه‌ای */
body[data-route="users/create"] .action-container {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

body[data-route="users/create"] .btn-submit {
    flex: 2;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
}

body[data-route="users/create"] .btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.35);
    filter: brightness(1.1);
    color: #fff;
}

body[data-route="users/create"] .btn-cancel {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 14px;
    padding: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

body[data-route="users/create"] .btn-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

body[data-route="users/create"] .help-text {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 6px;
}

/* views/users/edit.blade.php */
body[data-route="users/edit"] .page-wrapper {
    direction: rtl;
    font-family: inherit;
}

/* هدر مدرن */
body[data-route="users/edit"] .page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #334155 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

body[data-route="users/edit"] .page-hero .hero-title {
    font-weight: 900;
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-route="users/edit"] .page-hero .hero-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

body[data-route="users/edit"] .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

body[data-route="users/edit"] .back-link:hover {
    color: #0f172a;
    transform: translateX(-3px);
}

/* کارت‌ها */
body[data-route="users/edit"] .panel-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    background: #fff;
    margin-bottom: 24px;
}

body[data-route="users/edit"] .panel-card .card-header {
    background-color: #fafbfd;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 24px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

body[data-route="users/edit"] .panel-card .card-body {
    padding: 24px;
}

body[data-route="users/edit"] .card-header-title {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
    margin: 0;
}

body[data-route="users/edit"] .header-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.1rem;
}

body[data-route="users/edit"] .header-icon-box.accent {
    background: #faf5ff;
    color: #7c3aed;
}

/* فرم‌ها */
body[data-route="users/edit"] .form-label.fw-600 {
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body[data-route="users/edit"] .input-group {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    transition: border-color 0.2s, box-shadow 0.2s;
}

body[data-route="users/edit"] .input-group:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

body[data-route="users/edit"] .input-group-text {
    background-color: #f8fafc;
    border: none;
    color: #64748b;
}

body[data-route="users/edit"] .input-group .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

/* باکس مالی */
body[data-route="users/edit"] .wallet-display-box {
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    background: #f8fafc;
    text-align: center;
}

body[data-route="users/edit"] .wallet-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: #059669;
    margin-bottom: 5px;
}

/* دکمه‌ها */
body[data-route="users/edit"] .action-container {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

body[data-route="users/edit"] .btn-submit {
    flex: 2;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
}

body[data-route="users/edit"] .btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.35);
    filter: brightness(1.1);
    color: #fff;
}

body[data-route="users/edit"] .btn-cancel {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    border-radius: 14px;
    padding: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

body[data-route="users/edit"] .btn-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* views/users/transactions.blade.php */
body[data-route="users/transactions"] .page-wrapper {
    direction: rtl;
    font-family: inherit;
}

body[data-route="users/transactions"] .page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #334155 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

body[data-route="users/transactions"] .page-hero::before {
    content: '';
    position: absolute;
    top: -35%;
    left: -10%;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

body[data-route="users/transactions"] .page-hero .hero-title {
    font-weight: 900;
    margin: 0;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-route="users/transactions"] .page-hero .hero-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

body[data-route="users/transactions"] .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 18px;
    font-size: 0.92rem;
}

body[data-route="users/transactions"] .back-link:hover {
    color: #0f172a;
    transform: translateX(-3px);
}

body[data-route="users/transactions"] .action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

body[data-route="users/transactions"] .action-bar .page-title {
    margin: 0;
    font-weight: 900;
    color: #0f172a;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

body[data-route="users/transactions"] .panel-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    background: #fff;
    margin-bottom: 24px;
    overflow: hidden;
}

body[data-route="users/transactions"] .panel-card .card-header {
    background-color: #fafbfd;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

body[data-route="users/transactions"] .panel-card .card-body {
    padding: 24px;
}

body[data-route="users/transactions"] .card-header-title {
    font-weight: 800;
    font-size: 1rem;
    color: #0f172a;
    margin: 0;
}

body[data-route="users/transactions"] .header-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

body[data-route="users/transactions"] .header-icon-box.accent {
    background: #faf5ff;
    color: #7c3aed;
}

body[data-route="users/transactions"] .header-icon-box.success {
    background: #ecfdf5;
    color: #059669;
}

body[data-route="users/transactions"] .header-icon-box.danger {
    background: #fef2f2;
    color: #dc2626;
}

body[data-route="users/transactions"] .header-icon-box.warning {
    background: #fffbeb;
    color: #d97706;
}

body[data-route="users/transactions"] .tx-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body[data-route="users/transactions"] .tx-stat-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

body[data-route="users/transactions"] .tx-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

body[data-route="users/transactions"] .tx-stat-card .card-body {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

body[data-route="users/transactions"] .tx-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex: 0 0 auto;
}

body[data-route="users/transactions"] .tx-hero-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #fff;
    position: relative;
    margin-bottom: 24px;
}

body[data-route="users/transactions"] .tx-hero-card::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -8%;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

body[data-route="users/transactions"] .tx-hero-card .card-body {
    padding: 26px;
    position: relative;
    z-index: 1;
}

body[data-route="users/transactions"] .tx-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex: 0 0 auto;
}

body[data-route="users/transactions"] .tx-user-name {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 6px;
}

body[data-route="users/transactions"] .tx-meta {
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.92rem;
}

body[data-route="users/transactions"] .tx-wallet-box {
    min-width: 220px;
    text-align: end;
}

body[data-route="users/transactions"] .tx-wallet-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 6px;
}

body[data-route="users/transactions"] .tx-wallet-amount {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
}

body[data-route="users/transactions"] .btn-action {
    border-radius: 14px;
    padding: 0.8rem 1rem;
    font-weight: 800;
    border: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

body[data-route="users/transactions"] .btn-action:hover {
    transform: translateY(-2px);
}

body[data-route="users/transactions"] .btn-soft-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.22);
}

body[data-route="users/transactions"] .btn-soft-primary:hover {
    color: #fff;
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.3);
}

body[data-route="users/transactions"] .btn-soft-success {
    background: linear-gradient(135deg, #16a34a 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.22);
}

body[data-route="users/transactions"] .btn-soft-success:hover {
    color: #fff;
}

body[data-route="users/transactions"] .btn-soft-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.18);
}

body[data-route="users/transactions"] .btn-soft-danger:hover {
    color: #fff;
}

body[data-route="users/transactions"] .tx-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    background: #fff;
}

body[data-route="users/transactions"] .tx-table thead th {
    font-size: 0.86rem;
    font-weight: 700;
    color: #64748b;
    background: #fafbfd;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    white-space: nowrap;
}

body[data-route="users/transactions"] .tx-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
}

body[data-route="users/transactions"] .tx-table tbody tr {
    transition: background 0.15s ease;
}

body[data-route="users/transactions"] .tx-table tbody tr:hover {
    background: #f8fafc;
}

body[data-route="users/transactions"] .tx-amount-credit {
    color: #16a34a;
    font-weight: 800;
}

body[data-route="users/transactions"] .tx-amount-debit {
    color: #dc2626;
    font-weight: 800;
}

body[data-route="users/transactions"] .tx-type-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex: 0 0 auto;
}

body[data-route="users/transactions"] .tx-type-icon.credit {
    background: #dcfce7;
    color: #16a34a;
}

body[data-route="users/transactions"] .tx-type-icon.debit {
    background: #fee2e2;
    color: #dc2626;
}

body[data-route="users/transactions"] .empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    background: #fafbfd;
    color: #64748b;
}

@media (max-width: 991.98px) {
    body[data-route="users/transactions"] .tx-summary-grid {
        grid-template-columns: 1fr;
    }

    body[data-route="users/transactions"] .tx-wallet-box {
        min-width: 0;
        text-align: start;
        width: 100%;
    }

    body[data-route="users/transactions"] .tx-hero-card .card-body {
        padding: 22px;
    }
}

/* views/wallet/credit.blade.php */
body[data-route="wallet/credit"] {
    --glass-bg: rgba(255, 255, 255, 0.95);
    --primary-gradient: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body[data-route="wallet/credit"] .hero-header {
    background: var(--primary-gradient);
    border-radius: 20px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 176, 155, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
}

body[data-route="wallet/credit"] .hero-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    backdrop-filter: blur(5px);
}

body[data-route="wallet/credit"] .deposit-card {
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body[data-route="wallet/credit"] .form-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 4px solid #00b09b;
    padding-right: 10px;
}

body[data-route="wallet/credit"] .input-group-text-custom {
    background-color: #f8f9fa;
    border-left: none;
    color: #6c757d;
}

body[data-route="wallet/credit"] .sms-option-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 8px;
    cursor: pointer;
}

body[data-route="wallet/credit"] .sms-option-card:hover {
    background-color: #f0fdf4;
}

body[data-route="wallet/credit"] .form-check-input:checked+.form-check-label {
    color: #198754;
    font-weight: 600;
}

body[data-route="wallet/credit"] .btn-submit {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-weight: 700;
    transition: transform 0.2s;
}

body[data-route="wallet/credit"] .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 176, 155, 0.3);
}

body[data-route="wallet/credit"] .amount-input {
    font-family: 'Aramesh', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #198754;
    text-align: center;
}

/* views/wallet/debit.blade.php */
body[data-route="wallet/debit"] {
    --glass-bg: rgba(255, 255, 255, 0.95);
    --danger-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body[data-route="wallet/debit"] .hero-header {
    background: var(--danger-gradient);
    border-radius: 20px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.18);
    display: flex;
    align-items: center;
    gap: 20px;
}

body[data-route="wallet/debit"] .hero-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    backdrop-filter: blur(5px);
    flex: 0 0 auto;
}

body[data-route="wallet/debit"] .debit-card {
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body[data-route="wallet/debit"] .form-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 4px solid #dc3545;
    padding-right: 10px;
}

body[data-route="wallet/debit"] .input-group-text-custom {
    background-color: #f8f9fa;
    border-left: none;
    color: #6c757d;
}

body[data-route="wallet/debit"] .amount-input {
    font-family: inherit;
    font-weight: 700;
    font-size: 1.1rem;
    color: #dc3545;
    text-align: center;
}

body[data-route="wallet/debit"] .sms-option-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 8px;
    cursor: pointer;
    background: #fff;
}

body[data-route="wallet/debit"] .sms-option-card:hover {
    background-color: #fff5f5;
    border-color: #f5c2c7;
}

body[data-route="wallet/debit"] .form-check-input:checked+.form-check-label {
    color: #dc3545;
    font-weight: 600;
}

body[data-route="wallet/debit"] .btn-submit {
    background: var(--danger-gradient);
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

body[data-route="wallet/debit"] .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.28);
}

body[data-route="wallet/debit"] .btn-outline-secondary {
    border-radius: 12px;
    padding: 15px;
}

/* views/auth/login.blade.php */
body.login-page {
    --login-bg-image: url('../images/login-bg.jpg');
    --accent: #4f46e5;
    --accent-soft: #818cf8;
    --card-bg: rgba(255, 255, 255, 0.60);
    --card-border: rgba(255, 255, 255, 0.90);
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --input-bg: #f8fafc;
    --shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

body.login-page * {
    font-family: 'Aramesh', sans-serif;
    box-sizing: border-box;
}

body.login-page {
    margin: 0 !important;
    min-height: 100vh !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
    align-items: center !important;
    direction: ltr !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow-x: hidden !important;

    background-color: #0f172a !important;
    background-image:
        linear-gradient(135deg,
            rgba(15, 23, 42, 0.50) 0%,
            rgba(88, 72, 210, 0.10) 50%,
            rgba(15, 23, 42, 0.56) 100%),
        var(--login-bg-image) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}


/* پس‌زمینه مستقیماً روی body قرار دارد تا پشت لایه اصلی مخفی نشود. */
body.login-page::before {
    content: none;
}



/* لایه گرادیان روی تصویر برای خوانایی و حس حرفه‌ای */
body.login-page::after {
    content: none;
}





/* body::after {
            content: '';
            position: fixed;
            inset: 0;
            z-index: -1;
            background:
                linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(79, 70, 229, 0.45) 50%, rgba(15, 23, 42, 0.8) 100%);
            backdrop-filter: blur(2px);
        } */

body.login-page .login-container {
    width: 100% !important;
    max-width: 420px !important;
    margin-inline: auto !important;
    padding-inline: 0.75rem !important;
    direction: rtl !important;
    justify-self: center !important;
    position: relative !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    animation: fadeUp 0.6s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.login-page .card {
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    border-radius: 24px;
    overflow: hidden;
}

body.login-page .card-body {
    padding: 2.25rem 2rem 2rem;
}

body.login-page .brand-block {
    text-align: center;
    margin-bottom: 1.75rem;
}


body.login-page .logo-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #4f46e5 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow:
        0 14px 32px rgba(79, 70, 229, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

body.login-page .brand-logo {
    width: 76px;
    height: auto;
    max-width: 76px;
    max-height: 76px;
    object-fit: contain;
    display: block;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.3));
}

body.login-page .brand-block p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

body.login-page .form-label {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

body.login-page .input-group-wrap {
    position: relative;
    margin-bottom: 1.1rem;
}

body.login-page .input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.15rem;
    pointer-events: none;
    z-index: 2;
}

body.login-page .form-control {
    border-radius: 12px;
    padding: 0.8rem 3rem 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    background: var(--input-bg);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}


body.login-page .form-control::placeholder {
    color: #94a3b8;
}

body.login-page .form-control:focus {
    border-color: var(--accent-soft);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

body.login-page .btn-login {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #6366f1 45%, #7c3aed 100%);
    border: none;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

body.login-page .btn-login:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.4);
}

body.login-page .btn-login:active {
    transform: translateY(0);
}

body.login-page hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 1.5rem 0 0;
    opacity: 1;
}



/* =========================
       Toast
    ========================= */
body.login-page .toast-container {
    position: fixed !important;
    top: auto !important;
    bottom: 24px !important;
    left: 24px !important;
    right: auto !important;
    transform: none !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    pointer-events: none !important;
}

body.login-page .toast-container .toast {
    display: block !important;
    min-width: 340px !important;
    max-width: 420px !important;
    width: 100% !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.22),
        0 8px 24px rgba(15, 23, 42, 0.14) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

body.login-page .toast-container .toast .d-flex {
    align-items: stretch !important;
}

body.login-page .toast-container .toast-body {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    color: #fff !important;
}

body.login-page .toast-container .toast-body i {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

body.login-page .toast-container .btn-close {
    align-self: center !important;
    margin-left: 12px !important;
    margin-right: auto !important;
    opacity: 0.9 !important;
    filter: brightness(0) invert(1) !important;
    box-shadow: none !important;
}

body.login-page .toast-container .btn-close:hover {
    opacity: 1 !important;
    transform: scale(1.06) !important;
}

body.login-page .toast-container .toast.show {
    animation: toastSlideIn .35s ease !important;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Success */
body.login-page .toast.text-bg-success {
    background:
        linear-gradient(135deg, rgba(22, 163, 74, 0.96) 0%, rgba(34, 197, 94, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Error / Danger */
body.login-page .toast.text-bg-danger {
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.96) 0%, rgba(239, 68, 68, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Info */
body.login-page .toast.text-bg-info {
    background:
        linear-gradient(135deg, rgba(2, 132, 199, 0.96) 0%, rgba(14, 165, 233, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

/* Warning */
body.login-page .toast.text-bg-warning {
    background:
        linear-gradient(135deg, rgba(217, 119, 6, 0.96) 0%, rgba(245, 158, 11, 0.92) 100%) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 991.98px) {
    body.login-page {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 1rem !important;
    }

    body.login-page .login-container {
        max-width: 440px !important;
        padding-inline: 0 !important;
    }
}

@media (max-width: 768px) {
    body.login-page {
        align-items: start !important;
        padding-top: 1.25rem !important;
        background-image:
            linear-gradient(180deg,
                rgba(15, 23, 42, 0.18) 0%,
                rgba(15, 23, 42, 0.32) 100%),
            url('../images/login-bg-mobile.jpg') !important;
        background-position: center top !important;
        background-attachment: scroll !important;
    }

    body.login-page .toast-container {
        left: 12px !important;
        right: 12px !important;
        bottom: 14px !important;
        align-items: stretch !important;
    }

    body.login-page .toast-container .toast {
        min-width: unset !important;
        max-width: unset !important;
        width: 100% !important;
    }

    body.login-page .toast-container .toast-body {
        font-size: 0.9rem !important;
        padding: 14px 15px !important;
    }
}

@media (max-width: 480px) {
    body.login-page .card-body {
        padding: 1.75rem 1.25rem;
    }

    body.login-page {
        background-attachment: scroll;
    }
}

/* View utility classes migrated from inline styles */
.initially-hidden {
    display: none;
}

.text-credit-muted {
    color: rgba(21, 128, 61, 0.8);
}

.text-credit {
    color: #15803d;
}

.text-debit-muted {
    color: rgba(220, 53, 69, 0.8);
}

.text-debit {
    color: #dc3545;
}

.rounded-field {
    border-radius: 12px;
}

.rounded-action-content {
    border-radius: 12px;
    padding: 15px;
}

.section-divider {
    border-color: #f1f5f9;
}

.wallet-toman-note {
    font-size: 0.85rem;
}

.text-coral {
    color: lightcoral;
}

.table-text-right {
    text-align: right;
}

.form-text-danger {
    color: red;
}

/* All visible Persian numbers are rendered 2px larger than surrounding text. */
.persian-number {
    font-size: calc(1em + 2px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
