/* style.css */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #1e1e1e;
    border-bottom: 2px solid #333;
}

.logo-placeholder {
    width: 280px;
    height: 80px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #666;
    color: #aaa;
    font-weight: bold;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-right {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}
.btn:hover { background-color: #0056b3; }
.btn-danger { background-color: #dc3545; }
.btn-danger:hover { background-color: #a71d2a; }

main {
    flex: 1;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

h2 { margin-top: 0; margin-bottom: 15px; font-size: 1.4rem; }
h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.1rem; }
h2, h3 { text-align: center; color: #fff; }

/* Dashboard Grids */
.top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.main-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Erhöht, damit farbige Buttons Abstand haben */
}

/* --- STYLING FÜR OBERE BILD-BUTTONS --- */
.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background-color: #2a2a2a;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: normal;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: none;
    border-radius: 8px;
    border: 1px solid #444;
    transition: transform 0.2s, border-color 0.2s;
    overflow: hidden;
}

.service-btn:hover {
    transform: translateY(-3px);
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

/* --- NEU: STYLING FÜR UNTERE FARBIGE TEXT-BUTTONS --- */
.service-btn-color {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px; /* Gleiche Höhe wie Bild-Buttons */
    width: 100%;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    /* Kein Border, da Farbe ausreicht */
    transition: transform 0.2s, filter 0.2s;
    
    /* Text-Einstellungen */
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.service-btn-color:hover {
    transform: translateY(-3px);
    filter: brightness(1.1); /* Wird beim Hover etwas heller */
}
/* -------------------------------------------------- */

/* Login & Forms */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.login-logo-placeholder {
    width: 100%;
    height: 80px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #666;
    color: #aaa;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #333;
    border: 1px solid #555;
    color: white;
    border-radius: 5px;
    box-sizing: border-box;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    border: 1px solid #444;
    text-align: left;
}
th { background-color: #333; }

footer {
    text-align: center;
    padding: 15px;
    background-color: #1e1e1e;
    color: #888;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* --- RESPONSIVE ANPASSUNG FÜR SMARTPHONES & TABLETS --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .header-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-grid {
        grid-template-columns: 1fr;
    }

    .main-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    main {
        padding: 15px;
    }
}