/* ---------------------------------------------------------
   FXHUNTER PORTAL — NEON PROP-FIRM THEME (BLUE / PURPLE)
   ---------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #0f1220;
    --card: #171b2f;
    --primary: #6b4bff;
    --primary-glow: rgba(107, 75, 255, 0.45);
    --text: #ffffff;
    --soft-text: #d2d2d2;
    --success: #29e67a;
    --danger: #ff4f6b;
    --border: #262a40;
    --sidebar-width: 260px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    display: flex;
    overflow-x: hidden;
}

/* ---------------------------------------------
   SIDEBAR
----------------------------------------------*/
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: #120f27;
    padding-top: 25px;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 4px 0 20px rgba(0,0,0,0.25);
    z-index: 50;
    transition: 0.3s ease;
}

.sidebar .logo {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-bottom: 35px;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 12px 22px;
    color: var(--soft-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: 0.2s;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(107, 75, 255, 0.15);
    border-left: 3px solid var(--primary);
    color: #fff;
}

.sidebar a i {
    margin-right: 12px;
    font-size: 18px;
}

/* ---------------------------------------------
   MOBILE SIDEBAR (COLLAPSE)
----------------------------------------------*/
.sidebar.hidden {
    left: -260px;
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 18px;
    left: 18px;
    background: var(--primary);
    padding: 10px 12px;
    border-radius: 8px;
    color: #fff;
    z-index: 100;
}

/* ---------------------------------------------
   HEADER
----------------------------------------------*/
.main-header {
    height: 65px;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    margin-left: var(--sidebar-width);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    z-index: 20;
}

.header-title {
    font-size: 22px;
    font-weight: 600;
}

.user-badge {
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* ---------------------------------------------
   CONTENT AREA
----------------------------------------------*/
.content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    width: 100%;
}

h2.section-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

/* ---------------------------------------------
   NEON CARDS
----------------------------------------------*/
.card {
    background: var(--card);
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 0 12px rgba(255,255,255,0.03), 0 0 25px rgba(107,75,255,0.15);
}

.card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--success);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ---------------------------------------------
   TABLES (Trades & Signals)
----------------------------------------------*/
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 12px;
}

.table th {
    background: #1d2035;
    padding: 12px;
    text-align: left;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--soft-text);
}

.table tr:hover {
    background: rgba(255,255,255,0.03);
}

/* ---------------------------------------------
   ACCOUNT CARDS
----------------------------------------------*/
.account-card {
    background: var(--card);
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(107,75,255,0.20);
    margin-bottom: 20px;
}

.account-number {
    font-size: 24px;
    font-weight: 700;
}

.account-label {
    display: inline-block;
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 8px;
    box-shadow: 0 0 8px var(--primary-glow);
}

/* ---------------------------------------------
   BUTTONS
----------------------------------------------*/
.btn {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px var(--primary-glow);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #000;
}

/* ---------------------------------------------
   RESPONSIVE
----------------------------------------------*/
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .mobile-menu-btn {
        display: block;
    }

    .sidebar {
        left: -260px;
    }

    .sidebar.show {
        left: 0;
    }

    .main-header {
        margin-left: 0;
    }

    .content {
        margin-left: 0;
        padding: 20px;
    }
}
