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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #eee;
    min-height: 100vh;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand h1 {
    color: #e94560;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #bbb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e94560;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e94560;
}

.stat-change {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}

.stat-change.positive {
    color: #4ecca3;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card h3 {
    margin-bottom: 1rem;
    color: #e94560;
}

.activity-list {
    list-style: none;
}

.activity-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-list .time {
    color: #888;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    display: block;
    padding: 0.75rem 1.5rem;
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s;
}

.action-btn:hover {
    background: rgba(233, 69, 96, 0.4);
}

/* System Info */
.system-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.system-info h3 {
    margin-bottom: 1rem;
    color: #e94560;
}

.status-online {
    color: #4ecca3;
    font-weight: bold;
}

/* Docs Layout */
.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.docs-sidebar {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    height: fit-content;
}

.docs-sidebar h3 {
    color: #e94560;
    margin-bottom: 1rem;
}

.docs-menu {
    list-style: none;
}

.docs-menu li {
    margin-bottom: 0.5rem;
}

.docs-menu a {
    color: #bbb;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.docs-menu a:hover {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
}

.docs-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.docs-content h2 {
    color: #e94560;
    margin-bottom: 1rem;
}

.docs-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.docs-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

.docs-content code {
    font-family: 'Consolas', monospace;
}

.docs-welcome {
    text-align: center;
    padding: 3rem;
}

/* Login */
.login-container {
    max-width: 400px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-container h2 {
    text-align: center;
    color: #e94560;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #bbb;
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: #e94560;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #d63050;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #888;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error {
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid #e94560;
    color: #e94560;
}

/* Tables */
.data-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    background: rgba(0, 0, 0, 0.3);
    color: #e94560;
}

/* Log Levels */
.log-level {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.log-level.info {
    background: rgba(78, 204, 163, 0.2);
    color: #4ecca3;
}

.log-level.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.log-level.error {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
}

/* Log Filters */
.log-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-select,
.filter-date {
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Profile */
.profile-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e94560, #0f3460);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.profile-info h3 {
    color: #e94560;
}

.profile-details {
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row .label {
    width: 150px;
    color: #888;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: #e94560;
    color: #fff;
}

.btn-primary:hover {
    background: #d63050;
}

.settings-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.settings-section h3 {
    color: #e94560;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    color: #888;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .log-filters {
        flex-direction: column;
    }
}
