/* FULL BACKGROUND */
body {
    margin: 0;
    padding: 0;
    background: url('assets/img/background_safe.png') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
}

/* DARK OVERLAY FOR TEXT READABILITY */
.overlay {
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CENTER WHITE BOX */
.center-box {
    text-align: center;
    padding: 30px 50px;
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* TITLE */
.title {
    color: #fff;
    font-size: 60px;
    margin: 0;
}

/* SUBTITLE */
.subtitle {
    color: #ddd;
    font-size: 20px;
    margin-top: 10px;
}

/* BUTTON */
.enter-btn {
    margin-top: 25px;
    padding: 12px 26px;
    font-size: 22px;
    color: white;
    background: #ff5c00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.enter-btn:hover {
    background: #ff7b22;
}
/* SafeSnipe Shield Logo */
.shield-logo {
    width: 260px;               /* adjust size if needed */
    margin-bottom: 25px;
    animation: pulse 2.8s infinite ease-in-out, glow 3.2s infinite ease-in-out;
    filter: drop-shadow(0 0 8px #ff5c00);
}

/* Heartbeat pulse effect */
@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* Fade-in animation for the whole center section */
.overlay .center-box {
    animation: fadeUp 0.9s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slightly stronger frosted glass */
.center-box {
    background: rgba(0,0,0,0.58);
    backdrop-filter: blur(8px);
}

/* Better button hover */
.enter-btn:hover {
    background: #ff7f3a;
    transform: scale(1.04);
    box-shadow: 0 0 12px #ff5c00;
}


/* Neon glow effect */
@keyframes glow {
    0%   { filter: drop-shadow(0 0 6px #ff5c00); }
    50%  { filter: drop-shadow(0 0 16px #ff8c42); }
    100% { filter: drop-shadow(0 0 6px #ff5c00); }
}
/* ========== DASHBOARD GLOBAL ========== */

.dashboard-body {
    margin: 0;
    padding: 0;
    background: #050b11;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 32px;
    background: rgba(3, 8, 15, 0.98);
    border-bottom: 1px solid #111825;
    box-shadow: 0 4px 14px rgba(0,0,0,0.7);
    position: sticky;
    top: 0;
    z-index: 20;
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dash-logo {
    width: 40px;
    height: 40px;
}

.dash-brand-text {
    display: flex;
    flex-direction: column;
}

.dash-title {
    font-weight: 700;
    font-size: 20px;
}

.dash-subtitle {
    font-size: 12px;
    color: #9ca3af;
}

.dash-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
}

.dash-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

/* ========== TICKER ========== */

.ticker-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: #020712;
    border-bottom: 1px solid #111827;
    overflow: hidden;
}

.ticker-label {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ticker {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.ticker-track {
    display: inline-flex;
    gap: 12px;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 8px rgba(0,0,0,0.7);
    font-size: 12px;
}

.ticker-logo {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #f97316;
    overflow: hidden;
}

.ticker-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticker-symbol {
    font-weight: 600;
}

.ticker-change {
    font-size: 11px;
}

/* risk color badges in ticker */
.ticker-risk {
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 999px;
    color: #020617;
    font-weight: 600;
}

.risk-low     { background: #22c55e; color: #022c16; }
.risk-medium  { background: #eab308; color: #422006; }
.risk-high    { background: #f97316; color: #431407; }
.risk-avoid   { background: #ef4444; color: #450a0a; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== MAIN LAYOUT ========== */

.dash-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 22px 28px;
}

/* SIDEBAR */

.dash-sidebar {
    background: #020617;
    border-radius: 14px;
    padding: 14px 12px 16px;
    border: 1px solid #111827;
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.sidebar-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    margin: 8px 4px 6px;
}

.sidebar-title {
    margin-top: 0;
}

.sidebar-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 7px 10px;
    margin-bottom: 4px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 13px;
    cursor: pointer;
    transition: 0.18s;
}

.sidebar-item:hover {
    background: #0b1220;
}

.sidebar-item-active {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #020617;
    font-weight: 600;
}

/* risk legend pills (reuse risk-* colors) */
.risk-pill {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    margin: 3px 4px;
}

/* MAIN PANELS */

.dash-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.panel {
    background: #020617;
    border-radius: 14px;
    border: 1px solid #111827;
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.panel-header {
    padding: 14px 18px 8px;
    border-bottom: 1px solid #111827;
}

.panel-header h2 {
    margin: 0;
    font-size: 18px;
}

.panel-subtitle {
    font-size: 12px;
    color: #9ca3af;
}

.panel-body {
    padding: 12px 16px 16px;
}

/* TABLE */

.pairs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pairs-table thead {
    background: #020617;
}

.pairs-table th,
.pairs-table td {
    padding: 8px 6px;
    text-align: left;
}

.pairs-table th {
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    border-bottom: 1px solid #111827;
}

.pairs-table tbody tr:nth-child(even) {
    background: #02081a;
}

.pairs-table tbody tr:hover {
    background: #020d24;
}

.token-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-logo {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #f97316;
    overflow: hidden;
}

.token-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-symbol {
    font-weight: 600;
}

.token-name {
    font-size: 11px;
    color: #9ca3af;
}

/* AI badge in table */
.ai-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
}

/* ACTION BUTTONS */

.row-actions {
    display: flex;
    gap: 4px;
}

.row-btn {
    font-size: 11px;
    padding: 4px 7px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.15s;
}

.row-btn-primary {
    background: #f97316;
    color: #020617;
}

.row-btn-secondary {
    background: #0f172a;
    color: #e5e7eb;
}

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

/* AI SIGNAL CARDS */

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.ai-card {
    border-radius: 10px;
    padding: 10px 12px;
    background: #020617;
    border: 1px solid #111827;
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ai-card-title {
    font-weight: 600;
    font-size: 13px;
}

.ai-card-pill {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
}

.ai-card-body {
    font-size: 12px;
    color: #9ca3af;
}

.ai-card-footer {
    margin-top: 6px;
    font-size: 11px;
    color: #6b7280;
}

/* MOBILE-ish fallback */
@media (max-width: 900px) {
    .dash-layout {
        grid-template-columns: 1fr;
    }
    .dash-sidebar {
        order: 2;
    }
}
.boobie-rocket {
    position: fixed;
    left: 30px;
    bottom: 40px;
    width: 160px;
    z-index: 9999;
    pointer-events: none;
    animation: floatRocket 4s ease-in-out infinite;
}

@keyframes floatRocket {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.powered-by {
    position: fixed;
    bottom: 10px;
    right: 20px;
    font-size: 13px;
    color: #ff69d8;
    opacity: 0.8;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 9999;
}
