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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

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

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.user-info {
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.user-info h2 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}

.user-info p {
    font-size: 13px;
    color: #a0aec0;
    background: rgba(102, 126, 234, 0.2);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
}

.menu-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.logout-btn {
    padding: 18px 20px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn:hover {
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    padding-left: 30px;
}

/* Content */
.content {
    flex: 1;
    background: #f7fafc;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

iframe {
    width: 100%;
    flex: 1;
    border: none;
    background: white;
}

.header {
    background: white;
    padding: 20px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.header h1 {
    color: #2d3748;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header h1 i {
    color: #667eea;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7fafc;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #4a5568;
}

.online-indicator {
    color: #48bb78;
    font-size: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Scrollbar Custom */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
    .sidebar {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        z-index: 1000;
        transition: left 0.3s;
    }
    
    .sidebar.active {
        left: 0;
    }
}