/* WaveFX Trading — Members Area Styles */

:root {
    --bg-dark: #0a0a1a;
    --bg-card: #111125;
    --bg-input: #0d0d20;
    --border: #1a1a3a;
    --border-highlight: #2a2a5a;
    --gold: #ffd700;
    --royal-blue: #4169e1;
    --lime: #00ff66;
    --orange: #ff8c00;
    --red: #ff4444;
    --text-bright: #ffffff;
    --text-dim: #aab0c0;
    --text-muted: #666;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-dim);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--royal-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== NAV ===== */
.members-nav {
    background: rgba(10, 10, 26, 0.95);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 60px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}
.nav-logo::before { content: '◢'; color: var(--royal-blue); }
.nav-logo::after { content: '◣'; color: #ff4500; }
.nav-logo:hover { text-decoration: none; }

.members-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    flex: 1;
}

.members-nav .nav-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
}
.members-nav .nav-links a:hover { color: var(--text-bright); background: rgba(255,255,255,0.05); text-decoration: none; }
.members-nav .nav-links a.active { color: var(--gold); background: rgba(255,215,0,0.1); }

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}
.user-link { color: var(--text-dim); font-size: 0.85rem; }
.user-link:hover { color: var(--gold); text-decoration: none; }

.btn-logout {
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
}
.btn-logout:hover { color: var(--red); border-color: var(--red); text-decoration: none; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
}

/* ===== MAIN ===== */
.members-main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== PAGE HEADER ===== */
.page-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}
.page-subtitle { color: var(--text-muted); margin-bottom: 2rem; }

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.card:hover { border-color: var(--border-highlight); }
.card h2, .card h3 {
    font-family: var(--font-display);
    color: var(--text-bright);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid-4 { grid-template-columns: 1fr; } }

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
    color: var(--text-dim);
}
.quick-link:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; color: var(--text-bright); }
.quick-link .ql-icon { font-size: 1.5rem; }
.quick-link .ql-label { font-weight: 600; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}
.btn-gold { background: var(--gold); color: #0a0a1a; }
.btn-gold:hover { background: #e6c200; text-decoration: none; color: #0a0a1a; }
.btn-blue { background: var(--royal-blue); color: #fff; }
.btn-blue:hover { opacity: 0.9; text-decoration: none; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-dim); }
.btn-outline:hover { border-color: var(--text-dim); color: var(--text-bright); text-decoration: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { opacity: 0.9; text-decoration: none; color: #fff; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; }
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
th {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
}
tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-member { background: rgba(65,105,225,0.15); color: var(--royal-blue); border: 1px solid rgba(65,105,225,0.3); }
.badge-vps { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.badge-admin { background: rgba(255,140,0,0.15); color: var(--orange); border: 1px solid rgba(255,140,0,0.3); }
.badge-active { background: rgba(0,255,102,0.1); color: var(--lime); border: 1px solid rgba(0,255,102,0.2); }
.badge-suspended { background: rgba(255,68,68,0.1); color: var(--red); border: 1px solid rgba(255,68,68,0.2); }

/* ===== FLASH MESSAGES ===== */
.flash {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.flash-success { background: rgba(0,255,102,0.1); border: 1px solid rgba(0,255,102,0.2); color: var(--lime); }
.flash-error { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.2); color: var(--red); }
.flash-info { background: rgba(65,105,225,0.1); border: 1px solid rgba(65,105,225,0.2); color: var(--royal-blue); }

/* ===== LOGIN PAGE ===== */
.login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}
.login-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
}
.login-box h1 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.login-box .login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}
.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.login-footer a { color: var(--royal-blue); }

/* ===== VIDEO EMBED ===== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #000;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== LICENSE KEY DISPLAY ===== */
.license-key {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--gold);
    letter-spacing: 2px;
    padding: 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
    margin: 1rem 0;
}

/* ===== FORUM ===== */
.thread-list { list-style: none; }
.thread-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.thread-item:hover { background: rgba(255,255,255,0.02); }
.thread-title { font-weight: 600; color: var(--text-bright); }
.thread-meta { font-size: 0.8rem; color: var(--text-muted); }
.post-item { padding: 1.25rem; border-bottom: 1px solid var(--border); }
.post-author { font-weight: 600; color: var(--gold); font-size: 0.85rem; margin-bottom: 0.5rem; }
.post-date { color: var(--text-muted); font-size: 0.8rem; }
.post-body { color: var(--text-dim); line-height: 1.7; }

/* ===== FOOTER ===== */
.members-footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: auto;
}
.members-footer p { margin-bottom: 0.5rem; }
.members-footer a { color: var(--text-dim); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-lime { color: var(--lime); }
.text-red { color: var(--red); }
.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.text-bright { color: var(--text-bright); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.mono { font-family: var(--font-mono); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .members-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 0.75rem 1rem;
    }
    .mobile-menu-btn { display: block; }
    .members-nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0.5rem 0;
    }
    .members-nav .nav-links.open { display: flex; }
    .nav-user { display: none; }
    .members-nav .nav-links.open + .nav-user { display: flex; width: 100%; justify-content: center; padding: 0.5rem 0; }
    .members-main { padding: 1rem; }
    .card-grid { grid-template-columns: 1fr; }
}
