/*
 * SPDX-FileCopyrightText: 2025 Wavelens UG <info@wavelens.io>
 *
 * SPDX-License-Identifier: AGPL-3.0-only
 */

 :root {
    --primary: #0d1118; /*  */
    --secondary: #abb0b4;
    --tertiary: #21262d;
    --quaternary: #050708; /* #0a0d0f */
}

/* styles.css */
html {
    overflow-x: hidden;
}

body {
    background-color: var(--primary);
    color: white;
    font-family: Arial, sans-serif;
    margin: 0px;
}

a {
    color: white;
    text-decoration: none;
    padding: 5px;
}

a:hover {
    /* color: #818181; */
    /* color: var(--secondary); */
    background-color: #252d33;
    border-radius: 5px;
}

.nav-link:hover {
    /* color: #818181; */
    color: var(--secondary);
    background-color: transparent;
    border-radius: 0px;
}

.header-link:hover {
    color: var(--secondary);
    background-color: transparent;
    border-radius: 0px;
}

.material-symbols-outlined {
    font-size: 19px !important;
    color: #abb0b4;
    position: relative;
    /* bottom: 2px; */
}

.filled {
    font-variation-settings:
        'FILL' 1, 
}

.full-width {
    display: inline-block;
    width: 100%;
}

button {
    cursor: pointer;
}

h2 {
    color: white;
}

input[type="text"], input[type="password"], input[type="number"], input[type="email"] {
    padding: 5px;
    background-color: var(--tertiary);
    border: 1px solid rgb(118, 118, 118);
    color: var(--secondary);
    border-radius: 5px;
    width: 18rem;
}

input[type="text"]:focus-visible, input[type="password"]:focus-visible, input[type="email"]:focus-visible, .form-field select:focus-visible {
    outline: none;
    border: 1px solid #007BFF;
}

.form-field input:-webkit-autofill {
    background-color: var(--tertiary) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--tertiary) inset !important;
    -webkit-text-fill-color: var(--secondary) !important;
    caret-color: var(--secondary) !important;
}

.form-field input:focus,
.form-field input:valid {
    background-color: var(--tertiary);
}

.space-normal {
    padding: 1rem;
}

.no-side-padding {
    padding-right: 0;
    padding-left: 0;
}

.green-filter {
    filter: invert(50%) sepia(65%) saturate(600%) hue-rotate(70deg) brightness(89%) contrast(93%);
    /* filter: brightness(0) saturate(100%) invert(31%) sepia(97%) saturate(1384%) hue-rotate(98deg) brightness(70%) contrast(80%); */
}

.red-filter {
    filter: brightness(0) saturate(100%) invert(24%) sepia(100%) saturate(7476%) hue-rotate(355deg) brightness(70%) contrast(80%);
    /* filter: invert(39%) sepia(6%) saturate(2132%) hue-rotate(321deg) brightness(99%) contrast(90%); */
}

.gray-filter {
    filter: invert(60%) sepia(1%) saturate(0%) hue-rotate(287deg) brightness(91%) contrast(88%);
}

.text-light {
    font-size: 0.8rem;
    color: #818181;
}

.text-light-n-s {
    color: #818181;
}

.color-light {
    color: #818181;
}

.color-secondary{
    color: var(--secondary);
}

.button-clear {
    background-color: transparent;
    color: var(--secondary);
    border: none;
    border-radius: 5px;
    margin: 0px 15px;
    padding: 4px 8px;
}

.button-clear:hover {
    border: 1px solid rgb(118, 118, 118);
    padding: 4px 7px;
    border-radius: 5px;
    height: 31px;
}

.button-round {
    background-color: transparent;
    color: var(--secondary);
    /* border: 1px solid var(--secondary); */
    border: 1px solid rgb(118, 118, 118);
    border-radius: 5px;
    padding: 4px 8px;
    margin: 0px 15px;
    height: 31px;
}

.button-round:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.left {
    float: left;
}

.right {
    float: right;
}

.field-select {
    background-color: var(--tertiary);
    color: var(--secondary);
    padding: 6px 8px;
    border: 1px solid rgb(118, 118, 118);
    border-radius: 5px;
}

.field-date {
    background-color: var(--tertiary);
    color: var(--secondary);
    padding: 6px 8px;
    border: 1px solid rgb(118, 118, 118);
    border-radius: 5px;
    width: 18rem;
}


.container {
    width: 95%;
    margin: 0 auto;
    padding-top: 20px;
    /* background-color: var(--quaternary); */
}

.container-table {
    width: 95%;
    margin: 0 auto;
    margin-top: 6rem;
    border-radius: 5px;
    background-color: var(--quaternary);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-workflow {
    font-size: x-large;
    padding-top: 1.5rem;
    padding-left: 2.4rem;
}

.search-container input[type="text"] {
    padding: 5px;
    background-color: var(--tertiary);
    border: 1px solid rgb(118, 118, 118, 0.5);
    color: var(--secondary);
    border-radius: 5px;
    width: 18rem;
    height: 19px;
    padding-left: 30px;
}

.search-container {
    position: relative;
    display: inline-block;
}

.search-container span {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #818181;
}


.filter-container {
    display: flex;
    align-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
    background-color: var(--quaternary);
}

tr:last-child td {
    border: none;
    /* padding-bottom: 2rem; */
}

th {
    padding-top: 2rem;
}

tr td:first-child {
    padding-left: 2rem;
}

tr td:last-child {
    padding-right: 2rem;
}

.workflows-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6rem;
    border-radius: 5px;
    overflow: hidden;
}

.workflows-table th, .workflows-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #444;
}

.workflows-table th {
    background-color: var(--tertiary);
}

.search-button {
    border-radius: 5px;
}

/* --------------------------Header-------------------------- */

header {
    border-bottom: 1px solid rgba(118, 118, 118, 0.5);
    background-color: var(--quaternary);
    padding: 0rem 1rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.5rem;
    padding: 1rem;
    padding-bottom: 0.5rem;
}

.header a {
    margin: 0 1rem;
}

.header .logo-container {
    display: flex;
    align-items: center;
}

.header .logo-container img {
    height: 1.5rem;
}

.header .logo-container span {
    margin-left: 1rem;
}

nav {
    display: flex;
    justify-content: flex-start;
    padding: 1rem;
    padding-bottom: 0;
}

nav a {
    margin: 0 1rem;
}

.header .user {
    margin-left: auto;
}

.nav-link {
    padding-bottom: 5px;
    width: max-content;
}

/* ---------------------------------------------------------- */

.line-numbering {
    counter-reset: line;
}

.line-numbering span::before {
    counter-increment: line;
    content: counter(line); 
}

.innerbody {
    /* margin: 3rem 0 0 3rem; */
    background-color: var(--quaternary);
    /* padding: 2rem; */
    width: -webkit-fill-available;
    border-radius: 5px;
    border: 1px solid rgba(118, 118, 118, 0.5);
    margin-right: 1rem;
}

.innerbody-top {
    /* margin: 3rem 0 0 3rem; */
    /* background-color: var(--quaternary); */
    padding: 2rem;
    width: -webkit-fill-available;
    border-radius: 5px;
    border: 1px solid rgba(118, 118, 118, 0.5);
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.border-bottom {
    border-bottom: 1px solid rgba(118, 118, 118, 0.5);
    width: 100%;
}

pre ::before {
    margin-right: 1rem;
    color: #818181;
}

pre span {
    font-size: 15px;
    line-height: 1.5rem;
    font-family: sans-serif;
    white-space: normal;
}

.center-image {
    height: 23px;
    vertical-align: top;
    margin-right: 3px;
}

.details-content {
    position: relative;
    left: 17px;
}

.details-content .line::before {
    left: -17px;
}

.details-item summary::before {
    left: 0px;
}

.details-content .line, .details-item summary {
    position: relative;
    padding-left: 50px; /* Platz für die Nummern */
}

.details-content .line::before, .details-item summary::before {
    content: attr(data-line-number);
    position: absolute;
    /* left: 0; */
    width: 23px;
    text-align: right;
    color: gray;
}

.outerbody {
    display: flex;
}

.content-above {
    margin: 1.5rem;
    margin-bottom: 2.3rem;

}

.flex-c{
    display: flex;
    align-items: center;
}

.fw-normal{
    font-weight: normal;
}

.content-left {
    min-width: 18rem;
    padding: 0 1rem;
}

.active {
    border-bottom: 1px solid white;
    font-weight: bold;
}

.active span.material-symbols-outlined {
    color: white;
    position: relative;
    bottom: 1px;
}

.icon {
    height: 30px;
}

.webkit-middle {
    vertical-align: -webkit-baseline-middle;
}

.h-23 {
    height: 23px;
}

.h-27 {
    height: 27px;
}

.h-30 {
    height: 30px;
}

.space-small {
    margin-top: 5px;
}

.dropdown {
    position: relative;
    display: inline-block;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--quaternary);
    color: white;
    min-width: max-content;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    border: 1px solid rgba(118, 118, 118, 0.5);
    border-radius: 5px;
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    /* display: block; */
    margin: 0;
}

.dropdown-content p {
    border-bottom: 1px solid rgba(118, 118, 118, 0.5);
    display: block;
    padding: 12px 16px;
    margin: 0;
}

.dropdown-content a:last-child {
    border-top: 1px solid rgba(118, 118, 118, 0.5);
}

.dropdown-add a:not(:first-child) {
    border-top: 1px solid rgba(118, 118, 118, 0.5);
}

.show {
    display: block;
}

.m-r-5 {
    margin-right: 5px;
}

.m-r-3 {
    margin-right: 3px;
}

.m-r-4 {
    margin-right: 4px;
}

.m-r-1rem {
    margin-right: 1rem !important;
}

.activeeffect-sidebar {
    background-color: #252d33;
    border-radius: 5px;
    border-left: 5px solid blue;
    padding-left: 3px;
}

.monospace {
    font-family: 'Space Mono';
    font-size: 0.7rem;
}

.full-width {
    width: -webkit-fill-available;
}

.flex-colum {
    display: flex;
    flex-direction: column;
}

.d-flex {
    display: flex;
}

.m-r-2rem {
    margin-right: 2rem;
}

.m-b-05rem {
    margin-bottom: 0.5rem;
}

.m-t--1rem {
    margin-top: -1rem;
}

.m-l--11 {
    margin-left: -11px !important;
}

.m-t-0 {
    margin-top: 0;
}

.m-b-1rem {
    margin-bottom: 1rem;
}

.p-l-1rem {
    padding-left: 1rem;
}

.p-0 {
    padding: 0 !important;
}

.icon-center {
    height: 23px;
    vertical-align: middle;
    margin-right: 3px;
    font-size: 23px !important;
}

.f-s-19px {
    font-size: 19px !important;
}

.f-s-21px {
    font-size: 21px !important;
}

.f-s-24px {
    font-size: 24px !important;
}

.f-s-28px {
    font-size: 28px !important;
}

.branch {
    background-color: #121d2f;
    color: #3a7ace;
    padding: 2px;
    border-radius: 5px;
}

.innerbody-header {
    background-color: #151b23;
    padding: 1rem;
    width: auto;
    border-radius: 5px;
}

.p-1rem {
    padding: 1rem;
}

.p-r-1rem {
    padding-right: 1rem;
}

.fit-content {
    width: fit-content;
}

.no-hovereffect:hover {
    background-color: transparent;
}

tr:hover td{
    background-color: #252d33;
}

.d-webkit-box {
    display: -webkit-box;
}

.icon-arrow {
    font-size: 21px !important;
    margin-left: -4px;
    top: -3px;
    position: relative;
    margin-right: 2px;
}

.pointer {
    cursor: pointer;
}

.header-icon-right {
    float: right;
    position: absolute;
    right: 1rem;
}
  
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #3c4551;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 1rem;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -60px;
    /* border: 1px solid #444; */
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}

.tooltip:hover .tooltiptext {
    opacity: 1;
}

.tooltiptext.hidden {
    visibility: hidden;
    opacity: 0;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.border-radius-5 {
    border-radius: 5px;
}

.vertical-align-bottom {
    vertical-align: bottom;
}

.green {
    /* color: #238636; */
    color: #30c54c;
}

.red {
    color: #fa5e55;
}

.loader {
    width: 10px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #c5b03b;
    box-shadow: 0 0 0 0 #c7b54e;
    animation: l1 1.5s infinite;
    margin: 0 10px;
}
@keyframes l1 {
    100% {box-shadow: 0 0 0 10px #0000}
}

.gray {
    color: #767676;
}

.text-center {
    text-align: center;
}

.form-header-label {
    margin: -20px -20px 20px -20px;
    border-bottom: 1px solid rgba(118, 118, 118, 1);
    text-align: center;
    padding-bottom: 20px;
    padding-top: 20px;
    background-color: var(--tertiary);
    border-radius: 5px 5px 0 0;
}

.form-container {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: auto;
    border: 1px solid rgb(118, 118, 118);
    position: relative;
    /* top: -2.5rem; */
}
.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
}

.required-label::after {
    content: " *";
    color: red;
}

.form-field input {
    width: 97.5%;
    font-size: 16px;
    border-radius: 5px;
    padding-block: 0;
    padding-inline: 0;
    padding: 10px;
}

.form-container .form-field input {
    width: 94.5%;
}

.form-field select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    background-color: var(--tertiary);
    border: 1px solid rgb(118, 118, 118);
    color: var(--secondary);
}

.form-field .error {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.form-check-input {
    width: 15px;
    height: 15px;
    appearance: none;
    border: 1px solid var(--secondary);
    border-radius: 2px;
    background-color: var(--tertiary);
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-check-input:checked {
    border-radius: 5px;
    appearance: checkbox;
}

.outer-form {
    height: 89vh;
    display: flex;
}

.normal-hover:hover {
    color: var(--secondary);
    background-color: transparent;
    border-radius: 0px;
}

.flex-end {
    display: flex;
    align-items: end;
}

.home-container {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(118, 118, 118, 0.5);
}

.home-container > div:not(:last-child) {
    border-bottom: 1px solid rgb(118, 118, 118);
}

.home-container > div {
    padding: 20px;
}

.code-container {
    min-height: 17px;
}

.alert-danger {
    border: 1px solid red;
    border-radius: 5px;
    background-color: #ff00001f;
    margin-bottom: 1rem;
    padding: 1rem;
}

.alert-danger li {
    display: block;
}

.alert-danger p {
    margin: 0;
    color: #dc3545;
}

.alert-success {
    border: 1px solid #28a745;
    border-radius: 5px;
    background-color: #28a7451f;
    margin-bottom: 1rem;
    padding: 1rem;
    color: #155724;
}

.alert-error {
    border: 1px solid red;
    border-radius: 5px;
    background-color: #ff00001f;
    margin-bottom: 1rem;
    padding: 1rem;
    color: #dc3545;
}

.field-error {
    margin-top: 0.5rem;
}

.field-error p {
    margin: 0;
    color: #dc3545;
    font-size: 0.875rem;
}

.register {
    /* justify-content: center; */
    /* display: flex; */
    margin-top: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    color: #a8a7a7;
}

.register a {
    padding-bottom: 0 !important;
}

.register:hover {
    background-color: transparent;
    /* color: #818181; */
}

.bg-none {
    background-color: transparent !important;
}

.blue-link:hover {
    text-decoration: underline;
    color: #007BFF;
}

/* .blue-span:hover span:first-child {
    text-decoration: underline;
    color: #007BFF;
} */

.settings-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
}
  
.settings-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}
  
.settings-sidebar {
    width: 250px;
    border-right: 1px solid rgba(118, 118, 118);
}
  
.settings-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
  
.settings-sidebar li + li {
    margin-top: 12px;
}
  
.settings-sidebar a {
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: anchor-center;
    border-radius: 6px;
    transition: background-color 0.2s;
}
  
.settings-content {
    flex-grow: 1;
    padding: 0 24px;
}

.settings-nav {
    padding: 0;
    margin: 0;
}

.settings-nav a {
    margin: 0;
}

.settings-content h2 {
    margin-top: 0;
}

.settings-nav-link.active {
    border-bottom: none;
    border-left: 2px solid #007BFF;
    border-radius: 0 5px 5px 0;
}

.settings-nav-link {
    padding-left: 1rem;
    border-left: 2px solid transparent;
}

.settings-nav a:hover {
    border-bottom: none;
    border-left: 2px solid #007bff91;
    border-radius: 0 5px 5px 0;
    background-color: transparent;
}

/* Settings Page Styles */
.settings-hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid rgba(118, 118, 118, 0.5);
}

.settings-section {
    margin-top: 2rem;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: 1px solid #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.delete-button:hover {
    background-color: #c82333;
}

.modal-container {
    display: none;
}

.cache-delete-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.add-member-section {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid rgb(118, 118, 118, 0.5);
    border-radius: 4px;
}

.member-form-layout {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.member-form-field {
    flex: 1;
}

.members-table-container {
    overflow-x: auto;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.members-table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #dee2e6;
}

.members-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #dee2e6;
}

.member-form-element {
    display: inline-block;
    width: auto;
    min-width: 120px;
}

.remove-member-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    cursor: pointer;
}

.remove-member-button:hover {
    background-color: #c82333;
}

.no-members-message {
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-top: 1rem;
}

.inline-form {
    display: inline;
}

.member-row {
    justify-content: space-between;
    align-items: center;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.empty-state-link {
    display: inline-block;
    margin-top: 1rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #dc3545;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 1rem;
    color: #000;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

.add-member-section .submit-btn {
    margin-bottom: 1rem;
}

.red-button {
    background-color: #dc3545;
    color: white;
    border: 1px solid #dc3545;
}

.red-button:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/* Dashboard Styles */

/* Dashboard header navigation */
.dashboard-header {
    border-bottom: 1px solid rgba(118, 118, 118, 0.5);
    background-color: var(--quaternary);
    padding: 0;
    margin-bottom: 1rem;
}

.dashboard-header nav {
    display: flex;
    justify-content: flex-start;
    padding: 1rem;
    padding-bottom: 0;
}

.dashboard-header nav .nav-link {
    margin: 0 1rem;
    padding-bottom: 5px;
    width: max-content;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-header nav .nav-link:hover {
    color: var(--secondary);
    background-color: transparent;
    border-radius: 0px;
}

.dashboard-header nav .nav-link.active {
    border-bottom: 1px solid white;
    font-weight: bold;
}

.dashboard-header nav .nav-link.active span.material-symbols-outlined {
    color: white;
    position: relative;
    bottom: 1px;
}

/* Dashboard stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    background: rgba(171, 176, 180, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.stat-content p {
    margin: 0;
    color: var(--secondary);
    font-size: 0.875rem;
}

/* Dashboard grid and sections */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.bordered-section {
    background: var(--tertiary);
    border: 1px solid rgba(118, 118, 118, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(118, 118, 118, 0.3);
    background: var(--quaternary);
    height: 2rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.view-all-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
    background-color: transparent;
}

.section-content {
    padding: 1rem;
}

/* Item styling using existing workflow-item styles */
.dashboard-item.workflow-item {
    border-bottom: 1px solid rgba(118, 118, 118, 0.2);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.dashboard-item.workflow-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.item-header .item-icon {
    font-size: 1.25rem;
    color: var(--secondary);
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Cache status indicators */
.cache-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.cache-status-active {
    background: #10b981;
}

.cache-status-inactive {
    background: #f59e0b;
}

.cache-status-error {
    background: #ef4444;
}

/* Utility classes for dashboard */
.m-l-1rem {
    margin-left: 1rem;
}