body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: linear-gradient(120deg, #f8fafc 0%, #e9ecef 100%);
    padding: 0;
    margin: 0;
}
.main-container {
    max-width: 1100px;
    margin: 5px auto 5px auto;
    padding: 32px 24px 24px 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(60,72,88,0.10), 0 1.5px 4px 0 rgba(60,72,88,0.04);
}
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgba(60,72,88,0.06);
}
th, td {
    border: none;
    padding: 12px 10px;
    text-align: center;
}
th {
    background-color: #f1f3f7;
    font-weight: 600;
    color: #3a3a3a;
}
tr:nth-child(even) td {
    background: #f8fafc;
}
tr:hover td {
    background: #e6f0fa;
    transition: background 0.2s;
}
h1, h2 {
    text-align: center;
    font-weight: 700;
    color: #2b2b2b;
    margin-top: 0;
}
h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.positive { color: #1ca97c; font-weight: 600; }
.negative { color: #e74c3c; font-weight: 600; }
.buy { background-color: #e6fbe9 !important; }
.sell { background-color: #ffeaea !important; }
.logo-container {
    text-align: center;
    margin-bottom: 24px;
}
.logo {
    max-width: 220px;
    max-height: 70px;
    filter: drop-shadow(0 2px 8px rgba(60,72,88,0.10));
}
.wallet-chart-container {
    max-width: 950px;
    margin: 0 auto 36px auto;
    background: #f9fbfd;
    padding: 28px 22px 22px 22px;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(60,72,88,0.08);
}
.chart-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.modern-btn, .rangeBtn {
    background: #f1f3f7;
    color: #2b2b2b;
    border: none;
    border-radius: 7px;
    padding: 8px 18px;
    margin: 0 3px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 4px 0 rgba(60,72,88,0.06);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.modern-btn:hover, .rangeBtn:hover {
    background: #e6f0fa;
    color: #0074D9;
}
.rangeBtn.active {
    background: #0074D9;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(0,116,217,0.10);
}
#walletCheckboxes label {
    margin-right: 18px;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
}
#walletCheckboxes input[type="checkbox"] {
    accent-color: #0074D9;
    margin-right: 4px;
}
form {
    text-align: center;
    margin-bottom: 28px;
}
form label {
    margin: 0 10px;
    font-size: 1rem;
}
form input[type="text"] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 1rem;
    margin-left: 2px;
    background: #f8fafc;
    transition: border 0.18s;
}
form input[type="text"]:focus {
    border: 1.5px solid #0074D9;
    outline: none;
}
form button {
    background: #0074D9;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 10px;
    cursor: pointer;
    box-shadow: 0 1px 4px 0 rgba(60,72,88,0.06);
    transition: background 0.18s;
}
form button:hover {
    background: #005fa3;
}
.popup-btn {
    background: #f1f3f7;
    color: #0074D9;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    margin: 0 2px;
}
.popup-btn:hover {
    background: #e6f0fa;
    color: #005fa3;
}
/* MENU styling */
nav.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 12px;
}
@media (max-width: 900px) {
    .main-container, .wallet-chart-container { padding: 10px 2vw; }
    table, .wallet-chart-container { font-size: 0.98rem; }
}
@media (max-width: 600px) {
    .main-container, .wallet-chart-container { padding: 2vw 1vw; }
    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.05rem; }
    table, .wallet-chart-container { font-size: 0.93rem; }
}
.account-select {
    display: flex;
    flex-wrap: inherit;
    gap: 8px;
    justify-content: center;
    margin-bottom: 18px;
}
.account-select > label {
    cursor: pointer;
    user-select: none;
}
.account-select > label > input {
    display: none;
}
.account-select > label > span {
    display: inline-block;
    padding: 6px 6px;
}

/* Chart container styling */
.chart-container {
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
}
