@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');

/*
 * IranSAMP UCP — modern visual layer
 * This file intentionally contains presentation-only overrides.
 */
:root {
    --irs-navy-950: #050816;
    --irs-navy-900: #081127;
    --irs-navy-800: #0d1d3f;
    --irs-blue-700: #1d4ed8;
    --irs-blue-600: #2563eb;
    --irs-blue-500: #3b82f6;
    --irs-cyan-400: #22d3ee;
    --irs-violet-500: #7c3aed;
    --irs-surface: rgba(255, 255, 255, .96);
    --irs-surface-soft: rgba(248, 250, 252, .86);
    --irs-border: rgba(148, 163, 184, .20);
    --irs-text: #0f172a;
    --irs-muted: #64748b;
    --irs-radius-xl: 26px;
    --irs-radius-lg: 18px;
    --irs-shadow: 0 24px 70px rgba(2, 8, 23, .18);
    --irs-shadow-soft: 0 12px 36px rgba(15, 23, 42, .09);
}

html {
    min-height: 100%;
    background: var(--irs-navy-950);
    scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
    font-family: "Vazirmatn", IRANYekan-L, Tahoma, "Segoe UI", Arial, sans-serif !important;
}

body {
    direction: rtl;
    color: var(--irs-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.main {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 12%, rgba(14, 165, 233, .20), transparent 25rem),
        radial-gradient(circle at 92% 88%, rgba(124, 58, 237, .17), transparent 30rem),
        linear-gradient(145deg, #b9c8dc 0%, #d3dce9 50%, #c5cce1 100%) !important;
    background-attachment: fixed !important;
}

body.main::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .4;
    background-image:
        linear-gradient(rgba(59, 130, 246, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, .035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a,
button,
.box,
.side-menu,
.menu,
.form-control {
    transition: color .2s ease, background .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .2s ease, opacity .2s ease !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(34, 211, 238, .35) !important;
    outline-offset: 2px;
}

/* Desktop navigation — rebuilt as a horizontal command bar */
body.main > .flex {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh;
}

.side-nav {
    position: sticky;
    top: 12px;
    z-index: 55;
    display: flex !important;
    align-items: center;
    width: calc(100% - 28px) !important;
    min-width: 0 !important;
    min-height: 78px;
    margin: 14px !important;
    padding: 10px 16px !important;
    border: 1px solid rgba(125, 211, 252, .18);
    border-radius: 22px;
    background:
        linear-gradient(120deg, rgba(17, 35, 67, .96), rgba(31, 48, 86, .96) 62%, rgba(49, 46, 129, .92)) !important;
    box-shadow: 0 18px 52px rgba(15, 23, 42, .22);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.side-nav > a:first-child {
    flex: 0 0 auto;
    min-height: 54px;
    padding: 8px 12px !important;
    border-radius: 18px;
}

.side-nav > a:first-child span {
    font-size: 1rem !important;
    letter-spacing: -.02em;
    color: #f8fafc !important;
}

.side-nav__devider {
    width: 1px !important;
    height: 36px !important;
    margin: 0 18px !important;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, .34), transparent) !important;
}

.side-nav ul {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.side-nav ul li:last-child {
    margin-right: auto;
}

.side-menu {
    width: auto !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid transparent;
    border-radius: 15px !important;
    color: #cbd5e1 !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none;
}

.side-nav > ul > li > .side-menu.side-menu--active::before,
.side-nav > ul > li > .side-menu.side-menu--active::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background-image: none !important;
}

.side-nav > ul > li > .side-menu.side-menu--active .side-menu__icon::before,
.side-nav > ul > li > .side-menu:not(.side-menu--active) .side-menu__icon::before {
    display: none !important;
    content: none !important;
}

.side-menu:hover {
    color: #fff !important;
    border-color: rgba(125, 211, 252, .18);
    background: rgba(255, 255, 255, .08) !important;
    transform: translateY(-2px);
}

.side-menu--active,
.side-menu.is-current {
    color: #fff !important;
    border-color: rgba(125, 211, 252, .25) !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, .96), rgba(124, 58, 237, .88)) !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
}

.side-menu__icon {
    width: 24px !important;
    margin-left: 12px !important;
    opacity: .9;
}

.side-menu__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

.side-menu__title {
    font-size: .88rem;
    font-weight: 600;
}

.side-menu[href*="logout"] {
    margin-top: 0 !important;
    color: #fda4af !important;
}

.side-menu[href*="logout"]:hover {
    border-color: rgba(244, 63, 94, .2);
    background: rgba(244, 63, 94, .1) !important;
}

/* Main workspace */
.content {
    width: calc(100% - 28px) !important;
    min-width: 0;
    min-height: calc(100vh - 120px) !important;
    margin: 0 14px 14px !important;
    padding: 0 30px 36px !important;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: var(--irs-radius-xl) !important;
    background: rgba(237, 242, 248, .97) !important;
    box-shadow: var(--irs-shadow) !important;
    overflow: hidden;
}

.top-bar {
    position: sticky !important;
    top: 0;
    z-index: 30;
    min-height: 76px !important;
    margin: 0 -30px 8px !important;
    padding: 0 30px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--irs-border) !important;
    background: rgba(237, 242, 248, .86) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.breadcrumb {
    color: var(--irs-muted) !important;
    font-size: .82rem;
}

.breadcrumb a:last-child,
.breadcrumb--active {
    color: var(--irs-blue-600) !important;
    font-weight: 700;
}

.irs-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 158px;
    margin: 24px 0 8px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, .24);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 110%, rgba(34, 211, 238, .18), transparent 15rem),
        linear-gradient(135deg, #dce8f7, #e3e3f5 60%, #e8edf5);
}

.irs-page-hero::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    left: -72px;
    top: -98px;
    border: 42px solid rgba(59, 130, 246, .055);
    border-radius: 999px;
}

.irs-page-hero__copy {
    position: relative;
    z-index: 2;
}

.irs-page-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--irs-blue-600);
    font-size: .74rem;
    font-weight: 800;
}

.irs-page-hero__kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--irs-cyan-400);
    box-shadow: 0 0 0 5px rgba(34, 211, 238, .12);
}

.irs-page-hero h1 {
    margin: 0;
    color: #0b1730;
    font-size: clamp(1.45rem, 2.4vw, 2.25rem);
    font-weight: 900;
}

.irs-page-hero p {
    max-width: 640px;
    margin: 10px 0 0;
    color: var(--irs-muted);
    font-size: .88rem;
    line-height: 1.9;
}

.irs-page-hero__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.irs-page-hero__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid rgba(59, 130, 246, .18);
    border-radius: 13px;
    background: rgba(255, 255, 255, .72);
    color: #1e40af;
    font-size: .8rem;
    font-weight: 800;
}

.irs-page-hero__link:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, .35);
    background: #fff;
}

.account-menu .dropdown-toggle,
.top-bar .dropdown-toggle {
    border-radius: 14px;
}

.top-bar .rounded-full {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.dropdown-menu {
    border: 0 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .17) !important;
    overflow: hidden;
}

.dropdown-menu__content {
    border: 0 !important;
    border-radius: 18px !important;
}

.notification-content__title {
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a !important;
    font-weight: 900;
}

.notification-content__box > div {
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
}

.notification-content__box > div:last-child {
    border-bottom: 0;
}

h1, h2, h3, h4 {
    letter-spacing: -.025em;
}

.content > h2,
.content .intro-y > h2 {
    color: #0b1730;
}

/* Cards and dashboard blocks */
.box {
    border: 1px solid var(--irs-border) !important;
    border-radius: var(--irs-radius-lg) !important;
    background: rgba(246, 248, 252, .94) !important;
    box-shadow: var(--irs-shadow-soft) !important;
}

.box:hover {
    border-color: rgba(59, 130, 246, .24) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .13) !important;
}

.zoom-in:hover {
    transform: translateY(-4px) !important;
}

.report-box::before {
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(124, 58, 237, .1)) !important;
}

.report-box__icon {
    color: var(--irs-blue-600) !important;
}

.report-box__indicator {
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(16, 185, 129, .2);
}

.tiny-slider-navigator {
    border-radius: 11px !important;
}

.border-dotted {
    border-style: solid !important;
    border-color: rgba(37, 99, 235, .22) !important;
    border-radius: 13px !important;
    background: rgba(239, 246, 255, .66);
}

/* Store cards — content structure rebuilt while original images stay untouched */
.irs-product-card {
    color: inherit;
}

.irs-product-card__surface {
    height: 100%;
    padding: 10px !important;
    overflow: hidden;
}

.irs-product-card__media {
    height: clamp(270px, 28vw, 380px);
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 14px;
    background: #dbe3ee;
}

.irs-product-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.irs-product-card__body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 6px 10px;
}

.irs-product-card__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--irs-blue-600);
    font-size: .67rem;
    font-weight: 800;
}

.irs-product-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: .92rem;
    font-weight: 900;
    line-height: 1.65;
}

.irs-product-card__price {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 900;
    white-space: nowrap;
}

.irs-product-card__meta {
    margin: 0 6px 10px;
    color: #64748b;
    font-size: .72rem;
}

.irs-product-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f2555, #1e3a8a);
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
}

.irs-product-card:hover .irs-product-card__surface {
    transform: translateY(-6px);
}

.irs-product-card:hover .irs-product-card__action span {
    transform: translateX(-4px);
}

/* Tables */
.table,
table {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
}

.table th,
table th {
    padding: 12px 16px !important;
    border: 0 !important;
    color: var(--irs-muted) !important;
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
}

.table td,
table td {
    padding: 14px 16px !important;
    border-top: 1px solid rgba(226, 232, 240, .72) !important;
    border-bottom: 1px solid rgba(226, 232, 240, .72) !important;
    background: rgba(248, 250, 252, .72);
}

.table td:first-child,
table td:first-child {
    border-right: 1px solid rgba(226, 232, 240, .72) !important;
    border-radius: 0 13px 13px 0;
}

.table td:last-child,
table td:last-child {
    border-left: 1px solid rgba(226, 232, 240, .72) !important;
    border-radius: 13px 0 0 13px;
}

.table tbody tr:hover td,
table tbody tr:hover td {
    background: #eff6ff;
    border-color: rgba(147, 197, 253, .55) !important;
}

/* Inputs and buttons */
.form-control,
input,
select,
textarea {
    border-color: #dbe4f0 !important;
    border-radius: 13px !important;
    background-color: rgba(248, 250, 252, .9) !important;
    color: var(--irs-text) !important;
}

.form-control:hover,
input:hover,
select:hover,
textarea:hover {
    border-color: #bfdbfe !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--irs-blue-500) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .12) !important;
}

.btn {
    min-height: 42px;
    border-radius: 13px !important;
    font-weight: 700 !important;
    box-shadow: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--irs-blue-600), var(--irs-violet-500)) !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .22) !important;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(37, 99, 235, .32) !important;
}

.btn-outline-secondary {
    border-color: #d9e2ef !important;
    background: rgba(255, 255, 255, .72) !important;
    color: #334155 !important;
}

.btn-outline-secondary:hover {
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
    color: var(--irs-blue-700) !important;
}

.alert {
    border: 1px solid transparent !important;
    border-radius: 15px !important;
    line-height: 1.9;
}

.alert-success {
    border-color: rgba(16, 185, 129, .2) !important;
    background: rgba(236, 253, 245, .94) !important;
    color: #065f46 !important;
}

.alert-danger {
    border-color: rgba(244, 63, 94, .18) !important;
    background: rgba(255, 241, 242, .95) !important;
    color: #9f1239 !important;
}

.pagination .pagination__link {
    border-radius: 11px !important;
}

/* Mobile navigation */
.mobile-menu {
    position: sticky;
    top: 0;
    z-index: 60;
    margin: 8px;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 18px 45px rgba(30, 64, 175, .13);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-menu-bar {
    height: 66px !important;
    padding: 0 16px !important;
}

.mobile-menu-bar a {
    color: #0f172a !important;
}

.mobile-menu-bar svg {
    stroke: #0f172a !important;
}

.mobile-menu ul {
    padding: 8px 10px 14px !important;
    border-color: rgba(148, 163, 184, .16) !important;
}

.mobile-menu .menu {
    min-height: 48px;
    margin: 5px 0;
    padding: 0 14px;
    border-radius: 14px;
    color: #475569 !important;
}

.mobile-menu .menu--active,
.mobile-menu .menu.is-current {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, .95), rgba(124, 58, 237, .84)) !important;
}

/* Authentication pages */
body.login {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(14, 165, 233, .20), transparent 25rem),
        radial-gradient(circle at 85% 80%, rgba(124, 58, 237, .17), transparent 28rem),
        linear-gradient(145deg, #bdcadd 0%, #d3dbe8 55%, #c8cce0 100%) !important;
}

body.login::before,
body.login::after {
    content: "";
    position: fixed;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2px);
}

body.login::before {
    width: 360px;
    height: 360px;
    top: -190px;
    right: -90px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .025), 0 0 0 105px rgba(255, 255, 255, .018);
}

body.login::after {
    width: 260px;
    height: 260px;
    bottom: -160px;
    left: -80px;
    background: rgba(34, 211, 238, .08);
}

body.login .container {
    position: relative;
    z-index: 2;
}

.irs-auth-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    width: 100%;
    min-height: 100vh;
    padding: 18px;
}

.irs-auth-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 36px);
    padding: 38px clamp(28px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, .18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, .16), transparent 18rem),
        linear-gradient(145deg, rgba(23, 50, 87, .96), rgba(40, 53, 104, .95));
    box-shadow: 0 24px 70px rgba(15, 23, 42, .20);
}

.irs-auth-story::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -310px;
    left: -110px;
    border: 70px solid rgba(124, 58, 237, .12);
    border-radius: 999px;
}

.irs-auth-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    color: #f8fafc;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.irs-auth-story__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: auto 0;
    color: #fff;
}

.irs-auth-badge {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 12px;
    border: 1px solid rgba(125, 211, 252, .17);
    border-radius: 999px;
    background: rgba(14, 165, 233, .09);
    color: #a5f3fc;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.irs-auth-story h1 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.22;
}

.irs-auth-story__content > p {
    max-width: 570px;
    margin: 24px 0 0;
    color: #cbd5e1;
    font-size: clamp(.88rem, 1.3vw, 1.04rem);
    line-height: 2.05;
}

.irs-auth-features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
}

.irs-auth-features span {
    padding: 9px 12px;
    border: 1px solid rgba(125, 211, 252, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    color: #e2e8f0;
    font-size: .72rem;
}

.irs-auth-story__footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: .72rem;
}

.irs-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 6px rgba(52, 211, 153, .09);
}

.irs-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 76px);
}

.irs-auth-card {
    width: min(100%, 460px);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 24px;
    background: rgba(238, 243, 249, .92);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.irs-auth-card__heading > span {
    display: block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: .76rem;
    font-weight: 800;
}

.irs-auth-card__heading h2 {
    margin: 0;
    color: #0f172a !important;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 900;
}

.irs-auth-card__heading p {
    margin-top: 12px;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.9;
}

.irs-auth-fields {
    display: grid;
    gap: 9px;
    margin-top: 34px;
}

.irs-auth-fields label {
    margin-top: 8px;
    color: #334155;
    font-size: .75rem;
    font-weight: 700;
}

.irs-auth-fields .form-control {
    min-height: 54px;
    border-color: #dbe4f0 !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #0f172a !important;
}

.irs-auth-fields .form-control::placeholder {
    color: #94a3b8;
}

.irs-auth-fields .form-control:focus {
    border-color: #60a5fa !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .12) !important;
}

.irs-auth-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
}

.irs-auth-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-top: 22px;
    color: #64748b;
    font-size: .76rem;
}

.irs-auth-help a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(59, 130, 246, .16);
    border-radius: 12px;
    background: rgba(239, 246, 255, .92);
    color: #1d4ed8;
    font-weight: 800;
}

.irs-auth-help a:hover {
    border-color: rgba(59, 130, 246, .42);
    background: #dbeafe;
    transform: translateY(-2px);
}

.irs-auth-help a:hover {
    color: #1d4ed8;
}

.irs-auth-help span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
}

body.login .h-screen > .my-auto {
    width: min(100%, 470px) !important;
    padding: 34px !important;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 28px !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

body.login .login__input {
    width: 100% !important;
    min-height: 52px;
    font-size: .92rem !important;
}

body.login h2 {
    color: #0b1730 !important;
}

.irs-password-wrap {
    position: relative;
}

.irs-password-toggle {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    color: #64748b;
    background: transparent;
    cursor: pointer;
}

.irs-password-toggle:hover {
    color: var(--irs-blue-600);
    background: #eaf2ff;
    transform: translateY(-50%);
}

/* Dark mode compatibility */
.dark .content {
    border-color: rgba(148, 163, 184, .12) !important;
    background: rgba(8, 17, 39, .96) !important;
    color: #e2e8f0;
}

.dark .top-bar {
    border-color: rgba(148, 163, 184, .12) !important;
    background: rgba(8, 17, 39, .82) !important;
}

.dark .box {
    border-color: rgba(148, 163, 184, .14) !important;
    background: rgba(15, 30, 58, .86) !important;
}

@media (max-width: 1279px) {
    .side-nav {
        width: calc(100% - 24px) !important;
        min-width: 0 !important;
        margin: 12px !important;
        padding: 8px 12px !important;
    }

    .side-menu {
        padding: 0 11px !important;
    }
}

@media (max-width: 767px) {
    body.main {
        display: block;
    }

    .content {
        width: calc(100% - 16px) !important;
        min-height: calc(100vh - 98px) !important;
        margin: 8px !important;
        padding: 0 16px 26px !important;
        border-radius: 22px !important;
    }

    .side-nav {
        display: none !important;
    }

    .top-bar {
        min-height: 64px !important;
        margin: 0 -16px 8px !important;
        padding: 0 16px !important;
    }

    .box {
        border-radius: 16px !important;
    }

    .irs-page-hero {
        display: block;
        min-height: 0;
        margin-top: 16px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .irs-page-hero__actions {
        margin-top: 18px;
    }

    .irs-product-card__media {
        height: 260px;
    }

    body.login .h-screen {
        min-height: 100vh;
        height: auto !important;
        margin: 0 !important;
        padding: 24px 0 !important;
    }

    .irs-auth-shell {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .irs-auth-story {
        order: 0;
        min-height: 70px;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .irs-auth-story__content {
        display: none;
    }

    .irs-auth-story h1 {
        font-size: 2.3rem;
    }

    .irs-auth-story__footer {
        display: none;
    }

    .irs-auth-panel {
        order: 1;
        padding: 18px 6px 28px;
    }

    .irs-auth-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .irs-auth-card__heading > span {
        margin-bottom: 5px;
    }

    .irs-auth-card__heading h2 {
        font-size: 1.55rem;
    }

    .irs-auth-card__heading p {
        margin-top: 7px;
    }

    .irs-auth-fields {
        margin-top: 21px;
    }

    .irs-auth-help {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 18px;
    }

    .irs-auth-help span {
        display: none;
    }

    .irs-auth-help a {
        min-height: 48px;
        padding: 0 8px;
        font-size: .72rem;
        text-align: center;
    }

    body.login .h-screen > .my-auto {
        padding: 26px 20px !important;
        border-radius: 22px !important;
    }

    .table,
    table {
        min-width: 650px;
    }

    .overflow-x-auto {
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
