:root {
    --sidebar-width: 260px;
    --navbar-height: 56px;
    --puls-blue: #0d6efd;
    --puls-navy: #1a237e;
}

/* GŁÓWNY KONTENER APP */
.puls-app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: #f8f9fa;
}

/* NAVBAR */
.puls-navbar {
    flex: 0 0 var(--navbar-height);
    background-color: var(--puls-navy);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: white;
    z-index: 1050;
}

.puls-navbar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    margin-right: 1.5rem;
    font-weight: 500;
}

.puls-navbar a:hover { color: white; }
.puls-navbar .gabinet-link { color: #ffc107 !important; font-weight: bold; text-transform: uppercase; }

/* UKŁAD ŚRODKOWY */
.puls-middle-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* SIDEBAR */
.puls-sidebar {
    flex: 0 0 var(--sidebar-width);
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
}

/* OBSZAR TREŚCI */
.puls-content-area {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* OGRANICZENIE SZEROKOŚCI DLA WIDOKÓW BEZ SIDEBARU - 85% */
.content-limit-85 {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .content-limit-85 {
        max-width: 85%; /* Zmiana z 75% na 85% */
    }
}

.puls-main-view-inner {
    padding: 25px;
    width: 100%;
}

/* BREADCRUMBS BAR */
.puls-breadcrumbs-bar {
    background-color: #f1f3f5;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
}

/* ELEMENTY FORMULARZY */
.form-section-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
