/* =========================================================
   YSFREFLECTOR DASHBOARD 2.0.1
   PROFESSIONAL DARK PRO THEME
   Desktop + Tablet + Mobile
   ========================================================= */

/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #05070c;
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;

    color: #f8fafc;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(37, 99, 235, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(14, 165, 233, 0.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #05070c 0%,
            #080d15 50%,
            #05070c 100%
        );

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.5;

    overflow-x: hidden;
}

/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.92;
}

/* ---------------------------------------------------------
   HEADINGS / TEXT
   --------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1 {
    line-height: 1.15;
}

h2 {
    line-height: 1.25;
}

/* ---------------------------------------------------------
   MAIN CONTAINER
   --------------------------------------------------------- */

.container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------------------------------------------------------
   DARK PRO BACKGROUND
   --------------------------------------------------------- */

.dark-pro-background {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -10;

    overflow: hidden;

    background: #05070c;

    pointer-events: none;
}

.dark-pro-background::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(37, 99, 235, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(14, 165, 233, 0.07),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #05070c,
            #0a101b,
            #05070c
        );
}

.dark-pro-glow-blue,
.dark-pro-glow-cyan {
    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    pointer-events: none;
}

.dark-pro-glow-blue {
    top: 30px;
    left: 30px;

    background: rgba(37, 99, 235, 0.07);

    filter: blur(100px);
}

.dark-pro-glow-cyan {
    right: 30px;
    bottom: 30px;

    background: rgba(14, 165, 233, 0.05);

    filter: blur(110px);
}

/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.card-glossy {
    position: relative;

    width: 100%;

    border: 1px solid rgba(148, 163, 184, 0.12);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 36, 0.88),
            rgba(7, 12, 21, 0.82)
        );

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.card-glossy:hover {
    border-color: rgba(56, 189, 248, 0.22);

    background:
        linear-gradient(
            145deg,
            rgba(17, 26, 42, 0.94),
            rgba(8, 14, 24, 0.90)
        );

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(14, 165, 233, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transform: translateY(-1px);
}

/* ---------------------------------------------------------
   SVG / ICON PROTECTION
   IMPORTANT
   --------------------------------------------------------- */

svg {
    display: block;

    flex-shrink: 0;

    width: 1.5rem;
    height: 1.5rem;

    max-width: 100%;
    max-height: 100%;

    overflow: hidden;
}

/* Small icons */

svg.w-3,
.w-3 {
    width: 0.75rem !important;
}

svg.h-3,
.h-3 {
    height: 0.75rem !important;
}

/* 20px */

svg.w-5,
.w-5 {
    width: 1.25rem !important;
}

svg.h-5,
.h-5 {
    height: 1.25rem !important;
}

/* 24px */

svg.w-6,
.w-6 {
    width: 1.5rem !important;
}

svg.h-6,
.h-6 {
    height: 1.5rem !important;
}

/* 40px */

svg.w-10,
.w-10 {
    width: 2.5rem !important;
}

svg.h-10,
.h-10 {
    height: 2.5rem !important;
}

/* 48px */

svg.w-12,
.w-12 {
    width: 3rem !important;
}

svg.h-12,
.h-12 {
    height: 3rem !important;
}

/* ---------------------------------------------------------
   TAILWIND-LIKE WIDTH / HEIGHT
   --------------------------------------------------------- */

.w-full {
    width: 100% !important;
}

.h-full {
    height: 100% !important;
}

.max-w-xs {
    max-width: 20rem !important;
}

/* ---------------------------------------------------------
   SPACING
   --------------------------------------------------------- */

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 0.75rem !important;
}

.mr-6 {
    margin-right: 1.5rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 0.75rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-6 {
    margin-top: 1.5rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.p-4 {
    padding: 1rem !important;
}

.p-6 {
    padding: 1.5rem !important;
}

.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.gap-4 {
    gap: 1rem !important;
}

.gap-6 {
    gap: 1.5rem !important;
}

.gap-8 {
    gap: 2rem !important;
}

/* ---------------------------------------------------------
   FLEX
   --------------------------------------------------------- */

.flex {
    display: flex !important;
}

.flex-1 {
    flex: 1 1 0% !important;
}

.flex-col {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.items-center {
    align-items: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.text-center {
    text-align: center !important;
}

/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.grid {
    display: grid !important;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* ---------------------------------------------------------
   TYPOGRAPHY
   --------------------------------------------------------- */

.text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

.text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
}

.text-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
}

.text-3xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
}

.text-4xl {
    font-size: 2.25rem !important;
    line-height: 2.5rem !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.tracking-wide {
    letter-spacing: 0.025em !important;
}

/* ---------------------------------------------------------
   TEXT COLORS
   --------------------------------------------------------- */

.text-white {
    color: #ffffff !important;
}

.text-white\/80 {
    color: rgba(226, 232, 240, 0.82) !important;
}

.text-white\/60 {
    color: rgba(148, 163, 184, 0.75) !important;
}

.text-blue-400 {
    color: #38bdf8 !important;
}

.text-blue-300 {
    color: #60a5fa !important;
}

.text-blue-200 {
    color: #bae6fd !important;
}

.text-green-400 {
    color: #34d399 !important;
}

.text-purple-400 {
    color: #22d3ee !important;
}

.text-orange-400 {
    color: #fbbf24 !important;
}

.text-red-400 {
    color: #f87171 !important;
}

.text-red-500 {
    color: #ef4444 !important;
}

/* ---------------------------------------------------------
   HOVER COLORS
   --------------------------------------------------------- */

.hover\:text-blue-300:hover {
    color: #60a5fa !important;
}

.hover\:text-blue-200:hover {
    color: #e0f2fe !important;
}

/* ---------------------------------------------------------
   BACKGROUNDS
   --------------------------------------------------------- */

.bg-blue-500\/20 {
    background: rgba(37, 99, 235, 0.10) !important;
}

.bg-green-500\/20 {
    background: rgba(16, 185, 129, 0.09) !important;
}

.bg-purple-500\/20 {
    background: rgba(6, 182, 212, 0.09) !important;
}

.bg-orange-500\/20 {
    background: rgba(245, 158, 11, 0.09) !important;
}

.bg-red-500\/30 {
    background: rgba(239, 68, 68, 0.12) !important;
}

.bg-red-500 {
    background: #ef4444 !important;
}

/* ---------------------------------------------------------
   BORDERS
   --------------------------------------------------------- */

.border-white\/10 {
    border-color: rgba(148, 163, 184, 0.10) !important;
}

.border-red-500\/50 {
    border-color: rgba(239, 68, 68, 0.42) !important;
}

.border-2 {
    border-width: 2px !important;
}

/* ---------------------------------------------------------
   BORDER RADIUS
   --------------------------------------------------------- */

.rounded-xl {
    border-radius: 0.75rem !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

/* ---------------------------------------------------------
   TABLE
   --------------------------------------------------------- */

.overflow-x-auto {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
}

.table-glossy {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    text-align: left;

    background: rgba(5, 10, 18, 0.25);

    border-radius: 12px;

    overflow: hidden;
}

.table-glossy thead {
    background:
        linear-gradient(
            90deg,
            rgba(30, 41, 59, 0.72),
            rgba(15, 23, 42, 0.60)
        );
}

.table-glossy th {
    padding: 0.95rem 1.25rem;

    color: #94a3b8;

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    white-space: nowrap;

    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.table-glossy td {
    padding: 0.95rem 1.25rem;

    color: #e2e8f0;

    font-size: 0.9rem;

    border-bottom: 1px solid rgba(148, 163, 184, 0.065);

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.table-glossy tbody tr {
    transition: background 0.2s ease;
}

.table-glossy tbody tr:hover {
    background: rgba(56, 189, 248, 0.035) !important;
}

.table-glossy tbody tr:hover td {
    color: #f8fafc;
}

/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    padding: 0.7rem 1.35rem;

    color: #ffffff;

    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #3b82f6 50%,
            #4f46e5 100%
        );

    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.25);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.35);
}

/* ---------------------------------------------------------
   INPUT
   --------------------------------------------------------- */

.input-glossy {
    width: 100%;

    border: 1px solid rgba(148, 163, 184, 0.14);

    border-radius: 10px;

    background: rgba(2, 6, 23, 0.55);

    padding: 0.7rem 1rem;

    color: #f8fafc;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-glossy::placeholder {
    color: #64748b;
}

.input-glossy:focus {
    border-color: rgba(56, 189, 248, 0.55);

    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.10);
}

/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */

.shadow-glossy {
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(37, 99, 235, 0.05) !important;
}

img {
    max-width: 100%;
}

img.max-w-xs {
    width: auto;
    max-width: 20rem !important;
    height: 8rem !important;
    object-fit: contain;
}

/* ---------------------------------------------------------
   GRADIENT TITLE
   --------------------------------------------------------- */

.bg-clip-text {
    background-clip: text !important;
    -webkit-background-clip: text !important;
}

.text-transparent {
    color: transparent !important;
}

.bg-gradient-to-r {
    background-image:
        linear-gradient(
            to right,
            #bfdbfe,
            #a5b4fc
        ) !important;
}

/* ---------------------------------------------------------
   TX ALERT
   --------------------------------------------------------- */

#tx-alert {
    background:
        linear-gradient(
            145deg,
            rgba(45, 12, 18, 0.84),
            rgba(18, 9, 15, 0.78)
        ) !important;

    border-color: rgba(239, 68, 68, 0.42) !important;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.40),
        0 0 35px rgba(239, 68, 68, 0.04);
}

/* ---------------------------------------------------------
   ANIMATION
   --------------------------------------------------------- */

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.72;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ---------------------------------------------------------
   DISPLAY HELPERS
   --------------------------------------------------------- */

.inline-block {
    display: inline-block !important;
}

.block {
    display: block !important;
}

.hidden {
    display: none !important;
}

.relative {
    position: relative !important;
}

/* ---------------------------------------------------------
   DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1024px) {

    .lg\:grid-cols-2 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .lg\:grid-cols-4 {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }

    .lg\:flex-row {
        flex-direction: row !important;
    }

    .lg\:mt-0 {
        margin-top: 0 !important;
    }
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (min-width: 768px) {

    .md\:grid-cols-2 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .md\:grid-cols-3 {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 100%;

        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;

        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .card-glossy {
        border-radius: 14px;

        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.30),
            inset 0 1px 0 rgba(255, 255, 255, 0.03);
    }

    .card-glossy:hover {
        transform: none;
    }

    .p-6 {
        padding: 1rem !important;
    }

    .p-4 {
        padding: 0.8rem !important;
    }

    .mb-8 {
        margin-bottom: 1rem !important;
    }

    .mb-6 {
        margin-bottom: 1rem !important;
    }

    .gap-8 {
        gap: 1rem !important;
    }

    .gap-6 {
        gap: 0.85rem !important;
    }

    .gap-4 {
        gap: 0.7rem !important;
    }

    /* Header */

    h1,
    .text-4xl {
        font-size: 1.75rem !important;
        line-height: 2rem !important;
    }

    .text-lg {
        font-size: 0.95rem !important;
        line-height: 1.5rem !important;
    }

    .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.7rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
        line-height: 1.9rem !important;
    }

    /* Header information */

    .mt-4 {
        margin-top: 0.8rem !important;
    }

    /* Logo */

    img.max-w-xs {
        display: block;

        width: auto !important;
        max-width: 180px !important;

        height: 90px !important;

        margin-left: auto;
        margin-right: auto;
    }

    /* Stats */

    .grid-cols-1 {
        grid-template-columns:
            minmax(0, 1fr) !important;
    }

    /* TX */

    #tx-alert .mr-6 {
        margin-right: 0.8rem !important;
    }

    #tx-alert .p-4 {
        padding: 0.65rem !important;
    }

    #tx-alert svg.w-12,
    #tx-alert svg.w-12.h-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    #tx-alert .text-2xl {
        font-size: 1.15rem !important;
    }

    /* Tables */

    .table-glossy {
        min-width: 520px;
    }

    .table-glossy th,
    .table-glossy td {
        padding: 0.7rem 0.8rem;
        font-size: 0.78rem;
    }

    /* Section icons */

    h2 svg.w-6,
    h2 svg.w-6.h-6 {
        width: 1.35rem !important;
        height: 1.35rem !important;

        margin-right: 0.65rem !important;
    }

    /* Card icons */

    svg.w-10,
    svg.w-10.h-10 {
        width: 2.15rem !important;
        height: 2.15rem !important;
    }

    /* Small header icons */

    svg.w-5,
    svg.w-5.h-5 {
        width: 1.15rem !important;
        height: 1.15rem !important;
    }

    /* Footer */

    .text-sm {
        font-size: 0.78rem !important;
        line-height: 1.2rem !important;
    }
}

/* ---------------------------------------------------------
   VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .container {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    .card-glossy {
        border-radius: 12px;
    }

    .p-6 {
        padding: 0.85rem !important;
    }

    h1,
    .text-4xl {
        font-size: 1.45rem !important;
        line-height: 1.7rem !important;
    }

    .text-3xl {
        font-size: 1.3rem !important;
    }

    .text-2xl {
        font-size: 1.1rem !important;
    }

    img.max-w-xs {
        max-width: 150px !important;
        height: 75px !important;
    }

    svg.w-10,
    svg.w-10.h-10 {
        width: 2rem !important;
        height: 2rem !important;
    }

    #tx-alert svg.w-12,
    #tx-alert svg.w-12.h-12 {
        width: 2.2rem !important;
        height: 2.2rem !important;
    }
}

/* ---------------------------------------------------------
   SCROLLBAR
   --------------------------------------------------------- */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #05070c;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;

    border-radius: 10px;

    border: 2px solid #05070c;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* ---------------------------------------------------------
   SELECTION
   --------------------------------------------------------- */

::selection {
    background: rgba(37, 99, 235, 0.35);
    color: #ffffff;
}

/* ---------------------------------------------------------
   REDUCE MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}