body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 10px #4CAF50;
    text-align: center;
}

.logo {
    width: 120px;
    float: right;
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.error {
    color: red;
    margin-bottom: 10px;
}

.dashboard-wrapper {
    padding: 30px;
    color: #333;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.logo {
    width: 100px;
}

.logout-btn {
    text-decoration: none;
    color: white;
    background-color: #4CAF50;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
}

.logout-btn:hover {
    background-color: #45a049;
}

.dashboard-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tile {
    flex: 1 1 200px;
    background-color: white;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.tile a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.tile:hover {
    background-color: #f1fdf4;
    transform: scale(1.03);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

table tr:hover {
    background-color: #f1fdf4;
}

/* Grundlayout */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6fff6;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 128, 0, 0.1);
    flex-wrap: wrap;
}

.header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #2e7d32;
}

.header p {
    margin-top: 5px;
    color: #444;
}

.logout-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.logout-btn:hover {
    background-color: #45a049;
}

/* Dashboard Tiles */
.dashboard-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tile {
    background-color: white;
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    min-width: 200px;
    flex: 1 1 250px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.tile a {
    text-decoration: none;
    color: #2e7d32;
    display: block;
}

.tile:hover {
    background-color: #f1fdf4;
    transform: translateY(-2px);
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-content {
        flex-direction: column;
        align-items: stretch;
    }

    .tile {
        width: 100%;
        flex: 1 1 auto;
    }

    .logout-btn {
        margin-top: 10px;
    }
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #4CAF50;
    padding: 10px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px;
}

.mobile-menu a {
    padding: 10px;
    text-decoration: none;
    color: #2e7d32;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.desktop-only {
    display: inline-block;
}

/* Responsive Mobile View */
@media (max-width: 700px) {
    .hamburger {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}

