/* =========================
   Grundlayout & Reset
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #f0f0f0;
    line-height: 1.6;
}

/* =========================
   Links
========================= */
a {
    color: #5b6eae;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   Buttons
========================= */
button, .btn {
    background-color: #5b6eae;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover, .btn:hover {
    background-color: #5b6eae;
}

/* =========================
   Container
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #2c2c2c;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* =========================
   Header
========================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

header h1 {
    color: #5b6eae;
}

/* =========================
   Dashboard Boxen
========================= */
.dashboard-box {
    background-color: #3a3a3a;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.dashboard-box:hover {
    background-color: #444;
}

/* Fraktionsüberschriften */
.fraktion-title {
    color: #5b6eae;
    margin-bottom: 10px;
}

/* =========================
   Formulare
========================= */
form label {
    display: block;
    margin: 10px 0 5px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    background-color: #444;
    color: #fff;
}

textarea {
    resize: vertical;
}

/* =========================
   Tabellen
========================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #555;
}

th {
    background-color: #2a2a2a;
}

/* =========================
   Moderne Login-Seite
========================= */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.login-card {
    background-color: #2c2c2c;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.login-card h1 {
    color: #5b6eae;
    margin-bottom: 20px;
}

.login-card p {
    color: #ddd;
    margin-bottom: 30px;
}

/* Discord Button */
.discord-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #7289da;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s, transform 0.3s;
}

.discord-btn:hover {
    background-color: #5b6eae;
    transform: scale(1.05);
}

/* =========================
   Responsives Design
========================= */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    button, .btn, .discord-btn {
        width: 100%;
        margin-top: 10px;
    }

    .login-card {
        padding: 30px 20px;
    }
}
