/* Ogólne */
body {
    overflow-x: hidden;
}

/* Sidebar – flex, pełna wysokość pod navbar */
#sidebar {
    width: 240px;
    position: fixed;
    top: 56px;
    left: 0;
    height: calc(100vh - 56px);          /* zastępuje min-height */
    background: #212529;
    color: #fff;
    display: flex;
    flex-direction: column;
}

/* Nagłówek „Procesy” – niekurczliwy */
#dashboardToggle {
    flex-shrink: 0;
}

/* Kontener listy – przewijany i drobna czcionka */
#processList {
    flex: 1;
    overflow-y: auto;
    display: none;                     /* domyślnie ukryta, slideToggle zmieni na block */
}

/* Linki w sidebarze – ogólne */
#sidebar a {
    color: #ccc;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
}
#sidebar a:hover {
    background: #343a40;
}

/* Elementy listy procesów – mniejsza czcionka i odstępy */
#processList a {
    font-size: 0.80rem;               /* mniejsza czcionka */
    padding: 6px 15px;                /* węższe w pionie */
}

/* Opcjonalnie: pasek przewijania ciemny */
#processList::-webkit-scrollbar {
    width: 6px;
}
#processList::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

/* Główna zawartość */
#content {
    margin-left: 240px;
    margin-top: 56px;
    padding: 20px;
}

/* Stopka */
footer {
    margin-left: 240px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    background: #f8f9fa;
}

/* Status zapisu */
.save-status {
    opacity: 0;
    transition: opacity 0.2s;
}

/* Okrągłe przyciski (+) */
.btn-circle {
    width: 32px;
    height: 32px;
    padding: 0;
    line-height: 1;
    border-radius: 50%;
}

.modal-content {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden;
}

/* Obrazek w splashu – pełna szerokość, bez marginesów */
.splash-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#processForm .input-group .btn {
    border-radius: 0;
}
#processForm .input-group .btn:first-child {
    border-radius: 0.25rem 0 0 0.25rem;
}
#processForm .input-group .btn:last-child {
    border-radius: 0 0.25rem 0.25rem 0;
}