/* =========================================================
   NIMCO TOOLS — COMPONENTS
   AI / NEON LUXURY UI
   ========================================================= */

* {
    box-sizing: border-box;
}


/* =========================================================
   TOP NAVIGATION
========================================================= */

.top-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 70px;

    z-index: 9999 !important;

    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;

    padding: 0 17px;
    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            rgba(8, 16, 20, 0.96),
            rgba(6, 13, 17, 0.91)
        );

    border-bottom: 1px solid rgba(0,232,135,0.13);

    box-shadow:
        0 8px 35px rgba(0,0,0,0.38),
        0 1px 0 rgba(255,255,255,0.04),
        0 0 35px rgba(0,232,135,0.035);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-logo-wrap {
    position: relative;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;
}

.brand-logo {
    width: 40px;
    height: 40px;

    display: block;
    object-fit: cover;
    border-radius: 50%;

    border: 1px solid rgba(0,232,135,0.42);

    filter:
        contrast(1.25)
        brightness(1.12);

    box-shadow:
        0 0 18px rgba(0,232,135,0.22),
        0 0 35px rgba(0,232,135,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.10);
}

.logo-orbit {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    pointer-events: none;
}

.logo-orbit::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 4px;

    top: 50%;
    left: 50%;

    margin: -2px;

    border-radius: 50%;

    background: #00e887;

    box-shadow:
        0 0 7px rgba(0,232,135,1),
        0 0 15px rgba(0,232,135,0.82),
        0 0 25px rgba(0,232,135,0.42);

    transform-origin: 2px 2px;

    animation: logoOrbit 2.4s linear infinite;
}

@keyframes logoOrbit {
    from {
        transform:
            rotate(0deg)
            translateX(18px);
    }

    to {
        transform:
            rotate(360deg)
            translateX(18px);
    }
}

.top-nav-right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-wallet {
    height: 38px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 0 13px;

    border: 1px solid rgba(0,232,135,0.16);
    border-radius: 999px;

    color: #f5f7fa;

    background:
        rgba(0,232,135,0.055);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 0 18px rgba(0,232,135,0.035);

    font-size: 12px;
    font-weight: 650;

    white-space: nowrap;
}

.wallet-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #00e887;

    box-shadow:
        0 0 7px rgba(0,232,135,0.95),
        0 0 15px rgba(0,232,135,0.55);
}

.menu-toggle {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 12px;

    color: #f5f7fa;

    background:
        rgba(255,255,255,0.055);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 0 18px rgba(0,232,135,0.035);

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
}

.menu-toggle:hover {
    border-color: rgba(0,232,135,0.30);
    background: rgba(0,232,135,0.08);

    box-shadow:
        0 0 18px rgba(0,232,135,0.10);
}

.menu-toggle:active {
    transform: scale(.92);
}

/* =========================================================
   MENU POPUP
========================================================= */

.menu-popup {
    position: fixed !important;

    top: 79px;
    right: 14px;

    width: 220px;

    padding: 8px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 20, 24, 0.98),
            rgba(5, 12, 16, 0.98)
        );

    border: 1px solid rgba(0,232,135,0.16);
    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(0,0,0,0.55),
        0 0 30px rgba(0,232,135,0.06);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px) scale(.97);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    z-index: 100000 !important;
}

.menu-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}


/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.bottom-nav {
    position: fixed !important;

    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;

    width: auto !important;
    height: 70px;

    z-index: 9999 !important;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    padding: 5px;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(12,22,27,0.97),
            rgba(5,12,16,0.96)
        );

    box-shadow:
        0 20px 60px rgba(0,0,0,0.62),
        0 5px 25px rgba(0,0,0,0.35),
        0 0 40px rgba(0,232,135,0.07),
        inset 0 1px 0 rgba(255,255,255,0.06);

    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);

    overflow: hidden;
}

.bottom-nav-item {
    width: 100%;
    height: 60px;

    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border-radius: 16px;

    color: #a6b0b8;

    font-size: 9px;
    font-weight: 600;

    text-align: center;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.bottom-nav-item svg {
    width: 19px;
    height: 19px;

    flex: 0 0 19px;
}

.bottom-nav-item.active {
    color: #00e887;

    background:
        linear-gradient(
            145deg,
            rgba(0,232,135,0.17),
            rgba(0,232,135,0.055)
        );

    box-shadow:
        inset 0 1px 0 rgba(0,232,135,0.08),
        0 0 20px rgba(0,232,135,0.055);
}

.bottom-nav-item.active svg {
    filter:
        drop-shadow(0 0 5px rgba(0,232,135,0.55));
}

.bottom-nav-item:active {
    transform: scale(.92);
}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-page {
    width: min(100%, 1120px);

    margin: 0 auto;

    padding:
        36px
        18px
        120px;

    overflow-x: hidden;
}


/* =========================================================
   WELCOME
========================================================= */

.welcome-section {
    margin-bottom: 24px;
}

.welcome-section h1 {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;

    color: #f8fafc;
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.1;
    letter-spacing: -1px;
    font-weight: 650;

    text-shadow:
        0 0 22px rgba(0,232,135,0.08);
}

.welcome-image {
    width: 40px;
    height: 40px;

    flex: 0 0 34px;

    object-fit: contain;
    display: inline-block;

    transform: translateY(-5px) scale(1.45);
    transform-origin: center;
}

.welcome-section > p:last-child {
    margin-top: 9px;

    color: #b4bec7;

    font-size: 13px;
}



/* =========================================================
   COINS CARD
========================================================= */

.coins-card {
    position: relative;

    overflow: hidden;

    padding: 21px;

    border: 1px solid rgba(0,232,135,0.22);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(0,232,135,0.13),
            rgba(255,255,255,0.055) 42%,
            rgba(255,255,255,0.025)
        ),
        rgba(10,20,23,0.94);

    box-shadow:
        0 22px 75px rgba(0,0,0,0.42),
        0 0 45px rgba(0,232,135,0.065),
        inset 0 1px 0 rgba(255,255,255,0.065);
}

.coins-card::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -165px;
    top: -220px;

    border-radius: 50%;

    background:
        rgba(0,232,135,0.20);

    filter: blur(65px);

    pointer-events: none;
}

.coins-card::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    border-radius: inherit;

    background:
        linear-gradient(
            115deg,
            transparent 20%,
            rgba(255,255,255,0.035) 50%,
            transparent 75%
        );

    opacity: .7;
}

.coins-header {
    position: relative;

    z-index: 1;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.coins-label {
    color: #c0cad1;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 1.5px;
}

.coins-number {
    margin-top: 7px;

    display: flex;
    align-items: baseline;

    gap: 7px;

    color: #ffffff;

    font-size: 40px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: -1.5px;

    text-shadow:
        0 0 22px rgba(0,232,135,0.10);
}

.points-label {
    color: #aeb9c1;

    font-size: 14px;
    font-weight: 600;
}

.balance-eye {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,0.11);

    border-radius: 12px;

    color: #e5ebef;

    background:
        rgba(255,255,255,0.055);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05);

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.balance-eye svg {
    width: 19px;
    height: 19px;
}

.balance-eye:hover {
    border-color: rgba(0,232,135,0.25);
    background: rgba(0,232,135,0.07);
}

.balance-eye:active {
    transform: scale(.93);
}


/* =========================================================
   COIN ACTIONS
========================================================= */

.coins-actions {
    position: relative;

    z-index: 1;

    display: flex;
    align-items: stretch;
    justify-content: center;

    margin-top: 25px;

    padding-top: 16px;

    border-top:
        1px solid rgba(255,255,255,0.09);
}

.coin-action {
    width: 150px;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    color: #c0cad1;

    font-size: 10px;
    font-weight: 600;

    text-align: center;

    transition:
        color .2s ease,
        transform .2s ease;
}

.coin-action + .coin-action {
    border-left:
        1px solid rgba(255,255,255,0.08);
}

.coin-action:hover {
    color: #ffffff;
}

.coin-action:active {
    transform: scale(.95);
}

.coin-action-icon {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    color: #00e887;
}

.coin-action-icon svg {
    width: 18px;
    height: 18px;

    filter:
        drop-shadow(0 0 6px rgba(0,232,135,0.45));
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-section {
    margin-top: 42px;
}

.section-heading {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.section-title-wrap {
    display: flex;
    align-items: center;

    gap: 11px;
}

.section-line {
    width: 3px;
    height: 32px;

    flex: 0 0 3px;

    border-radius: 999px;

    background: #00e887;

    box-shadow:
        0 0 10px rgba(0,232,135,0.70),
        0 0 20px rgba(0,232,135,0.30);
}

.eyebrow {
    margin: 0 0 4px;

    color: #5dffb4;

    font-size: 8px;
    font-weight: 750;

    letter-spacing: 1.8px;
    line-height: 1;
}

.section-heading h2 {
    margin: 0;

    color: #f5f7fa;

    font-size: 20px;
    line-height: 1.15;

    font-weight: 650;

    letter-spacing: -0.5px;
}

.view-all {
    display: flex;
    align-items: center;

    height: 30px;

    padding: 0 10px;

    border:
        1px solid rgba(0,232,135,0.20);

    border-radius: 9px;

    color: #5dffb4;

    background:
        rgba(0,232,135,0.065);

    box-shadow:
        0 0 15px rgba(0,232,135,0.035);

    font-size: 10px;
    font-weight: 650;

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.view-all:hover {
    background: rgba(0,232,135,0.11);
    border-color: rgba(0,232,135,0.30);

    box-shadow:
        0 0 18px rgba(0,232,135,0.08);
}

.view-all:active {
    background: rgba(0,232,135,0.15);
}


/* =========================================================
   TOOLS GRID
========================================================= */

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px 10px;
}

.tool-item {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #f5f7fa;

    overflow: hidden;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.tool-item:active {
    transform: scale(.94);
}

.tool-logo {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    overflow: hidden;

    flex-shrink: 0;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 12px 32px rgba(0,0,0,0.38),
        0 0 20px rgba(0,232,135,0.035),
        inset 0 1px 0 rgba(255,255,255,0.07);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.tool-item:hover .tool-logo {
    border-color: rgba(0,232,135,0.28);

    box-shadow:
        0 12px 32px rgba(0,0,0,0.40),
        0 0 24px rgba(0,232,135,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08);

    transform: translateY(-2px);
}

.tool-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    aspect-ratio: 1 / 1;

    border-radius: 50%;
}

.tool-item > span {
    width: 100%;
    max-width: 100%;

    margin-top: 9px;

    padding: 0 4px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #e9eef2;

    font-size: 11px;
    font-weight: 600;

    text-align: center;
}


/* =========================================================
   MOBILE SAFETY
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;

    overflow-x: hidden !important;
}

body {
    padding-top: 70px;
    padding-bottom: 94px;
}

img,
svg {
    max-width: 100%;
}


/* =========================================================
   MENU POPUP
========================================================= */

.menu-popup {
    position: fixed;

    top: 70px;
    right: 17px;

    z-index: 10000;

    width: 185px;

    padding: 6px;

    border:
        1px solid rgba(0,232,135,0.14);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(12,23,28,0.98),
            rgba(5,13,17,0.98)
        );

    box-shadow:
        0 20px 50px rgba(0,0,0,0.60),
        0 0 30px rgba(0,232,135,0.06),
        inset 0 1px 0 rgba(255,255,255,0.055);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-6px)
        scale(.97);

    transform-origin: top right;

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}

.menu-popup.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}

.menu-popup-item {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 11px;

    border-radius: 10px;

    color: #c5ced5;

    background: transparent;

    font-size: 12px;
    font-weight: 550;

    text-align: left;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease;
}

.menu-popup-item svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;
}

.menu-popup-item:hover {
    color: #ffffff;
    background: rgba(0,232,135,0.065);
}

.menu-popup-item:active {
    background: rgba(0,232,135,0.11);
    color: #00e887;
}

.menu-popup .logout-item {
    margin-top: 4px;

    border-top:
        1px solid rgba(255,255,255,0.08);

    border-radius: 0 0 10px 10px;

    padding-top: 4px;
}


/* =========================================================
   TOOLS PAGE
========================================================= */

.tools-page {
    width: min(100%, 1120px);

    margin: 0 auto;

    padding:
        36px 18px 120px;
}

.tools-header {
    margin-bottom: 34px;
}

.tools-header h1 {
    margin-top: 7px;

    color: #f8fafc;

    font-size: clamp(30px, 8vw, 44px);

    line-height: 1;

    letter-spacing: -1.5px;

    font-weight: 700;

    text-shadow:
        0 0 25px rgba(0,232,135,0.08);
}

.tools-header p:last-child {
    margin-top: 10px;

    color: #b1bcc5;

    font-size: 13px;
}

.all-tools-section .tools-grid {
    margin-top: 0;
}

.tools-message,
.tools-loading {
    grid-column: 1 / -1;

    padding: 35px 20px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 18px;

    background:
        rgba(255,255,255,0.045);

    color: #b4bec7;

    text-align: center;

    font-size: 12px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.045);
}

.tool-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: #00e887;
}

.tool-placeholder svg {
    width: 27px;
    height: 27px;

    filter:
        drop-shadow(0 0 7px rgba(0,232,135,0.55));
}

@media (min-width: 700px) {
    .tools-page {
        padding-top: 50px;
    }
}


/* =========================================================
   TOOL CATEGORIES
========================================================= */

.tool-category {
    margin-top: 42px;
}

.tool-category:first-child {
    margin-top: 0;
}

.category-heading {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.category-heading::before {
    content: "";

    width: 3px;
    height: 18px;

    border-radius: 999px;

    background: #00e887;

    box-shadow:
        0 0 10px rgba(0,232,135,0.75),
        0 0 20px rgba(0,232,135,0.28);
}

.category-heading h2 {
    color: #edf2f5;

    font-size: 15px;
    font-weight: 650;

    letter-spacing: -.2px;
}


/* =========================================================
   TOOL PAGE
========================================================= */

.tool-page {
    width: min(100%, 900px);

    margin: 0 auto;

    padding:
        16px 18px 120px;
}

.tool-header {
    margin-bottom: 20px;
}

.tool-back {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #aeb9c1;

    font-size: 11px;
    font-weight: 550;
}

.tool-back:hover {
    color: #00e887;
}

.tool-back svg {
    width: 17px;
    height: 17px;
}

.tool-title {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 4px;
}

.tool-main-logo {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.075),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 12px 35px rgba(0,0,0,0.40),
        0 0 22px rgba(0,232,135,0.055),
        inset 0 1px 0 rgba(255,255,255,0.06);

    overflow: hidden;
}

.tool-main-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.tool-title h1 {
    margin-top: 4px;

    color: #f8fafc;

    font-size: 27px;
    line-height: 1.05;

    letter-spacing: -1px;

    font-weight: 700;
}

.tool-title > div:last-child > p:last-child {
    margin-top: 6px;

    color: #aeb9c1;

    font-size: 11px;
}

.tool-workspace {
    margin-top: 10px;
}

.tool-card {
    padding: 21px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 20px;

    /* Solid premium surface */
    background:
        linear-gradient(
            145deg,
            #101923,
            #0b141d
        );

    box-shadow:
        0 22px 65px rgba(0,0,0,0.50),
        0 0 35px rgba(0,232,135,0.035),
        inset 0 1px 0 rgba(255,255,255,0.055);

    position: relative;
    z-index: 2;
}

.tool-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255,255,255,0.09);
}

.tool-card-header h2 {
    margin-top: 5px;

    color: #f5f7fa;

    font-size: 18px;
    font-weight: 650;
}

.tool-cost {
    display: flex;
    align-items: center;

    gap: 5px;

    padding: 8px 11px;

    border:
        1px solid rgba(0,232,135,0.22);

    border-radius: 10px;

    color: #5dffb4;

    background:
        rgba(0,232,135,0.065);

    box-shadow:
        0 0 16px rgba(0,232,135,0.045);

    font-size: 11px;
    font-weight: 650;
}

.tool-content {
    min-height: 0;

    display: block;

    padding: 20px 0 4px;

    color: #aeb9c1;

    font-size: 12px;

    text-align: left;
}

.tool-action {
    width: 100%;
    height: 48px;

    border-radius: 13px;

    color: #03110a;

    background:
        linear-gradient(
            135deg,
            #00e887,
            #4dffae
        );

    border: 1px solid rgba(0,232,135,0.55);

    box-shadow:
        0 8px 25px rgba(0,232,135,0.13),
        0 0 18px rgba(0,232,135,0.08);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        opacity .2s ease,
        box-shadow .2s ease;
}

.tool-action:hover {
    box-shadow:
        0 10px 30px rgba(0,232,135,0.18),
        0 0 25px rgba(0,232,135,0.12);
}

.tool-action:active {
    transform: scale(.98);
}

@media (min-width: 700px) {
    .tool-page {
        padding-top: 50px;
    }

    .tool-card {
        padding: 26px;
    }
}

.tool-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    color: #aeb9c1;

    text-align: center;
}

.tool-empty-state svg {
    width: 32px;
    height: 32px;

    color: #00e887;

    opacity: .85;

    filter:
        drop-shadow(0 0 8px rgba(0,232,135,0.45));
}


/* =========================================================
   TOOL TABS
========================================================= */

.tool-tabs {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 4px;

    margin-top: 18px;

    padding: 4px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 14px;

    background:
        rgba(255,255,255,0.055);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 8px 25px rgba(0,0,0,.14);
}

.tool-tab {
    min-width: 0;

    height: 40px;

    padding: 0 7px;

    border:
        1px solid transparent;

    border-radius: 10px;

    color: #a3adb5;

    background: transparent;

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.tool-tab.active {
    color: #5dffb4;

    border-color:
        rgba(0,232,135,0.22);

    background:
        linear-gradient(
            145deg,
            rgba(0,232,135,0.15),
            rgba(0,232,135,0.055)
        );

    box-shadow:
        0 5px 16px rgba(0,0,0,.20),
        0 0 18px rgba(0,232,135,0.055),
        inset 0 1px 0 rgba(255,255,255,.05);
}

.tool-tab:active {
    transform: scale(.97);
}


/* =========================================================
   TOOL FIELDS
========================================================= */

.tool-fields {
    display: flex;

    flex-direction: column;

    gap: 16px;

    margin-top: 24px;
}

.tool-field {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 7px;

    text-align: left;
}

.tool-field label {
    display: flex;
    align-items: center;

    gap: 8px;

    width: 100%;

    color: #d0d8de;

    font-size: 10px;
    font-weight: 600;

    text-align: left;
}

.tool-field input,
.tool-field textarea,
.tool-field select {
    width: 100%;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 12px;

    outline: none;

    color: #f5f7fa;

    background:
        rgba(255,255,255,0.055);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025);

    font-size: 16px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.tool-field input,
.tool-field select {
    height: 46px;

    padding: 0 13px;
}

.tool-field textarea {
    min-height: 105px;

    padding: 13px;

    resize: vertical;

    line-height: 1.5;
}

.tool-field input::placeholder,
.tool-field textarea::placeholder {
    color: #7d8992;
}

.tool-field input:focus,
.tool-field textarea:focus,
.tool-field select:focus {
    border-color:
        rgba(0,232,135,0.45);

    background:
        rgba(0,232,135,0.055);

    box-shadow:
        0 0 0 3px rgba(0,232,135,0.075),
        0 0 18px rgba(0,232,135,0.045);
}

.tool-field select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 38px;
}

.tool-field select option {
    background: #071116;
    color: #f5f7fa;
}


/* =========================================================
   TOGGLE
========================================================= */

.tool-toggle-wrap {
    width: 100%;
}


/* =========================================================
   OPTION TOGGLE — CRYPTO / USD
========================================================= */

.tool-toggle-options {
    width: 100%;

    display: flex;
    align-items: center;

    padding: 3px;

    gap: 3px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 11px;

    background:
        rgba(255,255,255,0.045);
}

.tool-toggle-option {
    flex: 1;

    min-height: 38px;

    padding: 0 14px;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: #89939b;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.tool-toggle-option:hover {
    color: #d0d8de;

    background:
        rgba(255,255,255,0.05);
}

.tool-toggle-option.active {
    color: #00e887;

    background:
        rgba(0,232,135,0.12);

    box-shadow:
        0 0 12px rgba(0,232,135,0.06);

}


/* =========================================================
   TOGGLE TITLE
========================================================= */

.tool-toggle-title {
    display: block;

    margin-bottom: 8px;

    color: #d0d8de;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   NORMAL CHECKBOX TOGGLE
========================================================= */

.tool-toggle {
    position: relative;

    width: 100%;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 0 13px;

    border:
        1px solid rgba(255,255,255,0.11);

    border-radius: 12px;

    background:
        rgba(255,255,255,0.045);

    cursor: pointer;
}

.tool-toggle span:first-child {
    color: #d0d8de;

    font-size: 11px;
    font-weight: 600;
}

.tool-toggle input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.tool-toggle-slider {
    position: relative;

    width: 48px;
    height: 28px;

    flex-shrink: 0;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid rgba(255,255,255,0.11);

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.tool-toggle-slider::after {
    content: "";

    position: absolute;

    width: 20px;
    height: 20px;

    left: 3px;
    top: 3px;

    border-radius: 50%;

    background:
        #c4cbd0;

    transition:
        transform .2s ease,
        background .2s ease;
}

.tool-toggle input:checked + .tool-toggle-slider {
    background:
        rgba(0,232,135,0.20);

    border-color:
        rgba(0,232,135,0.42);

    box-shadow:
        0 0 15px rgba(0,232,135,0.08);
}

.tool-toggle input:checked + .tool-toggle-slider::after {
    transform: translateX(20px);

    background:
        #00e887;

    box-shadow:
        0 0 8px rgba(0,232,135,0.60);
}


/* =========================================================
   FIELD HELPERS
========================================================= */

.tool-action-description {
    margin: 0;

    color: #aeb9c1;

    font-size: 11px;

    line-height: 1.5;

    text-align: left;
}

.tool-field-helper {
    color: #7f8b94;

    font-size: 9px;

    line-height: 1.5;
}

.tool-field-optional {
    margin-left: 5px;

    color: #8b969e;

    font-size: 8px;

    font-weight: 500;
}

.tool-rephrase {
    margin-top: 5px;

    color: #7f8b94;

    font-size: 9px;

    line-height: 1.4;
}

.tool-rephrase a {
    color: #5dffb4;

    text-decoration: none;
}


/* =========================================================
   TOOL MESSAGE
========================================================= */

.tool-message {
    width: 100%;

    padding: 13px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 12px;

    background:
        rgba(255,255,255,0.045);
}

.tool-message-title {
    color: #d0d8de;

    font-size: 10px;

    font-weight: 600;
}

.tool-message-text {
    margin-top: 5px;

    color: #89959e;

    font-size: 9px;
}

.tool-fields .tool-field + .tool-field {
    margin-top: 0;
}


/* =========================================================
   AMOUNT CONTROL
========================================================= */

.amount-control {
    display: grid;

    grid-template-columns:
        92px 1fr;

    width: 100%;
    height: 46px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 12px;

    background:
        rgba(255,255,255,0.055);
}

.amount-control:focus-within {
    border-color:
        rgba(0,232,135,0.45);

    background:
        rgba(0,232,135,0.055);

    box-shadow:
        0 0 0 3px rgba(0,232,135,0.065);
}

.amount-control select,
.amount-control input {
    width: 100%;
    height: 100%;

    border: 0;
    outline: 0;

    color: #f5f7fa;

    background: transparent;

    font-size: 12px;
}

.amount-control select {
    padding:
        0 8px 0 13px;

    border-right:
        1px solid rgba(255,255,255,0.09);

    appearance: auto;

    cursor: pointer;
}

.amount-control input {
    padding: 0 13px;
}

.amount-control input::placeholder {
    color: #7d8992;
}

.amount-control select option {
    background: #071116;
    color: #f5f7fa;
}


/* =========================================================
   TOOL ACTIONS
========================================================= */

.tool-actions-bar {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 24px;
}

.tool-primary-action,
.tool-secondary-action {
    min-height: 46px;

    padding: 0 14px;

    border-radius: 12px;

    font-size: 11px;

    font-weight: 650;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        opacity .2s ease,
        box-shadow .2s ease;
}

.tool-primary-action {
    color: #03110a;

    background:
        linear-gradient(
            135deg,
            #00e887,
            #4dffae
        );

    border:
        1px solid rgba(0,232,135,0.55);

    box-shadow:
        0 8px 25px rgba(0,232,135,0.12);
}

.tool-secondary-action {
    color: #5dffb4;

    background:
        rgba(0,232,135,0.06);

    border:
        1px solid rgba(0,232,135,0.22);
}

.tool-primary-action:hover {
    box-shadow:
        0 10px 30px rgba(0,232,135,0.18);
}

.tool-secondary-action:hover {
    background:
        rgba(0,232,135,0.10);

    border-color:
        rgba(0,232,135,0.32);
}

.tool-primary-action:active,
.tool-secondary-action:active {
    transform: scale(.97);
}

.tool-primary-action:disabled,
.tool-secondary-action:disabled {
    opacity: .5;

    cursor: not-allowed;
}


/* =========================================================
   DEMO MESSAGE
========================================================= */

.tool-demo-message {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        rgba(0,0,0,.68);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tool-demo-message-inner {
    width: min(100%, 360px);

    padding: 22px;

    border:
        1px solid rgba(0,232,135,0.18);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(13,25,30,0.98),
            rgba(5,13,17,0.98)
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,.58),
        0 0 30px rgba(0,232,135,0.07);

    text-align: center;
}

.tool-demo-message-title {
    color: #f5f7fa;

    font-size: 15px;

    font-weight: 650;
}

.tool-demo-message-text {
    margin-top: 8px;

    color: #aeb9c1;

    font-size: 11px;

    line-height: 1.5;
}

.tool-demo-message-close {
    width: 100%;
    height: 42px;

    margin-top: 18px;

    border-radius: 11px;

    color: #03110a;

    background:
        linear-gradient(
            135deg,
            #00e887,
            #4dffae
        );

    font-size: 11px;

    font-weight: 650;

    cursor: pointer;
}


/* =========================================================
   DEMO RECEIPT RESULT
========================================================= */

.receipt-result {
    width: 100%;
    margin-top: 18px;
}

.receipt-result[hidden] {
    display: none;
}

.demo-receipt-shell {
    width: min(100%, 390px);

    margin: 0 auto;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 24px;

    background: #f7f8f8;

    color: #151918;

    box-shadow:
        0 25px 80px rgba(0,0,0,.52),
        0 0 0 1px rgba(255,255,255,.035);
}

.demo-receipt-banner {
    padding: 9px 14px;

    background: #101b18;

    color: #00e887;

    font-size: 8px;

    font-weight: 750;

    letter-spacing: .7px;

    text-align: center;
}

.demo-receipt-header {
    padding: 22px 20px 18px;

    background: #ffffff;

    text-align: center;
}

.demo-paypal-mark {
    width: 42px;
    height: 42px;

    margin: 0 auto 13px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #edf1ef;

    color: #183f68;

    font-size: 13px;

    font-weight: 800;
}

.demo-receipt-status {
    font-size: 13px;
    font-weight: 650;
}

.demo-receipt-amount {
    margin-top: 9px;

    font-size: 30px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -.7px;
}

.demo-receipt-currency {
    margin-top: 5px;

    color: #68716d;

    font-size: 10px;
}

.demo-receipt-body {
    padding: 20px;

    background: #f7f8f8;
}

.demo-receipt-row {
    display: flex;

    justify-content: space-between;

    gap: 18px;

    padding: 13px 0;

    border-bottom:
        1px solid #e1e5e3;
}

.demo-receipt-row:last-child {
    border-bottom: 0;
}

.demo-receipt-label {
    color: #747d79;

    font-size: 9px;
}

.demo-receipt-value {
    max-width: 58%;

    color: #202522;

    font-size: 10px;

    font-weight: 600;

    text-align: right;

    word-break: break-word;
}

.demo-receipt-demo {
    margin-top: 14px;

    padding: 11px 12px;

    border:
        1px solid #d8dfdc;

    border-radius: 11px;

    background: #eef2f0;

    color: #66706b;

    font-size: 8px;

    line-height: 1.5;

    text-align: center;
}

.demo-receipt-close {
    width: 100%;
    height: 44px;

    margin-top: 14px;

    border: 0;

    border-radius: 11px;

    color: #03110a;

    background:
        linear-gradient(
            135deg,
            #00e887,
            #4dffae
        );

    font-size: 11px;

    font-weight: 650;

    cursor: pointer;
}


/* =========================================================
   KEYBOARD NAVIGATION
========================================================= */

.bottom-nav.keyboard-open {
    position: fixed !important;

    top: auto !important;
    bottom: 12px !important;

    opacity: 0 !important;

    visibility: hidden !important;

    pointer-events: none !important;

    transform:
        translate3d(0,120px,0) !important;
}


/* =========================================================
   MONEY INPUT
========================================================= */

.tool-money-input {
    display: flex;

    align-items: stretch;

    width: 100%;
    min-width: 0;

    height: 52px;

    overflow: hidden;

    border-radius: 14px;

    background:
        rgba(255,255,255,0.055);

    border:
        1px solid rgba(255,255,255,0.12);

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.tool-money-currency {
    flex:
        0 0 58px;

    display: flex;
    align-items: center;

    width: 58px;
    min-width: 58px;

    border-right:
        1px solid rgba(255,255,255,0.09);
}

.tool-money-currency-select {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    height: 100%;

    padding:
        0 4px 0 10px !important;

    border: 0 !important;

    outline: none !important;

    border-radius: 0 !important;

    background: transparent !important;

    color: #f5f7fa;

    font-size: 14px;

    font-weight: 650;

    cursor: pointer;

    appearance: auto;
}

.tool-money-input > input {
    flex: 1 1 auto;

    width: 100% !important;

    min-width: 0 !important;

    height: 100%;

    padding:
        0 16px !important;

    border: 0 !important;

    outline: none !important;

    border-radius: 0 !important;

    background: transparent !important;

    color: #f5f7fa;
}

.tool-money-input input {
    padding-left: 16px !important;
}

.tool-money-input:focus-within {
    border-color:
        rgba(0,232,135,0.48);

    background:
        rgba(0,232,135,0.055);

    box-shadow:
        0 0 0 3px rgba(0,232,135,0.065),
        0 0 20px rgba(0,232,135,0.045);
}

.tool-money-input input::-webkit-outer-spin-button,
.tool-money-input input::-webkit-inner-spin-button {
    margin: 0;

    -webkit-appearance: none;
}

.tool-money-input input[type="number"] {
    appearance: textfield;
}


/* =========================================================
   PAYPAL / FORM ROWS
========================================================= */

.tool-field-row {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap: 12px;

    width: 100%;

    min-width: 0;
}

.tool-field-row > .tool-field {
    min-width: 0;
}

.paypal-amount-field,
.paypal-fee-field,
.paypal-transfer-type-field,
.paypal-transaction-id-field {
    min-width: 0;
}

.paypal-shipping-field {
    width: 100%;
}

#shipToName,
#shipToAddress {
    width: 100%;
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .tool-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .tool-field-row {
        gap: 10px;
    }

    .tool-money-currency {
        min-width: 62px;
    }

    .tool-money-currency-select {
        min-width: 62px !important;

        padding-left: 10px !important;
        padding-right: 18px !important;

        font-size: 14px;
    }

    .tool-money-input > input {
        padding-left: 10px !important;
        padding-right: 10px !important;

        font-size: 16px;
    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 700px) {

    .bottom-nav {
        left: 50% !important;
        right: auto !important;

        width: 540px !important;

        transform:
            translate3d(-50%,0,0) !important;
    }

    .bottom-nav.keyboard-open {
        transform:
            translate3d(-50%,120px,0) !important;
    }

    .dashboard-page {
        padding-top: 50px;
    }

    .tools-grid {
        grid-template-columns:
            repeat(4,minmax(0,1fr));

        gap: 34px 18px;
    }

    .tool-logo {
        width: 72px;
        height: 72px;
    }

    .tool-page {
        padding-top: 50px;
    }

}


/* =========================================================
   LARGE SCREENS
========================================================= */

@media (min-width: 1100px) {

    .top-nav {
        padding-left: 28px;
        padding-right: 28px;
    }

    .dashboard-page,
    .tools-page {
        padding-left: 28px;
        padding-right: 28px;
    }

}


/* =========================================================
   GLOBAL FORM SAFETY
========================================================= */

input,
select,
textarea,
button {
    max-width: 100%;
}

.hidden {
    display: none !important;
}

/* =========================================================
   NAVBAR INSTALL PROMPT — RESPONSIVE, NO OVERLAP
========================================================= */

.top-nav {
    position: relative;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
}

.top-nav .brand {
    grid-column: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.top-nav-right {
    grid-column: 3;
    margin-left: 0 !important;
    flex: 0 0 auto;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.nav-install-prompt[hidden] {
    display: none !important;
}

.top-nav .nav-install-prompt {
    grid-column: 2;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-self: center;

    width: 100%;
    max-width: 190px;
    min-width: 0;
    margin: 0;
    padding: 5px 6px;
    gap: 5px;
    box-sizing: border-box;

    border: 1px solid rgba(0, 232, 135, .22);
    border-radius: 10px;
    background: rgba(9, 28, 24, .96);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
    z-index: 1;
}

.nav-install-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.nav-install-text strong {
    color: #f1fff9;
    font-size: 9px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-install-text span {
    color: #a8c7ba;
    font-size: 7px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-install-button {
    flex: 0 0 auto;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(0, 232, 135, .35);
    border-radius: 7px;
    background: rgba(0, 232, 135, .12);
    color: #51f5ad;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.install-app-popup {
    display: none !important;
}

/* SMALL PHONES */
@media (max-width: 380px) {
    .top-nav {
        column-gap: 5px;
    }

    .top-nav .nav-install-prompt {
        padding: 5px;
        gap: 4px;
        border-radius: 8px;
    }

    .nav-install-text strong {
        font-size: 8px;
    }

    .nav-install-text span {
        font-size: 6px;
    }

    .nav-install-button {
        padding: 5px;
        font-size: 8px;
    }
}

/* VERY NARROW PHONES */
@media (max-width: 340px) {
    .nav-install-text span {
        display: none;
    }

    .nav-install-button {
        padding: 5px 4px;
        font-size: 7px;
    }
}

/* =========================================================
SIDE DRAWER — BALANCED SPACING
========================================================= */

.menu-popup {
gap: 5px !important;
padding: 10px !important;
}

.drawer-header {
margin-bottom: 10px !important;
padding-bottom: 8px !important;
}

.drawer-section-label {
margin-top: 15px !important;
margin-bottom: 9px !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
line-height: 1.3 !important;
}

.menu-popup-item {
min-height: 38px !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}

.drawer-footer {
margin-top: 10px !important;
padding-top: 6px !important;
}