* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: sans-serif;
    background: #1a1a2e;
    color: #E8E8E8;
}

.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    /* background: #1a1a2e; */
    color: #ecf0f1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #2c3e50;
    min-height: 100vh;
}

.sidebar .logo {
    font-size: 24px;
    font-weight: bold;
    padding: 0 20px 30px;
}

.sidebar .logo img {
    width: 64px;
    height: 64px;
    vertical-align: middle;
    margin-right: 10px;
}

.sidebar .logo-text {
    vertical-align: middle;
    background: linear-gradient(135deg, #649FE1 0%, #5943A8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    transition: 0.3s;
}

.sidebar nav ul {
    list-style: none;
}
.sidebar nav ul li {
    padding: 12px 20px;
    transition: background 0.2s;
}
.sidebar nav ul li:hover {
    background: #34495e;
}
.sidebar nav ul li.active {
    background: #252541;
    border-left: 4px solid #d4a843;
}
.sidebar nav ul li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.sidebar nav ul li a .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.sidebar nav ul li a #market-icon {
    background: url('../images/icons/market.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li.active a #market-icon {
    background: url('../images/icons/market-h.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li a #strategy-icon {
    background: url('../images/icons/strategy.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li.active a #strategy-icon {
    background: url('../images/icons/strategy-h.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li a #academy-icon {
    background: url('../images/icons/academy.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li.active a #academy-icon {
    background: url('../images/icons/academy-h.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li a #profile-icon {
    background: url('../images/icons/profile.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li.active a #profile-icon {
    background: url('../images/icons/profile-h.png') no-repeat center center;
    background-size: contain;
}

.sidebar nav ul li.active a {
    color: #d4a843;
}

.sidebar .footer-copy {
    margin-top: auto;
    padding: 20px;
    font-size: 12px;
    text-align: center;
    color: #7f8c8d;
}

.sidebar .footer-copy a{
    color: #7f8c8d;
    text-decoration: none;
}

.sidebar .gongan-icon{
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.main-content header {
    margin-bottom: 20px;
}