/* Grundlegendes Layout */
body {
    background-color: #f4f7f6 !important;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

/* Die weiße Box um die Tabelle */
.main-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    background: white;
    padding: 30px;
    margin-bottom: 50px;
}

.card { 
    border-radius: 12px; 
    overflow: hidden; 
}

.logout-header {
    display: flex;
    justify-content:space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.practice-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.logout-button {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    text-decoration: none;
    border: 1px solid #6c757d;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.logout-button:hover {
    background-color: #6c757d;
    color: #fff;
}

.sub-title {
    color: #0d6efd;
    font-weight: 600;
}

/* Sektions-Überschriften */
.text-primary { 
    color: #0d6efd !important; 
    font-size: 1.1rem; 
    font-weight: 600; 
}

/* Optional: Stil für die "Falls abweichend" Sektion */
.text-secondary {
    font-size: 1.1rem;
    font-weight: 600;
}

.bg-primary { 
    background-color: #0d6efd !important; 
}

/* Suchfeld Verschönerung */
.search-bar .form-control {
    border-radius: 8px 0 0 8px;
    border: 1px solid #dee2e6;
}

.search-bar .btn {
    border-radius: 0 8px 8px 0;
}

/* Tabellen-Styling */
.table {
    border-collapse: separate;
    border-spacing: 0 8px; /* Erzeugt einen leichten Abstand zwischen Zeilen */
}

.table thead th {
    background-color: #f8f9fa;
    border: none;
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 15px;
}

.table tbody tr {
    transition: transform 0.2s;
}

.table td {
    padding: 15px;
    border-top: 1px solid #f1f1f1 !important;
    vertical-align: middle;
}

/* Buttons */
.btn-new {
    background-color: #0d6efd;
    color: white;
    border-radius: 8px;
    font-weight: 500;
}

.btn-action-group .btn {
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 6px;
}

/* Fokus-Effekte für Eingabefelder */
.form-control:focus, 
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

/* Labels einheitlich stylen */
.form-label { 
    color: #495057; 
    font-size: 0.85rem; 
    margin-bottom: 0.3rem; 
}