/* Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

/* Flexbox-Container um Sidebar und Content nebeneinander zu platzieren */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* --- LINKE SEITENLEISTE (SIDEBAR) --- */
.sidebar {
    width: 260px;
    background-color: #0b2c5e; /* Seriöses Bank-Blau */
    color: white;
    display: flex;
    flex-direction: column;
}

.sidebar .logo {
    padding: 30px 20px;
    border-bottom: 1px solid #1a4282;
}

.sidebar .logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    padding: 20px 0;
}

.nav-links li {
    margin-bottom: 5px;
}

/* Das Design der Links/Reiter */
.nav-links a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 15px 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background-color: #1a4282;
    color: white;
    border-left: 4px solid #4facfe; /* Kleiner visueller Akzent beim Hovern */
}

/* --- HAUPTBEREICH (CONTENT) --- */
.content {
    flex: 1;
    padding: 40px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.greeting h1 {
    font-size: 2rem;
    color: #0b2c5e;
    margin-bottom: 5px;
}

.greeting p {
    color: #666;
}

.btn-logout {
    background-color: white;
    color: #0b2c5e;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #0b2c5e;
    font-weight: bold;
    transition: 0.3s;
}

.btn-logout:hover {
    background-color: #0b2c5e;
    color: white;
}

/* --- KARTEN-DESIGN (DASHBOARD) --- */
.dashboard-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 250px;
    border-top: 4px solid #4facfe;
}

.card h3 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.card .balance {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0b2c5e;
    margin-bottom: 20px;
}

.card-link {
    text-decoration: none;
    color: #4facfe;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-link:hover {
    text-decoration: underline;
}