* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
}

/* User Bar - Oben auf der Seite */
.user-bar {
    background: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-badge {
    background: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
}

.logout-btn {
    background: #e74c3c;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9em;
}

.logout-btn:hover {
    background: #c0392b;
}

.admin-btn {
    background: #43e97b;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9em;
    margin-right: 10px;
}

.admin-btn:hover {
    background: #38d66d;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 250px;
    height: auto;
}

h1 {
    color: #333;
    font-size: 2.5em;
    font-weight: 600;
    margin-top: 20px;
}

.button-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.portal-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 40px 50px;
    color: white;
    font-size: 1.5em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 250px;
}

.portal-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.portal-button:active {
    transform: translateY(-2px);
}

.computing-button {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.printing-button {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.button-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon svg {
    width: 80px;
    height: 80px;
    stroke: white;
    stroke-width: 2;
}

/* Zurück-Button */
.back-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #764ba2;
}

/* Content-Bereich für Unterseiten */
.content-area {
    padding: 20px;
    text-align: center;
}

.content-area h2 {
    color: #333;
    margin-bottom: 20px;
}

.content-area p {
    color: #666;
    font-size: 1.1em;
}

/* Device Grid für spätere Darstellung */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.device-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.device-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.device-card p {
    color: #666;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .portal-button {
        width: 100%;
        max-width: 300px;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
}
