/* =========================================
   1. Dashboard Basis-Layout
   ========================================= */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 71px); /* Höhe abzüglich Header (ca. 71px inkl. Border) */
}

.main-content {
    flex: 1;
    padding: 2rem;
    width: 100%;
    overflow-y: auto;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 1.5rem;
}

/* =========================================
   2. Karten (Cards)
   ========================================= */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   3. Toggle Settings (Schalter-Elemente)
   ========================================= */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9fafb;
    border: 1px solid var(--border-color, #e1e3e5);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.toggle-text {
    max-width: 85%;
}

.toggle-title {
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    margin-bottom: 2px;
}

.toggle-description {
    font-size: 0.8125rem; /* 13px */
    color: var(--text-muted, #6d7175);
    margin-bottom: 0;
}

.info-label {
    color: var(--text-main, #202223);
    font-weight: 500;
}

/* Schalter (Toggle) Styling */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #c9cccf;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: var(--primary-color, #008060);
}

input:focus + .slider {
    box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.2);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* =========================================
   4. Utility Klassen (Abstände)
   ========================================= */
.mb-sm {
    margin-bottom: 0.5rem;
}

.mt-0 {
    margin-top: 0;
}