body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #495057;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}   

header {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    color: #6f42c1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bootstrap überschreibt diese Styles, daher entfernen wir sie */

.card {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.notenpunkte {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.notenpunkte:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notenpunkte label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
    text-align: center;
}

.notenpunkte input {
    width: 100%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    color: #495057;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.notenpunkte input::placeholder {
    text-align: center;
    color: #6c757d;
}

.notenpunkte input:focus {
    outline: none;
    border-color: #6f42c1;
    box-shadow: 0 0 15px rgba(111, 66, 193, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.notenpunkte input:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(111, 66, 193, 0.3);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a32a3 0%, #4c2a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Neue Styles für die Ergebnisseite */
#notenverteilung {
    margin: 20px auto;
    max-width: 600px;
}

#notenverteilung p {
    padding: 15px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

#durchschnitt {
    text-align: center;
    font-size: 1.4rem;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: #6f42c1;
}

.warnung {
    color: #721c24;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    background: rgba(248, 215, 218, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(220, 53, 69, 0.3);
    backdrop-filter: blur(5px);
    margin: 20px 0;
}


