/* ===== RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== BODY ===== */
body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #333;

    /* 🔥 bessere Darstellung */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #2d6cdf, #6ea8ff);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== LOGO ===== */
.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

/* ===== NAV ===== */
.nav {
    margin-left: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.nav a:hover {
    text-decoration: underline;
}

.nav .logout {
    color: #ffb3b3;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 900px;
    margin: auto;
    padding: 15px;
}

/* ===== CARD ===== */
.card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 📱 Mobile Fix */
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    padding: 12px 16px;
    background: #2d6cdf;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 🔒 Disabled */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== BUTTON VARIANTS ===== */
.btn.primary { background: #2d6cdf; }
.btn.gray { background: #888; }
.btn.danger { background: #e74c3c; }

/* ===== FORM ===== */
.form-group { margin-bottom: 15px; }

input, select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border 0.2s, box-shadow 0.2s;
}

/* 🔥 Fokus */
input:focus, select:focus {
    outline: none;
    border-color: #2d6cdf;
    box-shadow: 0 0 0 2px rgba(45,108,223,0.2);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 15px;
    color: #777;
    font-size: 14px;
    margin-top: 20px;
}