/*
 * Zentrale CSS-Datei für MYSTIC-NEXUS Shop & Admin
 * Version 1.0
 */

/* Globale Stile & Layout-Grundlagen */
body {
    margin: 0;
    background: #0a0f1b url('/shop/images/mystic_bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #c7d1ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    display: flex;
    min-height: 100vh;
    padding: 2vh 2vw;
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    gap: 30px;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: rgba(13, 18, 32, 0.75);
    padding: 20px;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(62, 93, 204, 0.2);
}

.sidebar h3 {
    color: #64a1ff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid #3e5dcc;
    padding-bottom: 10px;
}

.sidebar h3:not(:first-of-type) {
    margin-top: 25px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    color: #c7d1ff;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar ul li a:hover, .sidebar ul li a.active {
    background-color: #3e5dcc;
    color: #fff;
}

.sidebar ul li a.logout-link {
    color: #ff6666;
    margin-top: 20px;
    font-weight: bold;
}

.sidebar ul li a.logout-link:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Hauptinhalt & Container */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shop-container, .logo-container {
    background: rgba(21, 28, 54, 0.8);
    border-radius: 12px;
    box-shadow: 0 0 30px #12254f;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid rgba(62, 93, 204, 0.2);
}

.logo-container {
    background: rgba(21, 28, 54, 0.5);
    padding: 10px;
    transform: translateX(250px);
}

.shop-container {
    width: 100%;
    max-width: 1100px;
    margin-top: 30px;
    transform: translateX(80px);
}

/* Spezifische Regel nur für den Container auf der Login-Seite */
body > .shop-container {
    width: 880px;
    max-width: 90%;
    margin: 10vh auto 0 auto;
    transform: none; 
}

/* Allgemeine Elemente */
.shop-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.shop-container h1 {
    color: #00F0FF;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow:
        0 0 20px #00FFFF,
        0 0 40px #00FFFF,
        0 0 80px #0080FF;
}

.shop-container .slogan {
    color: #c7d1ff;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 30px;
    text-shadow:
        0 0 10px rgba(199, 209, 255, 0.7),
        0 0 20px rgba(100, 161, 255, 0.5);
}

/* Dashboard-spezifische Stile */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}

.dashboard-card {
    background-color: rgba(13, 18, 32, 0.6);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3e5dcc;
}

.dashboard-card h4 {
    margin-top: 0;
    color: #64a1ff;
}

.dashboard-card p {
    color: #f0f5ff;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.dashboard-card .kpi {
    color: #a7e649;
    font-size: 2.2rem;
    font-weight: bold;
}