/* Gradient CTA — green (#10b981) → cyan (#22d3ee) */
.btn-invest {
    --from: #10b981;
    /* left  */
    --to: #22d3ee;
    /* right */
    --text: #0b1220;

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.6rem 0.9rem;
    border: 0;
    border-radius: 0.5rem;
    /* pill */
    text-decoration: none;
    font-weight: 800;
    font-size: 0.7rem;
    font-family: "Poppins", "SolaimanLipi", sans-serif;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    overflow: hidden;

    /* base gradient */
    background: linear-gradient(90deg, var(--from), var(--to));
    box-shadow:
        0 12px 28px rgba(34, 211, 238, .22),
        0 6px 16px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

/* overlay with reversed gradient; fades in on hover */
.btn-invest::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--to), var(--from));
    /* swapped */
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    /* don't block clicks */
}


.btn-invest:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 36px rgba(34, 211, 238, .28),
        0 10px 22px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .18);
}


/* Optional sizes */
.btn-invest--sm {
    padding: .5rem 1rem;
    font-size: .95rem;
}

.btn-invest--lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.35rem;
}


:root {
    --card-bg: #0e2335;
    --card-bg2: #0a1c2b;
    --text: #d9e6f2;
    --muted: #7e9bb5;
    --chartline: #34e3cf;
    --fill: #34e3cf22;
    --up: #35dc6b;
}

.market-card {
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--card-bg2) 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35), 0 4px 16px rgba(0, 0, 0, .35) inset;
    padding: 18px;
}

.market-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 8px 14px 8px;
}

.market-left small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.market-title {
    font-size: 24px;
    font-weight: 800;
}

.market-title .market-gain {
    font-weight: 700;
    color: var(--up);
    font-size: 18px;
    margin-left: 8px;
}

.market-chart {
    background: linear-gradient(180deg, #0a2034 0%, #0b2136 30%, #0b2338 100%);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .06);
}

.features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.feature {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 12px;
    align-items: start;
}

.feature::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: #2ed573;
    box-shadow: 0 0 0 4px rgba(46, 213, 115, .15);
}

.feature h3 {
    margin: 0 0 2px 0;
    font-weight: 500;
    font-size: clamp(16px, 2.2vw, 18px);
    letter-spacing: .2px;
    color: #ffffff;
}

.feature p {
    margin: 0;
    color: #a7b0bb;
    font-size: clamp(13px, 1.9vw, 14px);
    line-height: 1.5;
}







/* DataTables dark overrides */
table.dataTable thead th,
table.dataTable thead td {
    background-color: #292f3d !important;
    color: #eaeaea !important;
    border-color: #2a2f37 !important;
    border: none !important;
    background-color: #111318 !important;
    color: #eaeaea !important;
    box-shadow: none !important;
}

table.dataTable tbody tr,
table.dataTable tbody td {
    background-color: #ffffff00 !important;
    color: #eaeaea !important;
    border-color: #2a2f37 !important;
    border-bottom: none !important;
}

table.dataTable tbody tr:nth-of-type(odd) {
    background-color: #07050548 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #292f3d !important;
    border: 1px solid #2a2f37 !important;
    color: #eaeaea !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background: #292f3d !important;
    border: 1px solid #2a2f37 !important;
    color: #eaeaea !important;
}





/* accessibility */
@media (prefers-reduced-motion: reduce) {

    .zoomIn,
    .slideInLeft,
    .slideInRight {
        animation: none !important;
    }
}

/* Base */
.anim {
    opacity: 0;
    will-change: transform, opacity;
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoomIn {
    animation: zoomIn .7s ease-out forwards;
}

/* Menu Zoom In */
@keyframes zoomInMenu {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoomInMenu {
    animation: zoomInMenu .5s ease-out forwards;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideInLeft {
    animation: slideInLeft .7s ease-out forwards;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideInRight {
    animation: slideInRight .7s ease-out forwards;
}


@media (max-width: 720px) {
    .grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .grid .headtext {
        width: 100% !important;
        margin: 0px 0px 0px 12px !important;
        padding: 0 20px 0 0 !important;
    }

    #companySearch,
    #filter {
        width: 100% !important;
    }
}





.bg-modal {
    background: #14515c;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}















/* Facebook popup css */
.facebook-float {
    position: fixed;
    bottom: 110px;
    left: 90%;
    transform: translateX(-50%);
    background-color: #1877f2;
    color: white;
    padding: 9px 15px;
    border-radius: 25%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    text-decoration: none;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.facebook-float:hover {
    transform: translateX(-50%) scale(1.1);
    background-color: #145dbf;
}

.facebook-float i {
    font-size: 20px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(24, 119, 242, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
    }
}



/* Mange new site text css */
*,
::before,
::after {
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
}

::backdrop {
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
}

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

.text-transparent {
    color: transparent
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops))
}

.from-emerald-400 {
    --tw-gradient-from: #34d399 var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(52 211 153 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)
}

.to-cyan-300 {
    --tw-gradient-to: #67e8f9 var(--tw-gradient-to-position)
}
