.generate-btn {
    margin-top: 15px;
    padding: 13px 22px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    cursor: pointer;

    background: linear-gradient(135deg, #00f0ff, #22c55e);
    color: #000;

    box-shadow: 
        0 0 12px rgba(0,240,255,0.4),
        0 6px 18px rgba(34,197,94,0.25);

    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.alert-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.9);

    padding: 14px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;

    z-index: 999999;

    opacity: 0;
    transition: all 0.25s ease;

    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* SHOW ANIMATION */
.alert-box.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* VARIANTS */
.alert-box.info {
    background: #00f0ff;
    color: #000;
}

.alert-box.success {
    background: #22c55e;
    color: #000;
}

.alert-box.warning {
    background: #facc15;
    color: #000;
}

.alert-box.error {
    background: #ef4444;
    color: #fff;
}
/* =========================
PROT POPUP (ISOLATED)
========================= */
.prot-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.prot-popup-box {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(145deg, #020617, #0f172a);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    animation: protFade 0.25s ease;
}

@keyframes protFade {
    from {
        transform: translateY(15px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.prot-popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #00f0ff;
    margin-bottom: 18px;
}

.prot-input-group {
    margin-bottom: 14px;
}

.prot-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 5px;
    display: block;
}

.prot-input {
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e2e8f0;
    font-size: 14px;
    outline: none;
}

.prot-input:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 0 2px rgba(0,240,255,0.12);
}

.prot-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.prot-btn {
    flex: 1;
    padding: 11px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.prot-cancel {
    background: #1e293b;
    color: #94a3b8;
}

.prot-save {
    background: linear-gradient(90deg, #00f0ff, #22c55e);
    color: #000;
}

/* =========================
PORTFOLIO
========================= */
.portfolio-container {
    margin-top: 50px;
    padding: 25px;
    border-top: 2px dashed #00f0ff;
}

/* HEADER */
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.portfolio-header h4 {
    color: #00c4ff;
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.pf-total {
    font-size: 14px;
}

/* PnL COLORS */
.pf-profit {
    color: #22c55e;
    font-weight: 700;
    text-shadow: 0 0 8px #22c55e55;
}

.pf-loss {
    color: #ef4444;
    font-weight: 700;
    text-shadow: 0 0 8px #ef444455;
}

/* BUTTON */
.add-btn {
    padding: 10px 18px;
    background: #00f0ff;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* EMPTY */
.portfolio-empty {
    color: #64748b;
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
    border: solid 1px #00f0ff1f;
}

/* LIST */
.portfolio-list {
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CARD */
.portfolio-card {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 16px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #00f0ff1f;
    /*background: #020617;*/
    transition: 0.2s ease;
}

.portfolio-card:hover {
    border-color: #00f0ff55;
    transform: translateY(-2px);
}

/* LEFT */
.pf-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf-symbol {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.pf-address {
    font-size: 11px;
    color: #94a3b8;
}

/* CENTER (GRID FIX) */
.pf-center {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.pf-block {
    background: rgba(255,255,255,0.02);
    padding: 8px;
    border-radius: 8px;
}

.pf-block span {
    font-size: 11px;
    color: #64748b;
}

.pf-block strong {
    display: block;
    font-size: 13px;
}

.pf-buy { color: #38bdf8; }
.pf-bought { color: #a78bfa; }
.pf-value { color: #eab308; }

/* ACTIONS */
.pf-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.edit-btn {
    background: #08ea9f;
    color: #000;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.delete-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* =========================
TABLET
========================= */
@media (max-width: 900px) {

    .portfolio-card {
        grid-template-columns: 1fr;
    }

    .pf-center {
        grid-template-columns: repeat(2, 1fr);
    }

    .pf-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

/* =========================
MOBILE
========================= */
@media (max-width: 500px) {

    .pf-center {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .add-btn {
        width: 100%;
    }
}
/* =============================================
   WALLET CONTAINER - Responsive Desktop & Mobile
============================================= */

.wallet-container {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Tombol di Desktop */
.connect-wallet-btn-small {
    padding: 8px 18px;
    font-size: 14px;
    background: #22c55e;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.connect-wallet-btn-small:hover {
    background: #16a34a;
    transform: translateY(-1px);
}


/* =============================================
   RESPONSIVE FIX
============================================= */

/* Desktop / Layar besar */
@media (min-width: 992px) {
    .wallet-container {
        margin-left: 20px;           /* jarak dari tombol SCAN */
    }
    
    .connect-wallet-btn-small {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .wallet-container {
        margin-left: 15px;
    }
}

/* Mobile - Kecil & Pojok Kanan */
@media (max-width: 767px) {
    .wallet-container {
        position: absolute;
        top: 12px;
        right: 15px;
        margin-left: 0;
    }
    
    .connect-wallet-btn-small {
        padding: 7px 14px;
        font-size: 13px;
    }
}
.share-image-btn {
    margin-top: 18px;
    width: 100%;
    padding: 14px 20px;
    background:linear-gradient(90deg, #1da1f233, #0aff492e);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-image-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

.share-image-btn:active {
    transform: translateY(1px);
}
/* ==================== PREDICTION CARD ==================== */
.prediction-card {
    background: rgba(0, 255, 170, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 18px;
    margin: 16px 0;
}

.prediction-title {
    color: #00c4ff;
    margin-bottom: 14px;
    font-size: 15.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Levels */
.prediction-levels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.level-item {
    text-align: center;
}

.level-label {
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-value {
    font-size: 19px;
    font-weight: 700;
}

.bullish { color: #22c55e; }
.bearish { color: #ef4444; }

/* Status */
.prediction-status {
    margin: 14px 0;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    font-size: 14.5px;
    border-left: 4px solid;
}

.status-running {
    color: #eab308;       
    font-weight: bold;
}

.status-valid {
    color: #22c55e;       
    font-weight: bold;
}

.status-timeout {
    color: #ef4444;        
    font-weight: bold;
}

/* Main Prediction Area */
.prediction-main {
    background: rgba(0, 255, 170, 0.05);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 200, 255, 0.2);
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.prediction-label {
    font-size: 13px;
    color: #00c4ff;
    font-weight: 500;
}

.prediction-direction {
    font-size: 18px;
    font-weight: 700;
}

.prediction-direction.bullish  { color: #22c55e; }
.prediction-direction.bearish { color: #ef4444; }
.prediction-direction.neutral { color: #eab308; }

.prediction-summary {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

.resolution-rule {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 12px;
    line-height: 1.45;
    background: rgba(255,255,255,0.03);
    padding: 10px 12px;
    border-radius: 8px;
}

/* Metrics */
.prediction-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.metric-item:first-child {
    border-top: none;
    padding-top: 0;
}

.metric-item strong {
    color: #94a3b8;
    font-weight: 500;
}

.positive { color: #22c55e; }
.negative { color: #ef4444; }

/* Loading & Error */
.prediction-loading {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 14px;
}

.prediction-error {
    color: #ff5555;
    text-align: center;
    padding: 25px 10px;
    font-size: 14px;
}

/* Support & Resistance specific */
.level-value.support    { color: #22c55e; }
.level-value.resistance { color: #ef4444; }
/* Modern Token Tables - Glassmorphism + Neon Accent */
.token-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 12px;
    margin-bottom: 24px;
    /*background: rgba(15, 23, 42, 0.65);     */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 78, 255, 0.25);
    font-size: 14.5px;
    color: #e2e8f0;
}

.token-table td {
    padding: 6px 12px;
    border-bottom: 1px solid rgba(0, 78, 255, 0.15);
    transition: all 0.25s ease;
}

.token-table tr:last-child td {
    border-bottom: none;
}

.token-table td:first-child {
    width: 46%;
    color: #94a3b8;                   
}

.token-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #f1f5f9;
}

/* Hover effect yang keren */
.token-table tr:hover {
    background: rgba(0, 78, 255, 0.12);
    transform: translateX(4px);
}

/* Accent border kiri pada hover */
.token-table tr:hover td:first-child {
    border-left: 3px solid #004eff;
    padding-left: 13px;
}

/* Special styling untuk baris 24h Change */
.token-table .change-row td:last-child {
    font-size: 15.5px;
    font-weight: 700;
}

/* Optional: Tambahkan sedikit glow pada border */
.token-table::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(0,78,255,0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
/* ====================== LARGE TRANSACTIONS SECTION ====================== */
#largeTxSection {
    margin-top: 16px;
    padding: 14px;
    background: rgba(0, 255, 170, 0.05);
    border: 1px solid rgba(0, 255, 170, 0.18);
    border-radius: 12px;
    font-size: 13.5px;
    
}

#largeTxSection h4 {
    color: #00c4ff;
    margin: 0 0 12px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Scroll Container */
.large-tx-scroll {
    max-height: 400px;                   
    overflow-y: auto;                     
    overflow-x: hidden;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Scrollbar Styling (Modern Look) */
.large-tx-scroll::-webkit-scrollbar {
    width: 6px;
}

.large-tx-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.large-tx-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.4);
    border-radius: 10px;
}

.large-tx-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.6);
}


.large-tx-scroll > div {
    display: flex;
    align-items: center;
    background: rgba(0, 218, 92, 0.08);
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.large-tx-scroll > div:hover {
    background: rgba(0, 218, 92, 0.15);
}


.large-tx-scroll .tx-type {
    min-width: 65px;
    font-weight: 600;
}

.large-tx-scroll .tx-time {
    min-width: 75px;
    color: #94a3b8;
    font-size: 12.8px;
}

.large-tx-scroll .tx-amount {
    flex: 1;
    text-align: right;
    font-weight: 500;
    color: #e2e8f0;
}

.large-tx-scroll a {
    color: #60a5fa;
    padding: 4px 6px;
    margin-left: 6px;
}
.large-tx-scroll::-webkit-scrollbar {
    width: 5px;
}

.large-tx-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.large-tx-scroll::-webkit-scrollbar-thumb {
    background: #00ffaa;
    border-radius: 10px;
}

.large-tx-scroll::-webkit-scrollbar-thumb:hover {
    background: #00cc88;
}
a{
    text-decoration:none;
}
.mainGrid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
    padding: 14px;
}
.socialRadar{
      border: 1px solid #000dff24 !important;
    border-radius: 10px !important;
    box-shadow: 0px 0px 4px #000dff2e;
    padding: 14px;
}
.influencer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 10px;
}

.inf-card {
    background: rgba(0,255,170,0.05);
    border: 1px solid rgba(0,255,170,0.2);
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
}


.inf-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.inf-handle {
    color: #ffffff;
    font-weight: 600;
}

.inf-interactions {
    color: #22c55e;
    font-weight: bold;
}

/* followers di bawah */
.inf-followers {
    color: #94a3b8;
    font-size: 11px;
}

/* 📱 mobile */
@media (max-width: 768px) {
    .influencer-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}
/* =========================
MAIN GRID (2 COLUMN)
========================= */
.main-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 16px;
    margin-top: 20px;
    padding: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
CARD BASE
========================= */
.card {
    /*background: #020617;*/
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 16px;
    
}

/* =========================
OUTPUT CARD
========================= */
.output-card {
    min-height: 400px;
}

/* =========================
READY TEXT
========================= */
.ready {
    color: #64748b;
    font-size: 13px;
    text-align: center;
    margin-top: 80px;
}

/* =========================
SWAP CARD
========================= */
.swap-card h3 {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* =========================
SWAP BOX
========================= */
.inline-swap-box {
    /*background: rgba(255,255,255,0.02);*/
    border-radius: 14px;
    padding: 14px;
}

/* =========================
SWAP HEADER
========================= */
.swap-header {
    font-size: 13px;
    color: #cbd5f5;
    margin-bottom: 10px;
}

/* =========================
SWAP ROW
========================= */
.swap-row {
    margin-bottom: 12px;
}

.swap-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
}

/* =========================
INPUT GROUP
========================= */
.input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 8px 10px;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e5e7eb;
    outline: none;
    font-size: 14px;
}

.token-symbol {
    font-size: 12px;
    color: #94a3b8;
}

/* =========================
ARROW
========================= */
.swap-arrow {
    text-align: center;
    color: #475569;
    margin: 6px 0;
}

/* =========================
STATUS
========================= */
.swap-status {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

/* =========================
BUTTONS
========================= */
.connect-wallet-btn,
.confirm-swap-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.connect-wallet-btn {
    background: rgba(255,255,255,0.05);
    color: #e5e7eb;
}

.confirm-swap-btn {
    background: #1e293b;
    color: #fff;
}
/* =========================
SWAP CARD (COMPACT 300px)
========================= */
.swap-card {
    /*height: 300px;*/
    /*max-height: 300px;*/
    overflow: hidden;
    position: relative;
    padding: 12px;
}

/* =========================
SWAP MAIN BUTTON
========================= */
.swap-main-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(90deg, #00ffaa, #00cc88);
    color: black;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
}

.swap-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 255, 170, 0.35);
}

.swap-main-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========================
INLINE SWAP BOX
========================= */
.inline-swap-box {
    /*background: #0a0a0a;*/
    /*border: 1px solid #00ffaa;*/
    border-radius: 10px;
    padding: 10px;
    /*max-height: 220px;*/
    overflow-y: auto;
}

/* =========================
HEADER
========================= */
.swap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #00ffaa;
    font-size: 13px;
    font-weight: bold;
}

/* =========================
CONTENT
========================= */
.swap-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.swap-row {
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 6px;
}

/* =========================
LABEL
========================= */
.swap-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

/* =========================
INPUT GROUP
========================= */
.input-group {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #334455;
    border-radius: 6px;
    padding: 6px 8px;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 14px;
}

/* =========================
TOKEN SYMBOL
========================= */
.token-symbol {
    background: #00c4ff;
    color: black;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
}

/* =========================
ARROW
========================= */
.swap-arrow {
    text-align: center;
    font-size: 18px;
    color: #00c4ff;
}

/* =========================
BUTTONS (CONNECT & SWAP)
========================= */
.connect-wallet-btn,
.confirm-swap-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
}

.connect-wallet-btn {
    color: #ffffff;
    border: solid 1px #24aaff;
}

.confirm-swap-btn {
    background: linear-gradient(90deg, #1848cc, #0ec7ff);
    color: black;
}

.connect-wallet-btn:hover,
.confirm-swap-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 255, 136, 0.3);
}

/* =========================
STATUS
========================= */
.swap-status {
    text-align: center;
    font-size: 12px;
    color: #ffcc00;
    min-height: 18px;
}

/* =========================
PLACEHOLDER
========================= */
.swap-placeholder {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 15px 5px;
}

/* =========================
MODAL (OPTIONAL - KEEP CLEAN)
========================= */
.swap-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.swap-container {
    background: #111;
    border: 1px solid #00ffaa;
    border-radius: 14px;
    width: 380px;
    padding: 18px;
}

/* =========================
LOADING
========================= */
.loading-agent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: #00f0ff;
    font-family: monospace;
    font-size: 12px;
}
/* ================= ROTATE CONTAINER ================= */

.loader {
    display: flex;
    gap: 6px;
    animation: rotate 2s linear infinite;
}

/* ================= BARS ================= */

.loader span {
    width: 4px;
    height: 20px;
    background: #00f0ff;

    animation: pulse 1s infinite ease-in-out;
}

.loader span:nth-child(2) {
    animation-delay: 0.5s;
}

.loader span:nth-child(3) {
    animation-delay: 0.7s;
}

/* ================= TEXT ================= */

.loading-text {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ================= ANIMATION ================= */

@keyframes pulse {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1.8);
        opacity: 1;
    }
}

.feed-section-title{
    font-size:25px;
}
.hot-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
}
.hot-post{
    border: 1px solid #003c40;
    border-radius: 10px;
    padding: 10px;
    background: rgba(0,255,170,0.04);
    cursor: pointer;
    transition: 0.2s;
}

.hot-post:hover{
    background: rgba(0,255,170,0.08);
    transform: translateY(-2px);
}

.hot-post .post-avatar{
    width: 32px;
    height: 32px;
}

.hot-post .post-text{
    font-size: 13px;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
}
/* ====================== POST CARD - MATCH AGENT-POST STYLE ====================== */
.post-card {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: transparent;
    border-bottom: 1px dashed #003c40;
    transition: all 0.25s ease;
    cursor: pointer !important;
    user-select: none;
}

.post-card:hover {
    background: #021214;
    border-bottom: 1px dashed #00f0ff;
}


.post-card,
.post-card * {
    cursor: pointer !important;
    user-select: none;
}


.post-card a, 
.post-card button, 
.comment-box,
.comment-box * {
    pointer-events: auto;
    cursor: pointer !important;
}

/* ====================== AVATAR ====================== */
.post-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #00f0ff;
    object-fit: cover;
    flex-shrink: 0;
    transition: 0.3s;
}

.post-card:hover .post-avatar {
    border-color: #00ffaa;
    transform: scale(1.08);
}


.post-content {
    flex: 1;
    min-width: 0;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.post-username {
    color: #00ffaa;
    font-size: 13.5px;
    font-weight: bold;
}

.verified-badge {
    color: #ffaf00;
    font-size: 15px;
    margin-left: 2px;
}

.post-text {
    color: #00f0ff;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 8px;
    word-break: break-word;
}

.post-meta {
    font-size: 11.5px;
    color: #007c84;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Comment Box */
.comment-box {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #00a8b0;
    padding: 2px 7px;
    border-radius: 6px;
    transition: 0.2s;
}

.comment-box:hover {
    color: #00ffaa;
    background: rgba(0, 240, 255, 0.1);
}
.labels{
    color: #717171;
}
.swap-loader{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;

background:#000;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

z-index:10;
}

.loader-spinner{
width:40px;
height:40px;

border:3px solid #003c40;
border-top:3px solid #00f0ff;

border-radius:50%;

animation:spin 1s linear infinite;
margin-bottom:10px;
}

@keyframes spin{
0%{ transform:rotate(0deg); }
100%{ transform:rotate(360deg); }
}
#swapBtn{
position:fixed;
bottom:20px;
right:20px;

background:#111;
color:#00f0ff;

border:1px solid #00f0ff;
padding:12px 18px;
font-weight:bold;

cursor:pointer;

z-index:9999;
border-radius:6px;

opacity:0.6; /* default non-active */
}

/* MODAL */
.swap-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.8);

display:none;
align-items:center;
justify-content:center;

z-index:1000;
}

/* CONTAINER */
.swap-container{
width:380px;
height:80%;

background:#000;
border:1px solid #00f0ff;

display:flex;
flex-direction:column;
}

/* HEADER */
.swap-header{
display:flex;
justify-content:space-between;
align-items:center;

padding:10px;
border-bottom:1px solid #00f0ff;

color:#00f0ff;
}

/* IFRAME */
#swapFrame{
flex:1;
border:none;
}
.active{
    color: #00c4ff;
    background-color: #001aff4f;
    border-radius: 10px;
    padding: 10px !important;
}
.active-ver{
    color: #ffaf00;
}
.verified-badge{
color:#ffaf00;
margin-left:-2px;
font-size:14px;
vertical-align:middle;
}
*{
box-sizing:border-box;
margin:0;
padding:0;
}
.card,
.terminal,
.sidebar{

/*border: 1px solid #000dff24 !important;*/
    border-radius: 10px !important;
    box-shadow: 0px 0px 4px #000dff2e;
 
}



body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: 
    radial-gradient(circle at 20% 50%, rgba(0,150,255,0.25), transparent 60%),
    rgba(0, 0, 0, 0.75); /* overlay  */

  backdrop-filter: blur(20px);
  z-index: -1;
}
body{

background: radial-gradient(circle at 20% 50%, #0a1a2f, #02050a 70%);
color:#ffffff;
font-family:monospace;
height:100vh;
overflow:hidden;

}

.pre-token{
    font-size: 10px;
}
/* APP LAYOUT */

.app{

display:flex;
height:100vh;

}


.hamburger{

display:none;
font-size:22px;
cursor:pointer;

}
/* MAIN */

.main{

flex:1;
display:flex;
flex-direction:column;
height:100vh;
overflow-y: auto;

}

/* TOPBAR */

.topbar{

display:flex;
gap:10px;
align-items:center;

padding:12px;
/*background:#080808;*/
border-bottom:1px solid #00f0ff;

}

.topbar input{
border: 1px solid #00f0ff;
flex:1;
border-radius: 10px;
background:#000;
border:1px solid #00f0ff;

padding:10px;
color:#00f0ff;

}

.topbar button{
border-radius: 10px;
background:#000;
border:1px solid #00f0ff;

padding:10px 16px;
color:#00f0ff;
cursor:pointer;

}

.topbar button:hover{

background:#00f0ff;
color:#000;

}

/* DASHBOARD */

/* DASHBOARD - 3  Grid */
.dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 3 kolom */
    gap: 15px;
    padding: 15px;
}

.card {
  position: relative;
  padding: 16px;
  border-radius: 16px;

  /*background: linear-gradient(*/
  /*  145deg,*/
  /*  rgba(10, 20, 40, 0.85),*/
  /*  rgba(5, 10, 25, 0.65)*/
  /*);*/

  border: 1px solid rgba(0, 200, 255, 0.2);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.8),
    inset 0 0 25px rgba(0,150,255,0.06);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;

  /*background:*/
  /*  radial-gradient(circle at 0% 50%, rgb(0 52 255 / 79%), transparent 60%);*/

  filter: blur(50px);
  opacity: 0.7;

  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}
/*.card {*/
/*  box-shadow:*/
/*    0 10px 40px rgba(0,0,0,0.7),*/
/*    0 0 80px rgba(0,150,255,0.15);*/
/*}*/
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;

  border: 1px solid rgba(255,255,255,0.06);

  /*background: linear-gradient(*/
  /*  120deg,*/
  /*  transparent,*/
  /*  rgba(0,240,255,0.15),*/
  /*  transparent*/
  /*);*/

  opacity: 0.3;
  pointer-events: none;
}

.card h3{

color:#00c4ff;
margin-bottom:10px;

}

/* TERMINAL */

.terminal{

flex:1;
display:flex;
flex-direction:column;

margin:12px;

border:1px solid #00f0ff;

min-height:0;

}

.terminal-header{

background:#0a0a0a;

padding:8px;

text-align:center;

border-bottom:1px solid #00f0ff;

}

.terminal-body{

flex:1;

overflow-y:auto;

padding:12px;

font-size:14px;

}

/* AGENT FEED */

.agent-post{

display:flex;
gap:12px;
padding:10px;

border-bottom:1px dashed #003c40;

}

.agent-post:hover{

background:#021214;

}

.agent-avatar{

width:36px;
height:36px;

border-radius:50%;

border:1px solid #00f0ff;

object-fit:cover;

}

.agent-content{

flex:1;

}

.agent-username{

color:#00ffaa;
font-size:13px;
margin-bottom:4px;

}

.agent-text{

color:#00f0ff;
font-size:14px;
line-height:1.4;

}

.agent-meta{

font-size:11px;
color:#007c84;
margin-top:4px;

}

/* MOBILE */

@media (max-width:900px){
     .hot-grid {
        grid-template-columns: 1fr; 
    }
.pre-token{
    font-size: 6px;
}
.hamburger{

display:block;

}

.dashboard{

grid-template-columns:1fr;

}

.topbar{

flex-direction:column;
align-items:stretch;

}

.terminal{

margin:12px;

}

}