.e-deklaracja .binder-label {
    font-weight: 700;
    justify-content: space-between;
}

.e-deklaracja .horizontal-wrapper {
    color: #454545;
    --control-width: max(150px, 25%);
    --label-width: calc(100% - var(--control-width));
}

.e-deklaracja .horizontal-wrapper:hover {
    background-color: #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.e-deklaracja .vertical-wrapper {
    --szary: #dfdfdf;
    outline: 3px solid var(--szary);
}

.e-deklaracja .vertical-wrapper .vertical-wrapper-label {
    background-color: var(--szary);
    border-bottom: none;
}

.e-deklaracja .vertical-wrapper .vertical-wrapper-sublabel {
    background-color: var(--szary);
}

.e-deklaracja .horizontal-wrapper-label-container {
    text-align: left;
}

.e-deklaracja .number-field {
}

.e-deklaracja:not(.okno-kolumna-glowna) {
    display: flex;
    flex-direction: column;
}

.e-deklaracja, .e-deklaracja > :first-child {
    overflow: auto;
    flex-grow: 1;
}

.e-deklaracja > :not(:first-child) {
    flex-shrink: 0;
}

.e-deklaracja.okno-kolumna-glowna {
    display: flex;
    justify-content: start;
}

.e-deklaracja.okno-kolumna-glowna > :has(> :empty) {
    display: none;
}

/*xsl*/
.xsl-form .vertical-wrapper {
    outline: none;
}

.xsl-form .deklaracja .okres {
    display: flex;
    align-items: center;
    justify-content: center;
}

.xsl-form .okres .data,
.xsl-form .okres .data-new,
.xsl-form .naglowek td>span,
.xsl-form .opis-tekstowy-new .data
 {
	display: inline-flex;
    align-items: center;
}

.xsl-form .naglowek tr:first-child td {
    display: flex;
}

.xsl-form .tytul-sekcja-blok {
    display: flex;
    align-items: center;
}

.xsl-form {
    font-family: "Arial";
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.xsl-form > * {
    max-width: min(1500px, 100%);
}