/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    height: 100vh;
    overflow: hidden;
}

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

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar .logo h2 {
    margin-bottom: 40px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #34495e;
    padding-bottom: 10px;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 15px;
}

.sidebar nav ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    display: block;
    padding: 10px;
    border-radius: 4px;
}

.sidebar nav ul li a:hover {
    color: #fff;
    background-color: #34495e;
}

.sidebar .status {
    margin-top: auto;
    font-size: 0.9rem;
    color: #95a5a6;
    border-top: 1px solid #34495e;
    padding-top: 20px;
}

.sidebar .status .online {
    color: #2ecc71;
    font-weight: bold;
}

/* Content Area */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ecf0f1;
}

header {
    background-color: #fff;
    padding: 20px 40px;
    border-bottom: 1px solid #bdc3c7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    color: #2c3e50;
}

.breadcrumb {
    font-family: 'Courier New', Courier, monospace;
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #555;
}

.document-viewer {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* Page Content Styles */
.page-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.stat-card h3 {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.log-viewer {
    background-color: #2c3e50;
    color: #2ecc71;
    padding: 20px;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
}

.error {
    background-color: #e74c3c;
    color: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
}

.activity-list {
    list-style: none;
    margin-top: 10px;
}

.activity-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}
