/*
|--------------------------------------------------------------------------
| style.css
|--------------------------------------------------------------------------
| EXCC Pool Dashboard - Neon Glass Crypto Theme
|
| Дизайн концепция:
| - Dark glassmorphism
| - Binance-style glow
| - Neon акценти
| - Smooth animations
|--------------------------------------------------------------------------
*/


/* ===================================================== */
/* ================= GLOBAL STYLES ===================== */
/* ===================================================== */

/* Основен фон и шрифт */
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #041e22, #062f35);
    color: #eaffff;
}

/* ===================================================== */
/* ================= SIDEBAR =========================== */
/* ===================================================== */

/* Лявото меню */
.sidebar {
    width: 220px;
    height: 100vh;
    position: fixed;
    background: #061a1f;
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    box-shadow: 0 0 25px rgba(0,255,213,0.15);
}

/* Заглавие EXCC */
.sidebar h2 {
    color: #00ffd5;
    text-shadow: 0 0 10px rgba(0,255,213,0.5);
}

/* ===================================================== */
/* ================= MAIN CONTENT ====================== */
/* ===================================================== */

.main {
    margin-left: 220px;
    padding: 30px;
}

/* ===================================================== */
/* ================= GRID SYSTEM ======================= */
/* ===================================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* ===================================================== */
/* ================= CARDS ============================= */
/* ===================================================== */

/* Основна карта със glass ефект */
.card {
    background: rgba(10, 40, 45, 0.6);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0,255,213,0.15);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.15);
    margin-bottom: 25px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover ефект */
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 255, 200, 0.35);
}

/* Големи числа (hashrate и т.н.) */
.big {
    font-size: 28px;
    font-weight: bold;
}

/* Neon glow текст */
.glow {
    color: #00ffd5;
    text-shadow: 0 0 10px #00ffd5, 0 0 20px rgba(0,255,213,0.5);
}

/* ===================================================== */
/* ================= MINER PANEL ======================= */
/* ===================================================== */

.miner-panel {
    border: 1px solid rgba(240, 185, 11, 0.3);
    box-shadow: 0 0 30px rgba(240, 185, 11, 0.15);
}

/* Search бар */
.miner-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Input поле */
.miner-search-bar input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(240,185,11,0.3);
    background: #0b1f23;
    color: #fff;
    transition: 0.3s;
}

/* Input фокус */
.miner-search-bar input:focus {
    outline: none;
    border-color: #f0b90b;
    box-shadow: 0 0 10px rgba(240,185,11,0.5);
}

/* Binance style бутон */
.miner-search-bar button {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #f0b90b, #f8d33a);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.miner-search-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240,185,11,0.5);
}

/* Private wallet info */
.miner-private {
    margin-bottom: 20px;
    color: #f0b90b;
    font-size: 14px;
}

/* Малки статистически карти */
.miner-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.mini-card {
    background: rgba(15,35,40,0.8);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(240,185,11,0.15);
    transition: 0.3s;
}

.mini-card:hover {
    box-shadow: 0 0 20px rgba(240,185,11,0.25);
}

.mini-card small {
    color: #888;
    font-size: 12px;
}

.mini-card div {
    margin-top: 5px;
    font-weight: bold;
    color: #f0b90b;
}

.miner-chart-container {
    height: 250px;
}

/* ===================================================== */
/* ================= TABLES ============================ */
/* ===================================================== */

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 8px;
    border-bottom: 1px solid rgba(0, 255, 200, 0.2);
    font-size: 14px;
}

tr:hover {
    background: rgba(0, 255, 200, 0.05);
}

/* Online / Offline статус */
.online { color: #00ff88; }
.offline { color: #ff3b3b; }

/* ===================================================== */
/* ================= BLOCK NOTIFIER ==================== */
/* ===================================================== */

/* Binance neon pulse animation */
@keyframes neonPulse {
    0%   { box-shadow: 0 0 10px rgba(0,255,213,0.4); }
    50%  { box-shadow: 0 0 30px rgba(0,255,213,0.9); }
    100% { box-shadow: 0 0 10px rgba(0,255,213,0.4); }
}

/* Popup контейнер */
.block-popup {
    position: fixed;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #0f3c3c, #092626);
    border: 1px solid #00ffd5;
    padding: 18px 22px;
    color: #00ffd5;
    font-size: 14px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-25px);
    transition: all 0.4s ease;
    z-index: 9999;
}

/* Активно състояние */
.block-popup.show {
    opacity: 1;
    transform: translateY(0);
    animation: neonPulse 2s infinite;
}

/* ===================================================== */
/* ================= POOL INFO MODAL =================== */
/* ===================================================== */

.pool-info-btn {
    margin-top: 15px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #f0b90b, #f8d33a);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
}

.pool-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240,185,11,0.4);
}

/* Overlay (цял екран) */
.pool-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10000;
}

.pool-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Модален прозорец */
.pool-modal {
    width: 80%;
    max-width: 900px;
    background: linear-gradient(145deg, #0e2c2c, #081c1c);
    border: 1px solid #00ffd5;
    border-radius: 12px;
    padding: 30px;
    transform: translateY(40px);
    transition: all 0.4s ease;
    box-shadow: 0 0 40px rgba(0,255,213,0.25);
    color: #00ffd5;
}

.pool-overlay.active .pool-modal {
    transform: translateY(0);
}

/* Close button */
.pool-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 22px;
    cursor: pointer;
    color: #f0b90b;
}


/*discord box */

.discord-box {
    margin-top: 20px;
}

.discord-box a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid #5865F2;
    border-radius: 8px;
    text-decoration: none;
    color: #00ffd5; /* твоя неонов цвят */
    font-weight: 500;
    transition: 0.2s ease;
}

.discord-box a:hover {
    background: rgba(88, 101, 242, 0.25);
}

.discord-box img {
    width: 10px;
    height: 10px;
}
