.text-decoration-none {
    text-decoration: none !important;
    color: inherit !important;
}

.col-section {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.bg-automode {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.bg-body-contrast {
    background-color: var(--bs-body-bg-contrast);
    color: var(--bs-body-color-contrast);
}

[data-bs-theme="light"] {
    --bs-body-bg-contrast: #DDDDDD
}

[data-bs-theme="dark"] {
    --bs-body-bg-contrast: rgb(25, 25, 112);
}

.notes-card-title {
    font-weight: bold;
    font-size: 1rem;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.notes-card-body {
    overflow: hidden;
    flex: 1 1 auto;
}

.notes-card-widget {
    height: 10rem;
    overflow: hidden;
    display: flex;
    background-color: #fff9c4;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.notes-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}


.notes-add-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black !important;
    white-space: nowrap;
    cursor: pointer;
    background: linear-gradient(135deg, #ff5252, #ffb74d, #ffee58, #81c784, #4fc3f7, #9575cd);
}

.notes-add-button-widget {
    height: 10rem;
    font-size: 2rem;
}

/* Task Management Styles */
.tr-link {
    cursor: pointer;
    transition: background 0.15s;
}

.tr-link:hover {
    background: #e9ecef;
}

.status-offen {
    color: #0d6efd;
    font-weight: bold;
}

.status-in-Bearbeitung {
    color: #fd7e14;
    font-weight: bold;
}

.status-erledigt {
    color: #198754;
    font-weight: bold;
}

.status-übersprungen,
.status-abgebrochen {
    color: #6c757d;
    font-style: italic;
}

.table td,
.table th {
    vertical-align: middle;
}

.date-muted {
    color: #888;
    font-size: 0.95em;
}

.category-row {
    background: #f8f9fa;
    font-weight: bold;
    font-size: 1.1em;
    color: #495057;
    text-align: center;
}

/* Due Date Colors */
.due-date-overdue {
    color: #dc3545;
    font-weight: bold;
}

.due-date-today {
    color: #fd7e14;
    font-weight: bold;
}

.due-date-tomorrow {
    color: #ffc107;
    font-weight: bold;
}

.due-date-upcoming {
    color: #198754;
}

.due-date-future {
    color: #6c757d;
}

.tr-link {
    cursor: pointer;
    transition: background 0.15s;
}

.tr-link:hover {
    background: #e9ecef;
}

