/* === SCHÖNWALD BRANDING / ZENTRALE STYLES === */

:root {
    --brand-primary: #009D9C;
    --brand-secondary: #17364B;
    --brand-light: #000000;
    --color-primary: #005a9c;
    --color-primary-dark: #004475;
    --color-success: #28a745;
    --color-success-dark: #218838;
    --color-danger: #dc3545;
    --color-danger-dark: #bd2130;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    --color-muted: #6c757d;
    --color-text: #333;
    --color-bg: #f4f7f6;
    --color-border: #ddd;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    padding: 30px;
    margin: 0;
}

h1 {
    color: var(--color-primary);
    margin: 0;
    font-size: 1.8rem;
}

h2 {
    color: #333;
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-border);
}

h3 {
    margin-top: 0;
    color: var(--color-info);
    font-size: 1.3rem;
    margin-bottom: 11px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    overflow: hidden;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    background-color: #fbfdff;
}

input[disabled] {
    background-color: #eaeaea;
    cursor: not-allowed;
}

textarea {
    resize: vertical;
    height: 60px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-link:hover {
    opacity: 0.9;
}

.brand-footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #d9e2ec;
    background-color: #f8fafc;
	
	display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.brand-footer p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.brand-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin: 0 5px;
}

.brand-footer a:hover {
    color: #00f;
    text-decoration: underline;
}

.brand-footer span {
    color: #94a3b8;
}

ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

dd {
    margin: 1em 0 1em 1em;
}

tt,
code,
kbd {
    font-family: "Courier New", Courier, monospace;
    font-size: 82%;
}

table,
.master-table,
.child-table,
.matrix-table,
.attendance-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
}

th,
td,
.master-table th,
.master-table td,
.child-table th,
.child-table td,
.matrix-table th,
.matrix-table td,
.attendance-section th,
.attendance-section td {
    border: 1px solid var(--color-border);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

th,
.master-table th,
.matrix-table th {
    background-color: var(--color-primary);
    color: #fff;
    font-weight: bold;
}

tr:nth-child(even),
.master-table tr:nth-child(even),
.child-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-wrapper {
    display: flex;
	justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.box {
    width: 100%;
    max-width: 960px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.profile-card {
    max-width: 850px;
    background: #fff;
    padding: 30px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.brand-header,
.brand-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 22px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.brand-header img,
.brand-footer img {
    height: 96px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
}

.brand-title {
    display: flex;
    flex-direction: column;
}

.brand-title h1,
.brand-title h2 {
    margin: 0;
    color: #fff;
}

.brand-title small {
    opacity: .92;
    font-size: 0.92rem;
}

.admin-header,
.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.nav-links,
.utility-links,
.form-inline,
.flex-grid,
.class-badge-container,
.child-item {
    display: flex;
    gap: 10px;
}

.flex-grid,
.class-badge-container {
    flex-wrap: wrap;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    grid-column: span 3;
}

.form-inline div {
    flex: 1;
}

.full-width {
    grid-column: span 2;
}

.one-third {
    grid-column: span 1;
}

.two-thirds {
    grid-column: span 2;
}

.half-width {
    grid-column: span 1;
}

.module-card {
    background: #fff;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    flex: 1 1 340px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    position: relative;
}

.btn,
.btn-login,
.btn-submit,
.btn-save,
.btn-nav,
.btn-settings,
.btn-modal-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
}

.btn:hover,
.btn-login:hover,
.btn-submit:hover,
.btn-save:hover,
.btn-nav:hover,
.btn-settings:hover {
    background: var(--color-primary-dark);
}

.btn-add,
.btn-add-child {
    background: var(--color-success);
    color: #fff;
    border: none;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
}

.btn-add:hover,
.btn-add-child:hover {
    background: var(--color-success-dark);
}

.btn-delete,
.btn-admin-delete,
.btn-table-delete,
.btn-delete-mod {
    background: var(--color-danger);
    color: #fff;
	width: 100%;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
}

.btn-delete:hover,
.btn-admin-delete:hover,
.btn-table-delete:hover,
.btn-delete-mod:hover,
.btn-logout:hover {
    background: var(--color-danger-dark);
}

.btn-delete:disabled {
    background: #e0a8ad;
    border-color: #ddb4b7;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-back,
.btn-modal-close {
    background: var(--color-muted);
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-back:hover,
.btn-modal-close:hover {
    background: #5a6268;
}

.btn-nav-list,
.btn-print,
.btn-modal-submit {
    background: var(--color-info);
    color: #fff;
	width: 100%;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
}

.btn-nav-list:hover,
.btn-print:hover,
.btn-modal-submit:hover {
    background: #138496;
}

.btn-logout  {
    background: #dc3545;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
}

.btn-admin-edit,
.btn-table-edit {
    background: var(--color-warning);
    color: #212529;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
}

.btn-admin-edit:hover,
.btn-table-edit:hover {
    background: #e0a800;
}

.back-link,
.back a,
.register-link a,
.utility-links a,
.class-badge a,
a.demo {
	color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover,
.back a:hover,
.register-link a:hover,
.utility-links a:hover,
a.demo:hover {
    text-decoration: underline;
}

.alert,
.alert-success,
.alert-error,
.alert-info {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.4;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.danger-zone,
.delete-zone {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 20px;
    margin-top: 40px;
}

.dietary-warning,
.dietary-alert,
.terms,
.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    font-weight: bold;
}

.dietary-warning {
    padding: 4px 8px;
    display: inline-block;
    margin-top: 5px;
    font-size: 0.85rem;
    border-left: 3px solid var(--color-warning);
}

.dietary-alert {
    padding: 15px;
    border-left: 5px solid var(--color-warning);
    margin-top: 15px;
}

.status-pending {
    padding: 6px 12px;
    font-size: 0.85rem;
    display: inline-block;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px 15px;
    margin-top: 15px;
}

.info-label {
    font-weight: bold;
    color: #555;
}

.info-value {
    color: #111;
}

.info-note {
    background-color: #f9f9f9;
    border: 1px solid #777;
    border-left: 4px solid var(--color-primary);
    color: #222;
    padding: 15px;
    margin: 15px 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.parent-info-box {
    background: #f4f7fa;
    padding: 12px;
    border: 1px solid var(--color-primary);
    border-radius: 2px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.badge,
.class-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
}

.badge-admin {
    background: #e3f2fd;
    color: #0d47a1;
}

.badge-staff {
    background: #e8f5e9;
    color: #1b5e20;
}

.badge-user {
    background: #f5f5f5;
    color: #424242;
}

.badge-verified {
    background: #d4edda;
    color: #155724;
}

.badge-unverified {
    background: #fff3cd;
    color: #856404;
}

.class-badge {
    background: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group {
    margin-top: 10px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.checkbox-label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
    cursor: pointer;
}

.child-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.child-item {
    background: #f8f9fa;
    border: 1px solid var(--color-border);
    border-left: 5px solid #6f42c1;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 4px;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.child-item:hover {
    background: #f1ecf9;
    border-color: #6f42c1;
    cursor: pointer;
}

.child-name {
    font-weight: bold;
    color: #333;
    font-size: 1.05rem;
}

.child-class {
    font-size: 0.85rem;
    color: #666;
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 3px;
}

.status-cell {
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 3px;
}

.status-active-care {
    background-color: var(--color-primary);
    color: #fff;
}

.status-active-food {
    background-color: var(--color-success);
    color: #fff;
}

.status-empty {
    background-color: #f4f4f4;
    color: #bbb;
    font-weight: normal;
    font-style: italic;
}

.status-not-available {
    background-color: #eaeaea;
    color: #999;
    font-size: 0.75rem;
}

.no-data {
    text-align: center;
    color: #777;
    font-style: italic;
    padding: 30px;
    border: 1px dashed #ccc;
    background: #fafafa;
    border-radius: 6px;
}

.matrix-checkbox {
    transform: scale(0.7);
    cursor: pointer;
}

.disabled-box {
    background-color: #e6e6e6;
    color: #777;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertikal */
	cursor: not-allowed;
}

.day-count-cell {
    font-weight: bold;
    background-color: #f9f9f9;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.pdf-header {
    text-align: center;
    border-bottom: 1px solid #777;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.pdf-header h1 {
    font-size: 1.5rem;
    color: #000;
    font-weight: bold;
    margin: 0 0 5px;
}

.pdf-header p {
    font-size: 1rem;
    margin: 0 0 5px;
    color: #333;
}

.pdf-header .timestamp {
    font-size: 0.8rem;
    font-style: italic;
    color: #666;
}

.pdf-price-row {
    text-align: right;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 8px;
    color: #000;
    padding-right: 5px;
}

.pdf-price-row span {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.price-subnote {
    font-size: 0.8rem;
    font-style: italic;
    color: #444;
    text-align: right;
    margin-top: 4px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.legal-notice {
    font-size: 0.85rem;
    color: #222;
    text-align: justify;
    margin-top: 25px;
    line-height: 1.45;
}

.terms {
    margin-top: 20px;
    padding: 12px;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-top: 5px solid var(--color-info);
}

.modal h2 {
    margin-top: 0;
    color: var(--color-info);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.modal p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.source,
.doc-source {
    margin-top: 1.4em;
    margin-bottom: 1.3em;
}

.source pre,
.doc-source pre {
    display: table;
    width: 100%;
    margin: 0;
    font-family: inherit;
    font-size: 100%;
}

.source pre {
    border: 1px solid #24246A;
}

.source code {
    display: block;
    border: 1px solid #C5C5EC;
    background-color: #F0F5FF;
    padding: 6px;
    color: #000;
}

.doc-source code {
    display: block;
    background-color: #E0E0E0;
    padding: 4px;
}

.kw {
    color: #000080;
    font-weight: bold;
}

.str {
    color: #CC0000;
}

.cmt {
    color: #008000;
}

.question {
    font-weight: bold;
    color: #900000;
}

.demo {
    text-align: center;
    margin-top: -0.9em;
}

.agb-box {
    margin: 24px 0 18px 0;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
}

.agb-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #333;
}

.agb-label input[type="checkbox"] {
    margin: 4px 0 0 0;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.agb-label span {
    display: block;
}

@media (max-width: 768px) {
    .brand-header,
    .brand-footer {
        flex-direction: column;
        text-align: center;
    }

    .brand-header img,
    .brand-footer img {
        height: 56px;
    }
}

.legal-page {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.legal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 42px;
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.10);
    border: 1px solid #e2e8f0;
}

.legal-card h1 {
    margin-top: 0;
    margin-bottom: 28px;
    color: #0f4c81;
    font-size: 2rem;
    border-bottom: 3px solid #1f6fb2;
    padding-bottom: 12px;
}

.legal-section {
    margin-bottom: 26px;
}

.legal-section h2 {
    margin-bottom: 8px;
    color: #0f4c81;
    font-size: 1.15rem;
}

.legal-section p {
    margin: 0;
    line-height: 1.65;
    color: #334155;
}

.legal-section a {
    color: #0f4c81;
    font-weight: 600;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.notice-box {
    background: #f4f8fc;
    border-left: 5px solid #1f6fb2;
    padding: 18px 20px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .legal-page {
        margin: 24px auto;
        padding: 0 14px;
    }

    .legal-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .legal-card h1 {
        font-size: 1.6rem;
    }
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #0f4c81;
    color: white;
}

.btn-primary:hover {
    background: #0c3d67;
}

.btn-secondary {
    background: #e8eef5;
    color: #0f4c81;
}

.btn-secondary:hover {
    background: #d8e4f0;
}

.btn-danger {
    background: #c62828;
    color: white;
}

.btn-danger:hover {
    background: #a91f1f;
}

@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: #fff;
        padding: 0;
    }

    .container {
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }

    .attendance-section {
        page-break-inside: avoid;
        border: 1px solid #000 !important;
        margin-bottom: 30px !important;
        box-shadow: none !important;
    }

    .attendance-section th {
        background-color: #e0e0e0 !important;
        color: #000 !important;
    }
}


/* === STARTSEITE / LANDING PAGE === */
.start-page {
    max-width: 1100px;
    margin: 0 auto 40px auto;
}

.start-hero {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    border-radius: 18px;
    padding: 44px 46px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-bottom: 26px;
}

.start-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    margin: 0 0 14px 0;
}

.start-kicker {
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    font-weight: bold;
    opacity: .9;
}

.start-lead {
    max-width: 760px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.7;
}

.start-user-note {
    display: inline-block;
    margin: 22px 0 0 0;
    padding: 10px 14px;
    background: #17374c;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 10px;
}

.start-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.start-action-card {
    display: block;
    min-height: 150px;
    padding: 24px;
    background: #fff;
    color: var(--color-text);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.start-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    border-color: var(--brand-primary);
}

.start-action-card.primary {
    border-top: 5px solid var(--brand-primary);
}

.start-action-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 14px;
}

.start-action-card strong {
    display: block;
    color: var(--color-primary);
    font-size: 1.18rem;
    margin-bottom: 6px;
}

.start-action-card small {
    display: block;
    color: #64748b;
    line-height: 1.45;
}

.start-info-box {
    background: #fff;
    border-left: 5px solid var(--brand-primary);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.start-info-box h2 {
    margin-top: 0;
}

.start-info-box p {
    margin-bottom: 0;
}

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

.btn-primary,
.btn-secondary,
.btn-danger {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #0f4c81;
    color: #fff;
}

.btn-primary:hover {
    background: #0c3d67;
}

.btn-secondary {
    background: #e7eef5;
    color: #0f4c81;
}

.btn-secondary:hover {
    background: #d9e4ef;
}

.btn-danger {
    background: #c62828;
    color: #fff;
}

.btn-danger:hover {
    background: #a61f1f;
}

@media (max-width: 768px) {
    .start-hero {
        padding: 30px 24px;
        border-radius: 14px;
    }

    .start-hero h1 {
        font-size: 1.7rem;
    }

    .start-user-note {
        border-radius: 12px;
    }
}

/* Workflow-Status Verwaltung / Abrechnung */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
	width: 100%;
    margin: 2px 0;
}
.status-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.status-open {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* === ZENTRALISIERUNG / LAYOUT-FEINSCHLIFF 2026-07-01 === */
:root {
    --font-base: Arial, Helvetica, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 76, 129, 0.10);
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 14px;
    --space-lg: 22px;
    --space-xl: 32px;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-base);
    font-size: 0.96rem;
    line-height: 1.55;
    padding: clamp(12px, 2.4vw, 30px);
    background: linear-gradient(180deg, #f4f7f6 0%, #eef4f7 100%);
}

h1, h2, h3 {
    line-height: 1.25;
}

h1 {
    font-size: clamp(1.45rem, 2vw, 1.85rem);
}

h2 {
    font-size: clamp(1.18rem, 1.5vw, 1.42rem);
}

h3 {
    font-size: 1.12rem;
}

.container,
.box,
.profile-card,
.legal-card,
.start-action-card,
.start-info-box,
.module-card,
.login-box {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.container {
    max-width: 100%;
    padding: clamp(18px, 2.6vw, 32px);
    overflow-x: auto;
}

.box,
.profile-card,
.login-box {
    padding: clamp(20px, 2.8vw, 32px);
}

.brand-header,
.brand-footer {
    border-radius: var(--radius-lg);
    padding: clamp(12px, 2vw, 18px) clamp(16px, 2.4vw, 24px);
}

.logo-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.brand-header img,
.brand-footer img {
    height: clamp(56px, 7vw, 82px);
}

.brand-title h1,
.brand-title h2 {
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
}

input,
select,
textarea {
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

textarea {
    min-height: 90px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 157, 156, 0.14);
}

button,
.btn,
.btn-login,
.btn-submit,
.btn-save,
.btn-nav,
.btn-settings,
.btn-modal-submit,
.btn-add,
.btn-add-child,
.btn-delete,
.btn-admin-delete,
.btn-table-delete,
.btn-delete-mod,
.btn-back,
.btn-modal-close,
.btn-nav-list,
.btn-print,
.btn-logout,
.btn-admin-edit,
.btn-table-edit,
.btn-primary,
.btn-secondary,
.btn-danger {
    border-radius: var(--radius-sm);
    font-family: var(--font-base);
    line-height: 1.25;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .12s ease, box-shadow .12s ease;
}

button:hover,
.btn:hover,
.btn-login:hover,
.btn-submit:hover,
.btn-save:hover,
.btn-nav:hover,
.btn-settings:hover,
.btn-modal-submit:hover,
.btn-add:hover,
.btn-add-child:hover,
.btn-delete:hover,
.btn-admin-delete:hover,
.btn-table-delete:hover,
.btn-delete-mod:hover,
.btn-back:hover,
.btn-modal-close:hover,
.btn-nav-list:hover,
.btn-print:hover,
.btn-logout:hover,
.btn-admin-edit:hover,
.btn-table-edit:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}

.btn-clean {
    border: 0 !important;
    cursor: pointer;
}

.btn-blue { background: var(--color-primary) !important; }
.btn-green { background: #0f5132 !important; }
.btn-green:hover { background: #0b3d26 !important; }

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.4;
}

.table-responsive,
.container table {
    max-width: 100%;
}

th,
td {
    padding: 10px 12px;
}

.link-strong {
    color: var(--color-primary) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}
.link-strong:hover,
.link-strong:focus { text-decoration: underline !important; }

.section-hint { color: #555; margin-top: -6px; }
.section-divider { margin: 30px 0; border: 0; border-top: 2px solid #e9ecef; }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.help-text { margin-top: 10px; color: #555; font-size: 0.9rem; }
.text-small { font-size: 0.9rem; }
.text-danger { color: #b00020 !important; }
.text-soft { color: #444; }
.text-center { text-align: center !important; }
.text-primary-dark { color: #004085; }
.text-success-strong { color: #0f5132; font-weight: 700; }
.empty-text { color: #999; font-style: italic; }
.cell-nowrap { white-space: nowrap; }
.cell-strong { font-weight: 700; }
.align-middle { vertical-align: middle !important; }
.align-top { vertical-align: top !important; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mb-20 { margin-bottom: 20px; }
.login-note { margin: 3px 0 0 0; color: #666; font-size: 0.95rem; }
.section-actions { margin: 20px 0; }
.form-compact { margin: 0 0 10px 0; }
.form-action-offset { margin-top: 23px; }
.loading-text { font-style: italic; color: #666; padding: 10px; }
.select-info { border-color: #b8daff; font-weight: 700; color: #004085; }
.select-success { border-color: #badbcc; font-weight: 700; color: #0f5132; }

.input-prefix-group {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    max-width: 280px;
}
.input-prefix {
    display: inline-flex;
    align-items: center;
    padding: 8px 9px;
    background: #e9ecef;
    border: 1px solid #cbd5e1;
    border-right: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: #495057;
    font-weight: 700;
    white-space: nowrap;
}
.input-with-prefix {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}
.input-short { max-width: 130px; padding: 8px; }

.booking-summary-list { margin: 0; padding-left: 18px; }
.booking-summary-list li { margin: 2px 0; }

.copy-bz-button {
    border: 0;
    background: #e9ecef;
    border-radius: 5px;
    cursor: pointer;
    padding: 3px 6px;
    margin-left: 6px;
    line-height: 1;
}
.copy-bz-button:hover,
.copy-bz-button:focus { background: #dfe3e7; outline: none; }
.buchungszeichen-cell,
.cost-cell { font-size: 0.85rem; }
.buchungszeichen-value { font-weight: 700; color: #17364B; white-space: nowrap; }
.buchungszeichen-prefix { font-weight: 700; }
.cost-cell { white-space: nowrap; line-height: 1.45; }
.cost-cell strong { font-weight: 700; }
.status-error { background: #f8d7da; color: #721c24; }

.note-hover {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}
.note-hover-button {
    border: 0;
    background: var(--color-danger);
    color: #fff;
    border-radius: 999px;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.note-hover-button:hover,
.note-hover-button:focus { background: #b02a37; outline: none; }
.note-hover-layer {
    display: none;
    position: absolute;
    top: 32px;
    left: 0;
    z-index: 1001;
    min-width: 260px;
    max-width: 420px;
    background: #fff;
    border: 1px solid #f1aeb5;
    border-left: 5px solid var(--color-danger);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.22);
    color: #333;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: normal;
}
.note-hover:hover .note-hover-layer,
.note-hover:focus-within .note-hover-layer,
.note-hover.is-open .note-hover-layer { display: block; }
.note-hover-layer.is-positioned {
    position: fixed;
    left: auto;
    top: auto;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    overflow: auto;
}

.booking-cell-hover { margin-top: 8px; }
.booking-hover { position: relative; display: inline-block; margin-top: 8px; margin-bottom: 7px; }
.admin-booking-actions { vertical-align: top !important; padding-top: 10px !important; }
.booking-hover-button {
    background: var(--color-primary);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    white-space: nowrap;
    width: 100%;
    text-align: center;
    font-size: .86rem;
}
.booking-hover-button:hover,
.booking-hover-button:focus { background: var(--color-primary-dark); outline: none; }
.booking-hover-button-holiday { background: #0f5132; }
.booking-hover-button-holiday:hover,
.booking-hover-button-holiday:focus { background: #0b3d26; }
.booking-hover-layer {
    display: none;
    position: absolute;
    top: 38px;
    right: 0;
    z-index: 9999;
    width: min(640px, calc(100vw - 24px));
    min-width: 0;
    max-width: calc(100vw - 24px);
    background: #fff;
    border: 1px solid #ccd7e0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
    text-align: left;
}
.booking-hover-layer.is-positioned {
    position: fixed;
    right: auto;
    top: auto;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    overflow: auto;
}
.booking-hover:hover .booking-hover-layer,
.booking-hover:focus-within .booking-hover-layer { display: block; }
.booking-hover-title { display: block; margin-bottom: 8px; color: #17364B; }
.booking-mini-matrix { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.booking-mini-matrix th,
.booking-mini-matrix td { border: 1px solid #d9e2ea; padding: 6px 7px; vertical-align: middle; text-align: center; }
.booking-mini-matrix th { background: #f0f5f8; color: #17364B; font-weight: 700; }
.booking-mini-module { text-align: left !important; min-width: 190px; }
.booking-mini-module small { color: #555; }
.booking-mini-booked { font-weight: 700; }
.booking-mini-booked-care { background: #d4edda; color: #155724; }
.booking-mini-booked-food { background: #fff3cd; color: #856404; }
.booking-mini-empty { background: #fff; color: #777; }
.booking-mini-na { background: #f1f1f1; color: #999; font-size: 0.75rem; }

.cost-summary-box {
    margin: 18px 0 26px 0;
    padding: 16px 18px;
    border: 1px solid #d9e2ea;
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: #f8fbfd;
}
.cost-summary-box h3 { margin: 0 0 10px 0; color: #17364B; font-size: 1.05rem; }
.cost-summary-grid { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 8px 18px; max-width: 520px; }
.cost-summary-label { color: #555; }
.cost-summary-value { font-weight: 700; text-align: right; white-space: nowrap; }
.cost-summary-total { border-top: 1px solid #cfd8df; padding-top: 8px; margin-top: 4px; color: #17364B; }

.holiday-fields { background:#f7fbff; border:1px solid #cfe2ff; border-radius:8px; padding:14px; margin-top:12px; }
.module-type-badge { display:inline-block; padding:3px 8px; border-radius:999px; background:#eef2f7; font-size:.8rem; margin-bottom:8px; }
.holiday-meta { color:#555; font-size:.9rem; margin:4px 0 12px; }
.holiday-table { width:100%; border-collapse:collapse; background:#fff; margin:12px 0 24px; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.holiday-table th, .holiday-table td { border:1px solid #ddd; padding:10px; vertical-align:top; }
.holiday-table th { background:#f1f5f9; text-align:left; color:#17364B; }
.holiday-check-col { width:42px; text-align:center; }
.holiday-check-col input[type="checkbox"] { transform:scale(1.25); }
.holiday-module-name { font-weight:700; color:#17364B; }
.holiday-price { white-space:nowrap; text-align:right; font-weight:700; }
.holiday-status { display:inline-block; margin-top:6px; padding:3px 8px; border-radius:999px; background:#eef2f7; font-size:.82rem; }
.holiday-total { background:#eaf7f7; border-left:5px solid var(--brand-primary); padding:15px; border-radius:8px; font-size:1.1rem; font-weight:700; margin-top:20px; }
.notice-pending { background:#fff3cd; color:#856404; border:1px solid #ffeeba; border-radius:8px; padding:12px; margin:12px 0 20px; }

@media (max-width: 900px) {
    .admin-header,
    .header-box,
    .nav-links,
    .utility-links,
    .form-inline,
    .child-item {
        flex-direction: column;
        align-items: stretch;
    }

    .form-grid,
    .form-row,
    .info-grid,
    .cost-summary-grid {
        grid-template-columns: 1fr;
    }

    .form-group,
    .full-width,
    .one-third,
    .two-thirds,
    .half-width {
        grid-column: auto;
    }

    table,
    .master-table,
    .child-table,
    .matrix-table,
    .attendance-section table,
    .holiday-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th,
    td {
        padding: 9px;
    }

    .booking-hover,
    .booking-hover-button,
    .input-prefix-group {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 600px) {
    body { padding: 10px; }
    .container,
    .box,
    .profile-card,
    .legal-card,
    .login-box { padding: 16px; border-radius: 12px; }
    .start-actions,
    .welcome-actions { grid-template-columns: 1fr; flex-direction: column; }
    .btn,
    .btn-login,
    .btn-submit,
    .btn-save,
    .btn-nav,
    .btn-settings,
    .btn-add,
    .btn-add-child,
    .btn-back,
    .btn-primary,
    .btn-secondary,
    .btn-danger { width: 100%; text-align: center; }
}

@media print {
    .no-print, .brand-header, .brand-footer, .nav-links { display:none !important; }
    body { background:#fff !important; padding: 0 !important; }
    .container { box-shadow:none !important; width:100% !important; max-width:none !important; border:0 !important; }
    a { color:#000 !important; text-decoration:none !important; }
}

/* Weitere zentrale Hilfsklassen nach Entfernung wiederkehrender Inline-Styles */
.mb-8 { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mt-30 { margin-top: 30px; }
.text-right { text-align: right !important; }
.flex-1 { flex: 1; }
.filter-box { background:#f8f9fa; border:1px solid #ddd; border-radius:10px; padding:15px; margin-bottom:18px; }
.filter-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:12px; align-items:end; }
.filter-grid-wide { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.control-compact { width:100%; padding:8px; min-height: 38px; }
.danger-heading-soft { color:#bd2130; border-bottom:1px solid #f5c6cb; padding-bottom:5px; }
.danger-note { font-size:.85rem; color:#721c24; margin-bottom:15px; }
.warning-note { background:#fff3cd; color:#856404; border:1px solid #ffeeba; padding:10px; border-radius:4px; font-size:.85rem; font-weight:700; margin-bottom:15px; }
.temp-password { font-size:1.3rem; font-family:monospace; color:#bd2130; }
.danger-heading { color:#dc3545; border-bottom:2px solid #dc3545; }
.danger-heading-dark { color:#721c24; border-bottom:2px solid #721c24; }
.success-heading { color:#0f5132; border-bottom:2px solid #0f5132; }
.table-danger-frame { border:2px solid #dc3545; margin-bottom:40px; }
.table-danger-dark-frame { border:2px solid #721c24; margin-bottom:40px; }
.table-success-frame { border:2px solid #0f5132; margin-bottom:40px; }
.row-danger-head { background-color:#dc3545; }
.row-danger-dark-head { background-color:#721c24; color:#fff; }
.row-success-head { background-color:#0f5132; color:#fff; }
.row-danger-soft { background-color:#fff5f5; }
.row-success-soft { background:#f6fff8; }
.cell-muted-bg { background:#f8f9fa; }
.cell-success-soft { background:#f0fff4; }
.th-muted { background-color:#6c757d !important; }
.th-success { background-color:#28a745 !important; }
.w-12 { width:12%; } .w-15 { width:15%; } .w-18 { width:18%; } .w-20 { width:20%; } .w-22 { width:22%; } .w-25 { width:25%; } .w-28 { width:28%; } .w-30 { width:30%; }
.warning-panel { background:#fff3cd; border-left:5px solid #ffc107; padding:20px; border-radius:6px; margin-bottom:30px; }
.warning-panel-title { margin-top:0; color:#856404; font-size:1.1rem; }
.list-normal { margin:0; padding-left:20px; }
.admin-actions-min { min-width:150px; }

/* Admin-Übersicht: Aktionsspalten und Buttons einheitlich breit */
.admin-action-cell,
.admin-child-actions,
.admin-booking-actions {
    min-width: 168px;
}

.admin-action-cell form,
.admin-child-actions form {
    display: block !important;
    margin: 0 0 6px 0 !important;
}

.admin-action-cell form:last-child,
.admin-child-actions form:last-child {
    margin-bottom: 0 !important;
}

.admin-booking-actions .booking-hover {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 0 6px 0;
}

.admin-booking-actions .booking-hover:last-child {
    margin-bottom: 0;
}

.admin-action-cell .btn-add,
.admin-action-cell .btn-admin-delete,
.admin-action-cell .btn-admin-edit,
.admin-child-actions .btn-table-edit,
.admin-child-actions .btn-admin-delete,
.admin-booking-actions .booking-hover-button {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    margin: 0 0 6px 0;
}

.admin-action-cell .btn-add:last-child,
.admin-action-cell .btn-admin-delete:last-child,
.admin-action-cell .btn-admin-edit:last-child,
.admin-child-actions .btn-table-edit:last-child,
.admin-child-actions .btn-admin-delete:last-child,
.admin-booking-actions .booking-hover-button:last-child {
    margin-bottom: 0;
}

.admin-child-actions .btn-table-edit {
    white-space: nowrap;
}


.attendance-section-card { margin-bottom:40px; background:#fff; border:1px solid #ddd; border-radius:6px; overflow:hidden; box-shadow:0 2px 5px rgba(0,0,0,.02); }
.attendance-section-head { background:#f8f9fa; padding:15px; border-bottom:1px solid #ddd; display:flex; justify-content:space-between; align-items:center; gap:15px; }
.attendance-title { margin:0; color:#333; font-size:1.2rem; }
.attendance-subtitle { font-weight:400; font-size:.9rem; color:#666; margin-left:10px; }
.empty-row-message { padding:15px; margin:0; color:#888; font-style:italic; }
.attendance-table { width:100%; border-collapse:collapse; text-align:left; }
.attendance-table-head { background:#f1f1f1; border-bottom:2px solid #ddd; }
.attendance-col-box { padding:10px; width:40px; text-align:center; }
.attendance-col-name { padding:10px; width:320px; }
.attendance-col-class { padding:10px; width:120px; }
.attendance-col-contact { padding:10px; width:260px; }
.attendance-row { border-bottom:1px solid #eee; }
.attendance-check-cell { padding:10px; text-align:center; vertical-align:middle; }
.print-checkbox { width:16px; height:16px; border:1px solid #999; border-radius:3px; margin:0 auto; }
.attendance-name-cell { padding:10px; color:#005a9c; vertical-align:top; }
.attendance-note-warning { margin-top:4px; color:#b00020; font-size:.82rem; font-weight:700; line-height:1.3; white-space:pre-line; }
.attendance-normal-cell { padding:10px; color:#555; vertical-align:top; }
.attendance-contact-cell { padding:10px; color:#555; font-size:.9rem; vertical-align:top; }
.text-muted-italic { color:#aaa; font-style:italic; }
.attendance-footer { background:#fdfdfd; padding:8px 15px; border-top:1px solid #eee; text-align:right; font-size:.85rem; color:#666; }
.settings-panel { background:#fff; border:1px solid #ddd; padding:20px; border-radius:6px; margin-bottom:30px; }
.form-inline-bottom { margin-bottom:20px; display:flex; gap:10px; align-items:flex-end; }
.module-card-full { max-width:100%; margin-bottom:30px; }
@media (max-width: 700px) { .attendance-section-head, .form-inline-bottom { flex-direction:column; align-items:stretch; } }

/* Elternübersicht: Buttons in Aktions- und Buchungsspalten einheitlich breit */
.child-name-link {
    font-weight: 700;
    color: #17364B;
    text-decoration: none;
}

.child-name-link:hover,
.child-name-link:focus {
    text-decoration: underline;
}

.child-note-inline {
    color: #856404;
    font-size: .8rem;
    font-style: italic;
    margin-top: 3px;
}

.dashboard-buchungszeichen-box {
    background: #f1f3f5;
    border: 1px solid #d8dde3;
    border-radius: 8px;
    padding: 7px 9px;
    margin-bottom: 8px;
    font-size: .85rem;
}

.dashboard-buchungszeichen-box strong {
    display: block;
    color: #555;
    margin-bottom: 2px;
}

.dashboard-booking-subtitle {
    display: block;
    font-size: .85rem;
    color: #555;
    margin-bottom: 4px;
}

.dashboard-booking-subtitle-pending {
    color: #856404;
}

.dashboard-booking-hover,
.dashboard-booking-action {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 8px 0 0 0;
}

.dashboard-booking-hover .booking-hover-button,
.dashboard-reprint-button {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    font-size: .82rem;
    padding: 7px 10px;
    line-height: 1.25;
    white-space: normal;
}

.parent-action-cell {
    min-width: 150px;
    white-space: normal !important;
}

.parent-action-cell a,
.parent-action-cell form,
.parent-action-cell button {
    display: block !important;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.parent-action-cell a,
.parent-action-cell form {
    margin: 0 0 7px 0 !important;
}

.parent-action-cell a:last-child,
.parent-action-cell form:last-child {
    margin-bottom: 0 !important;
}

.parent-action-cell .btn-table-edit,
.parent-action-cell .btn-table-delete {
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    padding: 7px 10px;
}

.w-10 { width:10%; }
.w-14 { width:14%; }
.w-24 { width:24%; }
.w-26 { width:26%; }

@media (max-width: 900px) {
    .dashboard-booking-hover,
    .dashboard-booking-action,
    .parent-action-cell {
        width: 100%;
        min-width: 0;
    }
}

/* Einheitliche Buchungsmatrix in Hover-Layern */
.booking-mini-matrix {
    table-layout: fixed;
}

.booking-mini-matrix th:first-child,
.booking-mini-matrix td.booking-mini-module {
    width: 30%;
}

.booking-mini-matrix th:nth-child(2),
.booking-mini-matrix th:nth-child(3),
.booking-mini-matrix th:nth-child(4),
.booking-mini-matrix th:nth-child(5),
.booking-mini-matrix th:nth-child(6),
.booking-mini-matrix td:nth-child(2),
.booking-mini-matrix td:nth-child(3),
.booking-mini-matrix td:nth-child(4),
.booking-mini-matrix td:nth-child(5),
.booking-mini-matrix td:nth-child(6) {
    width: 11%;
}

.booking-mini-matrix .booking-mini-days-col,
.booking-mini-matrix .booking-mini-days-count {
    width: 7%;
    min-width: 46px;
    font-weight: 700;
    text-align: center;
}

.booking-mini-days-count {
    background: #eef4f8;
    color: #17364B;
}

.booking-mini-booked-care {
    background: #cfead8;
    color: #14532d;
}

.booking-mini-booked-food {
    background: #ffe8b5;
    color: #7a4a00;
}

.booking-mini-booked {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

@media (max-width: 700px) {
    .booking-hover-layer {
        width: calc(100vw - 24px);
    }

    .booking-mini-matrix {
        min-width: 600px;
    }
}

/* Buchungs-Hover-Matrix: allgemeines tr:hover darf die farbigen Modulzellen nicht überdecken */
.booking-mini-matrix tr:hover td.booking-mini-booked-care,
.booking-mini-matrix td.booking-mini-booked-care:hover {
    background-color: #d4edda !important;
    color: #155724 !important;
}

.booking-mini-matrix tr:hover td.booking-mini-booked-food,
.booking-mini-matrix td.booking-mini-booked-food:hover {
    background-color: #fff3cd !important;
    color: #856404 !important;
}

.booking-mini-matrix tr:hover td.booking-mini-empty,
.booking-mini-matrix td.booking-mini-empty:hover {
    background-color: #fff !important;
    color: #777 !important;
}

.booking-mini-matrix tr:hover td.booking-mini-na,
.booking-mini-matrix td.booking-mini-na:hover {
    background-color: #f1f1f1 !important;
    color: #999 !important;
}
