/* =======================
   General / Body
   ======================= */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #0b0b0b; /* Dark background */
    color: #fff;
}

a {
    color: #f0b90b; /* Binance yellow links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =======================
   Header
   ======================= */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background-color: #0b0b0b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo-wrapper {
    display: flex;
    align-items: center;
}

header img {
    height: 40px;
    width: 40px;
    margin-right: 12px;
}

header .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0b90b;
}

header .controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

header select {
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
    background-color: #1e1e1e;
    color: #fff;
    cursor: pointer;
}

header button {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* Theme toggle */
#theme-toggle {
    background-color: #f0b90b;
    color: #0b0b0b;
}

/* =======================
   Main container
   ======================= */
main {
    padding: 20px;
}

/* =======================
   Forms (login/signup)
   ======================= */
form {
    background-color: #1e1e1e;
    padding: 24px;
    border-radius: 8px;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

form h2 {
    color: #f0b90b;
    margin-bottom: 16px;
    text-align: center;
}

form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: none;
    border-radius: 4px;
    background-color: #0b0b0b;
    color: #fff;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #f0b90b;
    border: none;
    border-radius: 4px;
    color: #0b0b0b;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background-color: #d1a40f;
}

/* Social login buttons */
.social-login button {
    width: 100%;
    margin-top: 8px;
    background-color: #1e1e1e;
    color: #f0b90b;
    border: 1px solid #f0b90b;
}

.social-login button:hover {
    background-color: #f0b90b;
    color: #0b0b0b;
}

/* =======================
   Marketplace
   ======================= */
#market-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#listings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.listing-card {
    background-color: #1e1e1e;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.listing-card h3 {
    color: #f0b90b;
}

/* =======================
   Orders
   ======================= */
#order-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background-color: #1e1e1e;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* =======================
   Admin Panel
   ======================= */
#admin-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#admin-users, #admin-listings {
    background-color: #1e1e1e;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* =======================
   Education Hub
   ======================= */
#education-view {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* =======================
   Footer
   ======================= */
footer {
    padding: 12px 24px;
    background-color: #0b0b0b;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

footer a {
    color: #f0b90b;
}

footer a:hover {
    color: #d1a40f;
}

/* =======================
   Hidden / Active sections
   ======================= */
.hidden {
    display: none;
}

.active {
    display: block;
}