/*
 * ******************************************************
 *  * Copyright (C) 2025 by NEW REALITY LIVE
 *  *
 *  * This file is part of Mediapresenter.
 *  *
 *  ******************************************************
 */


body {
    background: #424242;
    color: #ffffff;
}

/*############*/
.selected-playlist {
    background: rgb(54, 149, 46) !important;
}

.tmp-selected-playlist {
    background: rgb(149, 137, 19);
}

.selected-song {
    background: rgb(54, 149, 46) !important;
}

.tmp-selected-song {
    background: rgb(149, 137, 19);
}

.selected-verse {
    background: rgb(54, 149, 46) !important;
}

/* .play {
    background: rgb(54, 149, 46) !important;
} */
/* Style dla przycisku play */
.play {
    background-color: rgb(54, 149, 46) !important;
    background-image: url(/files/img/buttons/icons/play-play.png) !important;
    background-size: 50% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
@keyframes blink_active {
    50% {
        -webkit-box-shadow:inset 0px 0px 0px 6px rgb(255, 226, 20);
        -moz-box-shadow:inset 0px 0px 0px 6px rgb(255, 226, 20);
        box-shadow:inset 0px 0px 0px 6px rgb(255, 226, 20);
    }
}

.nap-active {
    /* animation: blink_active .5s step-end infinite alternate; */
    box-shadow:inset 0px 0px 0px 6px rgb(255, 226, 20);
    background: rgb(54, 149, 46);
}

.preview-active {
    background: rgb(54, 149, 46);
}

.stop {
    background: none;
}

.selected-verse-not-playing {
    background: rgb(102, 109, 48) !important;
}


/* .copyright {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    font-size: 2.2vmin;
    max-font-size: 2vw;
    height: 3vh;
    background-color: #717171;
} */

.playlists-menu {
    width: 100%;
    height: 85vh;
    overflow: auto;
    border: 1px solid #ffffff;
    /*background-color: #8c3fc0;*/
    font-size: 1.6em;
}

.pilot-menu {
    width: 100%;
    height: 75.6vh;
    overflow: auto;
    border: 1px solid #ffffff;
    /*background-color: #8c3fc0;*/
    font-size: 1.6em;
}

.player_container_1 {
    width: 100%;
    height: 26vh;
    overflow: auto;
    border: 1px solid #ffffff;
    margin-bottom: 1px;
    /*background-color: #8c3fc0;*/
    font-size: 1.8em;
}
.player_container_2 {
    width: 100%;
    height: 26vh;
    overflow: auto;
    border: 1px solid #ffffff;
    margin-bottom: 1px;
    /*background-color: #8c3fc0;*/
    font-size: 1.8em;
}


.iframe-container {
    overflow: hidden;
/*// Calculated from the aspect ration of the content (in case of 16:9 it is 9/16= 0.5625)*/
padding-top: 56.25%;
    position: relative;
}

.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.songslists-menu {
    width: 100%;
    height: 57.1vh;
    overflow: auto;
    border: 1px solid #ffffff;
    /*background-color: #8c3fc0;*/
    font-size: 1.8em;
}

.song-content {
    width: 100%;
    height: 61.5vh;
    overflow: auto;
    border: 1px solid #ffffff;
    /*background-color: #8c3fc0;*/
    font-size: 1.6em;
}

.header {
    width: 100%;
    /*font-size: 1.8em;*/
    font-size: 3.8vmin;
    /*max-font-size: 1.8vh;*/
    height: auto;
    text-decoration: underline;
    border: 1px solid #ffffff;
    margin-bottom: 2px;
    margin-top: 5px;
    padding-left: 5px;
}


.prev-song {
    background-image: url(/files/img/buttons/icons/tostart.png);
}

.prev-section {
    background-image: url(/files/img/buttons/icons/backward.png);
}

/* .on-air {
    background-image: url(/files/img/buttons/icons/play-play.png);
} */
.on-air {
    background-image: url(/files/img/buttons/icons/play-play.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}
.next-section {
    background-image: url(/files/img/buttons/icons/forward.png);
}

.next-song {
    background-image: url(/files/img/buttons/icons/fastforward.png);
}

.button-text-1 {
    background-image: url(/files/img/buttons/icons/nap_1.png) !important;
}

.button-text-2 {
    background-image: url(/files/img/buttons/icons/nap_2.png) !important;
}

.button-text-3 {
    background-image: url(/files/img/buttons/icons/nap_3.png) !important;
}
.button-text-4 {
    background-image: url(/files/img/buttons/icons/nap_4.png)  !important;  
}

.button-text-5 {
    background-image: url(/files/img/buttons/icons/nap_5.png) !important;
}

.button-text-6 {
    background-image: url(/files/img/buttons/icons/nap_6.png) !important;
}

.preview-text-1 {
    background-image: url(/files/img/buttons/icons/preview_2.png);
}

.preview-text-2 {
    background-image: url(/files/img/buttons/icons/preview_1.png);
}

.preview-text-3 {
    background-image: url(/files/img/buttons/icons/preview_3.png);
}

.preview-text-4 {
    background-image: url(/files/img/buttons/icons/preview_4.png);
}


body.hover-enabled .control-button:hover {
    /* background-color: #ffc937; */
    background-color: #2b2b6b;
    cursor: pointer;
}

.control-button:active {
    background-color: #f40001;
    cursor: pointer;
}

.small-button:active {
    background-color: #f40001;
    cursor: pointer;
}

.drop-down-list:active {
    background-color: #f40001;
    cursor: pointer;
}

.control-button {
    display: inline-block;
    border: 2px solid #e2e2e2;
    /*max-width: 30%;*/
    height: 100%;
    /*min-height: 30%;*/
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}


.control-button-half-height {
    display: inline-block;
    border: 2px solid #e2e2e2;
    /*max-width: 30%;*/
    height: 49%;
    /*min-height: 30%;*/
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

body.hover-enabled .preview-button:hover {
    background-color: #2b2b6b;
    cursor: pointer;
}

body.hover-enabled .small-button:hover {
    background-color: #2b2b6b;
    cursor: pointer;
}

.preview-button:active {
    background-color: #f40001;
    cursor: pointer;
}

.preview-button {
    display: inline-block;
    border: 2px solid #e2e2e2;
    /*max-width: 30%;*/
    height: 100%;
    /*min-height: 30%;*/
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.control-button-songs {
    width: 48%;
}

.control-button-content {
    width: 29%;
}

.preview-button-content {
    width: 22.5%;
}

.left-button {
    float: left;
}

.center-button {
    display: inline-block;
    margin: 0 auto;
}

.right-button {
    float: right;
}

.control-buttons {
    /*background-color: #a40009;*/
    width: auto;
    margin: 0 auto;
    text-align:center;
}

.line {
    border: 1px solid #8a8a8a;
    margin: 5px auto;
    width: 98%;
    padding-left: 10px;
    cursor: pointer;
}

.small-button {
    width: 100%;
    height: 100%;
    text-align: center;
    margin: 0 auto;
    -webkit-box-shadow:inset 0px 0px 0px 1px #8a8a8a;
    -moz-box-shadow:inset 0px 0px 0px 1px #8a8a8a;
    box-shadow:inset 0px 0px 0px 1px #8a8a8a;
    /*font-size: 2.9vmin;*/
    font-size: 1.7vmin;
    line-height: 5.3vmin;
    /* max-font-size: 2vh; */
}

.small-button-container {
    /*padding-left: 1px;*/
    /*padding-right: 1px;*/
    height: 5vh;
    /*margin: 0.07vw  ;*/
}
.buttons-3-in-row {
    width: 32.833333%;
    float: left;
    margin-right: 0.5%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
}

.buttons-2-in-row {
    width: 49.5%;
    float: left;
    margin-right: 0.5%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
}

.buttons-1-in-row {
    width: 100%;
    float: left;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
}

.width-90 {
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}
.line-name {
    border: 1px solid #8a8a8a;
    margin: 5px auto;
    width: 98%;
    text-align: center;
    font-style: oblique;
    padding-left: 10px;
    background-color: #585858;
}

.line-title {
    font-size: 2.8vmin;
    /* max-font-size: 2vh; */
}

.line-songs {
    font-size: 2.8vmin;
    /* max-font-size: 2vh; */
}

.line-text {
    font-size: 2.6vmin;
    /* max-font-size: 2vh; */
}



.section-header {
    margin: 5px auto;
    font-size: 2.8vmin;
    /* max-font-size: 2vh; */
    width: 98%;
    padding-left: 10px;
    font-style: italic;
    font-weight: bold;
    color: #c9290d;
}

body.hover-enabled .line:hover {
    /* background-color: #eea236; */
    background-color: #2b2b6b;
}

body.hover-enabled .drop-down-list:hover {
    background-color: #2b2b6b;
}

.list {
    margin-left: -35px;
    list-style-type:none;
}
.container-fluid {
    width: 100vw;
    height: 90vh;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                     supported by Chrome and Opera */
}

.move-left {
    margin-left: -15px;
}

.remove-margins {
    margin: 0;
}

.control-buttons-container {
    margin-top: 1vh;
    height: 13vh;
    width: 100%;
}

.control-buttons-container-half-height {
    margin-top: 1vh;
    height: 6.2vh;
    width: 100%;
}
.preview-buttons-container {
    margin-bottom: 1vh;
    height: 5vh;
    width: 100%;
}

.drop-down-list {
    /*border: 1px solid #8a8a8a;*/
    /*margin: 0px auto;*/
    /*width: 98%;*/
    /*padding-left: 10px;*/
    background-color: #2b2b6b;
    cursor: pointer;
}

.drop-down-list-active {
    background: rgb(54, 149, 46);
}

.active-on-monitor-1 {
    background: rgb(54, 149, 46);
}

.active-input-monitor-1 {
    background: rgb(54, 149, 46);
}

.active-on-monitor-2 {
    background: rgb(54, 149, 46);
}

.active-input-monitor-2 {
    background: rgb(54, 149, 46);
}

.active-show-monitor-2 {
    background: rgb(54, 149, 46);
}

.active-show-monitor-2-waiting {
    animation: blink_active .5s step-end infinite alternate;
}

@media screen and (max-width: 600px) {
    .songslists-menu {
        height: auto;
        min-height: 2vh;
        max-height: 70vh;
    }

    .song-content {
        min-height: 2vh;
        height: auto;
        max-height: 25.5vh;
    }

    .pilot-menu {
        min-height: 2vh;
        max-height: 85vh;
        height: auto;
    }

    .control-buttons-container {
        height: 7vh;
    }
    .control-buttons-container-half-height {
        height: 3vh;
    }
}

/* .search-container { */
    /*width: 100%;*/

    /*font-size: 1.4vmin;*/
    /*max-font-size: 1.8vh;*/
    /*height: 4vh;*/
    /*border: 1px solid #ffffff;*/
    /*margin-bottom: 2px;*/
    /*margin-top: 5px;*/
    /*padding-left: 5px;*/
/* } */

.search-container {
    margin-top: 2px;
    margin-bottom: 2px;
    height: 4vh;
    width: 100%;
}

.search-elements {
    /*background-color: #a40009;*/
    width: auto;
    margin: 0 auto;
    text-align:center;
}

.search-element {
    display: inline-block;
    border: 2px solid #e2e2e2;
    /*max-width: 30%;*/
    height: 100%;
    /*min-height: 30%;*/
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.search-input {
    padding-left: 5px;
    width: 90%;
    font-size: 2vmin;
    background-color: #3c3c3c;
    color: #FFFFFF;
}

.search-cancel {
    width: 9%;
    background-image: url(/files/img/buttons/icons/cancel.png);
}

body.hover-enabled .search-cancel:hover {
    background-color: #2b2b6b;
    cursor: pointer;
}

.search-cancel:active {
    background-color: #f40001;
    cursor: pointer;
}

.error-container {
    width: 40%;
    height: 20%;
    margin: 0 auto;
    display: none;
    background-color: #a40009;
    color: #FFFFFF;
    font-size: 3vmin;
    text-align: center;
    z-index: 999;
    position: fixed;
    left: 50%;
    top: 20px;
    transform: translate(-50%, 0%);
    border-radius: 5px;
}

.close-error {
    height: 20%;
    width: 90%;
    margin: 0 auto;
    display: block;
    background-color: #20a400;
    border-radius: 5px;
    cursor: pointer;
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 0%);
}

.active-user {
    background: rgb(54, 149, 46);
}

/* style ze strony index_mp.php */
    /* Styl dla overlay */
    #login-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    #login-box {
        background: white;
        padding: 20px;
        border-radius: 10px;
        width: 300px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
        text-align: center;
    }

    .numeric-keypad {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 15px;
    }

    .numeric-keypad button {
        width: 100%;
        padding: 15px;
        font-size: 18px;
        border: none;
        background: #007bff;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

    .numeric-keypad button:active {
        background: #0056b3;
    }

    #login-error {
        color: red;
        margin-top: 10px;
    }

    #parish-id, #password {
        margin-bottom: 15px;
    }


    #login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#login-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.password-group {
    position: relative;
    margin-bottom: 15px;
}

.password-group input {
    padding-right: 35px;
}

#toggle-password {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.numeric-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.numeric-keypad button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
}

.numeric-keypad button:active {
    background: #e9ecef;
}

.numeric-keypad .submit-btn {
    background: #007bff;
    color: white;
    border: none;
}

.numeric-keypad .submit-btn:active {
    background: #0056b3;
}

#login-error {
    color: #dc3545;
    margin: 10px 0;
    font-size: 14px;
}

.logout-btn {
    background: none;
    border: none;
    color: #dc3545;
    margin-left: 10px;
    padding: 5px 10px;
    cursor: pointer;
    vertical-align: middle;
}

.logout-btn:hover {
    color: #bd2130;
}



.password-container {
    position: relative;
    margin-bottom: 15px;
}

.btn-toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #666;
}

.btn-toggle-password:hover {
    color: #333;
}



/* Nowe style dla nagłówka */
.row[style="background-color: #c0a16b"] {
    background-color: #2b2b6b !important; /* Dark Blue */
    height: 40px; /* Zmniejszona wysokość */
    display: flex;
    align-items: center;
    width: 100vw; /* Pełna szerokość */
    margin: 0; /* Usunięcie marginesów */
    padding: 0 15px; /* Padding po bokach */
}
.line-title:hover, control-button-songs:hover, control-button-content:hover, preview-button-content:hover, button-text-1:hover, button-text-2:hover, button-text-3:hover, button-text-4:hover, button-text-5:hover, button-text-6:hover {
    background-color: #2b2b6b !important; /* Darker Blue */
}


/* Poprawki dla głównej zawartości */
#main-content {
    width: 100vw;
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

/* Media query dla tabletów */



/* Główny rząd z zawartością */
.container-fluid > .row {
    margin: 0;
    height: 100%;
    display: flex;
    width: 100%;
}



/* Footer */
.copyright {
    width: 100vw;
    height: 30px;
    line-height: 30px;
    margin: 0;
    padding: 0;
    background-color: #717171;
    position: fixed;
    bottom: 0;
    left: 0;
}



/* Nagłówek */
.row[style="background-color: #c0a16b"] {
    height: 40px;
    margin: 0;
    width: 100vw;
    background-color: #2b2b6b !important;
}


/* Usunięcie scrollbara, gdy nie jest potrzebny */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* Style dla elementów wewnątrz kolumn */
.header {
    margin: 5px 0;
}

.player_container_1, .player_container_2 {
    margin-bottom: 5px;
}

/* Media query dla różnych rozdzielczości */
@media screen and (max-width: 1200px) {
    .container-fluid {
        height: calc(100vh - 40px - 30px - 48px); /* dodatkowe odjęcie na pasek nawigacji tabletu */
    }
}

/* Naprawienie wyrównania elementów w kolumnach */
.move-left {
    margin-left: 0;
    padding: 0 5px;
}

/* Wymuszenie pełnej szerokości bez przewijania */
.row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}




/* Nagłówek */
.row[style="background-color: #c0a16b"] {
    flex: 0 0 40px; /* stała wysokość nagłówka */
    background-color: #2b2b6b !important;
    width: 100%;
    margin: 0;
}


/* Footer */
.copyright {
    flex: 0 0 30px;
    width: 100%;
    line-height: 30px;
    background-color: #717171;
    text-align: center;
    margin: 0;
}



/* Listy i kontenery */
.songslists-menu {
    flex: 1 1 auto;
    height: calc(100% - 100px); /* miejsce na przyciski kontrolne */
    overflow-y: auto;
    border: 1px solid #ffffff;
}

.song-content {
    flex: 1 1 auto;
    height: calc(100% - 100px);
    overflow-y: auto;
    border: 1px solid #ffffff;
}

/* Kontener YouTube - zachowanie proporcji 16:9 */
.player_container_2 {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.player_container_2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* Pilot menu w ostatniej kolumnie */
.pilot-menu {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 5px;
}






/* Complete layout fixes */
/* Nagłówek aplikacji */
.row[style="background-color: #c0a16b"] {
    background-color: #2b2b6b !important;
    height: 40px;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Poprawki dla głównego kontenera */
.container-fluid {
    width: 100vw;
    /* height: calc(100vh - 40px - 30px);  */
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100vh; /* pełna wysokość viewportu */
    width: 100%;
    overflow: hidden;
}


/* Lista zestawów */
.songslists-menu {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #ffffff;
    margin-bottom: 85px; /* miejsce na przyciski kontrolne + footer */
}

/* Obszar tekstu */
.song-content {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #ffffff;
    margin-bottom: 85px;
}

/* Obszar podglądu */
.player_container_1, .player_container_2 {
    border: 1px solid #ffffff;
}




/* Zachowanie proporcji 16:9 dla YouTube */
.player_container_2 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 85px;
}

.player_container_2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Style dla nagłówka */


/* Media query dla tabletów */
@media screen and (max-width: 1200px) {
    .container-fluid > .row:nth-child(2) {
        height: calc(100vh - 70px - 48px); /* dodatkowe odjęcie na pasek nawigacji tabletu */
    }
}








/* Naprawienie nagłówka - upewnienie się, że jest widoczny */
.row[style="background-color: #c0a16b"] {
    background-color: #2b2b6b !important;
    min-height: 40px;
    height: 40px;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}


/* Usunięcie wszystkich potencjalnych borderów w kontenerze przycisków */
.control-buttons {
    border: none !important;
}




/* Style dla przycisków, aby były zawsze widoczne */
.control-button {
    position: relative;
    z-index: 5;
    border: 2px solid #e2e2e2;
    background-color: #424242;
}

/* Reset podstawowy */
html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #323232 !important;
}

/* Główny kontener */
.container-fluid {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Nagłówek */
.row[style="background-color: #c0a16b"] {
    background-color: #2b2b6b !important;
    flex: 0 0 40px; /* stała wysokość */
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}




/* Zachowanie proporcji dla player_container_2 */
.player_container_2 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 5px;
}

.player_container_2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Zabezpieczenie przed przewijaniem */
.container-fluid {
    overflow: hidden;
}

/* Główny rząd z zawartością */
.container-fluid > .row:nth-child(2) {
    flex: 1;
    margin: 0;
    padding: 0;
    height: calc(100vh - 70px); /* minus nagłówek i footer */
    display: flex;
    position: relative;
    top: 0; /* Usunięcie przesunięcia */
    overflow: hidden;
}

/* Media query dla tabletów */
@media screen and (max-width: 1200px) {
    .container-fluid > .row:nth-child(2) {
        height: calc(100vh - 70px - 48px); /* uwzględnienie paska nawigacji tabletu */
    }
}



/* Style przycisku fullscreen */
.fullscreen-button {
    position: absolute;
    left: 20px;
    top: 25px;
    background: none;
    border: 2px solid green;
    color: yellow;
    cursor: pointer;
    font-size: 30px;
    transform: scale(1.8);
    z-index: 1000;
}

/* Tablet style dla przycisku fullscreen */
@media screen and (max-height: 1081px) {
    .fullscreen-button {
        top: 10px;
        left: 20px;
        transform: scale(1.3);
    }
}






/* Style dla PC w trybie pełnoekranowym */
@media all and (display-mode: fullscreen) and (aspect-ratio: 16/9) {
    .songslists-menu, .song-content {
        margin-bottom: 130px;
    }

    .control-buttons-container {
        bottom: 60px;
    }

    .control-buttons-container-half-height {
        height: 8vh;
        margin-bottom: 15px;
    }

    .row.remove-margins:last-child .control-buttons-container-half-height {
        bottom: 45px;
    }
}

/* Style dla tabletu w trybie pełnoekranowym */
@media all and (display-mode: fullscreen) and (aspect-ratio: 16/10) {
    .songslists-menu, .song-content {
        margin-bottom: 200px;
    }

    .control-buttons-container {
        bottom: 140px;
    }

    .control-buttons-container-half-height {
        height: 10vh;
        margin-bottom: 20px;
    }

    .row.remove-margins:last-child .control-buttons-container-half-height {
        bottom: 100px;
    }
}







/* style dla nagłówków w USTAWIENIA */

/* Nagłówki sekcji */
.section-header {
    background-color: #444;
    color: yellow;
    font-weight: normal !important;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #555;
    transition: background-color 0.3s ease;
}

.section-header:hover {
    background-color: #0078d7; /* Efekt hover - niebieski */
    color: white;
}

/* Przycisk ikony */
.section-header .glyphicon {
    position: absolute;
    top: 20px;
    right: 10px;
    transition: transform 0.3s ease;
}

/* Obrót ikony po otwarciu */
.section-header.active .glyphicon {
    transform: rotate(180deg);
}

/* Zawartość sekcji */
.section-content {
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-content.collapsed {
    max-height: 0;
    opacity: 0;
}

.section-content.expanded {
    max-height: 700px; /* Wystarczająco duża wartość */
    opacity: 1;
}



.settings-section {
    margin-bottom: 10px;
    border: 1px solid #555;
    background-color: #333;
    padding: 5px;
}

/* Przyciski */
.small-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center; /* Wyśrodkowanie */
}

.small-button {
    width: 90% !important;
    display: flex;
    align-items: center; /* Wyśrodkowanie w pionie */
    justify-content: center; /* Wyśrodkowanie w poziomie */

    height: 40px; /* Ustawienie stałej wysokości */
    background-color: #555;
    color: yellow;
    text-align: center;
    cursor: pointer;
    border: 1px solid #666;
    transition: background 0.3s ease, color 0.3s ease;
}

.small-button:hover {
    background-color: #777;
}



/* Kolumny */
.col-sm-2, .col-sm-3, .col-sm-4, .col-sm-6  {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px; /* wysokość footera - było 30px */
    border: 1px solid #ffffff;
    position: relative; /* Ustawienie rodzica jako punkt odniesienia */
    /* padding: 5px; */
    /* height: 100%; */
    height: calc(100vh - 40px); /* wysokość viewportu minus nagłówek */
    overflow: hidden;
}

#licence {
    width: 100%;
    align-items: center;
    position: absolute;
    bottom: 5px; /* Przyklejenie do dolnej krawędzi */
    left: 0;
    right: 0;
    background-color: #333;
    padding: 10px;
    text-align: center;
    border: 1px solid white;
}

/* Style dla urządzeń dotykowych i zwykłych w trybie normalnym oraz trybie fullscreen */

/* Lista zestawów/treści dla zwykłych urządzeń */
.songslists-menu, .song-content {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #ffffff;
    /* margin-bottom: 140px;  PC */
    margin-bottom: 80px; /* PC */
}

/* Lista zestawów/treści */
.control-buttons-container {
    height: 60px;
    position: absolute;
    bottom: 10px;   /*  przyciski w kol. 1-2 -odl. od dolnej kraw. */
    left: 0;
    right: 0;
}
/* kolumna 4 */
.pilot-menu {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #ffffff;
    margin-bottom: 105px; /* miejsce na przyciski + odstęp od footera */
}

/* Kolumny */
body.touch-device.fullscreen-mode .col-sm-2, 
body.touch-device.fullscreen-mode .col-sm-3,
body.touch-device.fullscreen-mode .col-sm-4,
body.touch-device.fullscreen-mode .col-sm-6 {
    margin-bottom: 0px; /* wysokość footera - było 30px */
    height: calc(100vh - 20px); /* wysokość viewportu minus nagłówek */

}

/* Style dla urządzeń dotykowych */
body.touch-device.fullscreen-mode .songslists-menu,
body.touch-device.fullscreen-mode .song-content {
    /* margin-bottom: 150px; */
    margin-bottom: 90px;
}
/* dolna krawedz okna z zestawami i tekstami (kol. 1 i 2) bez fullscreen */
body.touch-device .songslists-menu, 
body.touch-device .song-content {
    margin-bottom: 160px;
}
/* kol. 4 */
body.touch-device .pilot-menu {
    margin-bottom: 145px; /* miejsce na przyciski + odstęp od footera */
}

/* wysokość przycisków w kol.1 i 2 nad dolną krawędzią */
body.touch-device.fullscreen-mode .control-buttons-container {
    /* bottom: 140px; */
    bottom: 30px;
}
/* dotykowe bez fullscreen */
body.touch-device .control-buttons-container {
    bottom: 100px;
}


/* wysokość mniejszych przycisków w kol. 3 nad dolną krawędzią */
body.touch-device.fullscreen-mode .control-buttons-container-half-height {
    height: 10vh;
    margin-bottom: 20px;
}

body.touch-device.fullscreen-mode .row.remove-margins:last-child .control-buttons-container-half-height {
    bottom: 130px;
}

body.touch-device #licence {
    bottom: 100px; /* Przyklejenie do dolnej krawędzi */
}
body.touch-device.fullscreen-mode #licence {
    bottom: 40px; /* Przyklejenie do dolnej krawędzi */
}


/* style dla układu pionowego */
/* Dodaj do pliku CSS */

/* Podstawowe style dla mobilnego układu pionowego */
@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Kontener główny */
    .container-fluid {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 0;
    }

    /* Nagłówek */
    .row[style="background-color: #c0a16b"] {
        order: 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Kolumny */
    .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-6  {
        width: 100% !important;
        height: auto !important;
        min-height: 300px;
        border: none;
        border-bottom: 1px solid #444;
        padding: 10px;
        margin: 0;
    }

    /* Zawartość kolumn */
    .songslists-menu,
    .song-content,
    .pilot-menu {
        height: auto !important;
        min-height: 200px;
        max-height: 300px;
        overflow-y: auto;
        margin-bottom: 10px !important;
    }

    /* Przyciski kontrolne */
    .control-buttons-container {
        position: relative !important;
        bottom: auto !important;
        margin: 10px 0;
        height: auto !important;
    }

    /* Preview/player container */
    .player_container_1,
    .player_container_2 {
        height: 200px !important;
    }

    /* Licencja */
    #licence {
        position: relative !important;
        bottom: auto !important;
        margin-top: 20px;
    }

    /* Przyciski w kolumnie 3 */
    .preview-buttons-container,
    .control-buttons-container-half-height {
        height: auto !important;
        margin: 10px 0;
    }

    /* Scroll do aktywnego elementu */
    .selected-song,
    .selected-verse {
        scroll-margin-top: 100px;
    }
}

/* Dodatkowe usprawnienia dla bardzo małych ekranów */
@media screen and (max-width: 480px) and (orientation: portrait) {
    .control-buttons button,
    .preview-button {
        padding: 15px !important; /* Większe przyciski dla ekranów dotykowych */
    }

    .song-title,
    .section-content {
        font-size: 16px !important; /* Większa czcionka */
        line-height: 1.5;
    }

    .preview-header h3 {
        font-size: 18px;
    }

    /* Zwiększ odstępy między elementami */
    .line, 
    .line-songs,
    .section-row {
        margin-bottom: 15px;
        padding: 10px;
    }
}


/* Dodaj do pliku CSS */

/* Podstawowe style dla mobilnego układu pionowego */
@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Kontener główny */
    .container-fluid {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 0;
    }

    /* Nagłówek */
    .row[style="background-color: #c0a16b"] {
        order: 0;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Zawartość kolumn */
    .songslists-menu,
    .song-content,
    .pilot-menu {
        height: auto !important;
        min-height: 200px;
        max-height: 300px;
        overflow-y: auto;
        margin-bottom: 10px !important;
    }

    /* Przyciski kontrolne */
    .control-buttons-container {
        position: relative !important;
        bottom: auto !important;
        margin: 10px 0;
        height: auto !important;
    }

    /* Preview/player container */
    .player_container_1,
    .player_container_2 {
        height: 200px !important;
    }

    /* Licencja */
    #licence {
        position: relative !important;
        bottom: auto !important;
        margin-top: 20px;
    }

    /* Przyciski w kolumnie 3 */
    .preview-buttons-container,
    .control-buttons-container-half-height {
        height: auto !important;
        margin: 10px 0;
    }

    /* Scroll do aktywnego elementu */
    .selected-song,
    .selected-verse {
        scroll-margin-top: 100px;
    }
}

/* Dodatkowe usprawnienia dla bardzo małych ekranów */
@media screen and (max-width: 480px) and (orientation: portrait) {
    .control-buttons button,
    .preview-button {
        padding: 15px !important; /* Większe przyciski dla ekranów dotykowych */
    }

    .song-title,
    .section-content {
        font-size: 16px !important; /* Większa czcionka */
        line-height: 1.5;
    }

    .preview-header h3 {
        font-size: 18px;
    }

    /* Zwiększ odstępy między elementami */
    .line, 
    .line-songs,
    .section-row {
        margin-bottom: 15px;
        padding: 10px;
    }
}


@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Wymuszenie układu pionowego */
    .row {
        display: block !important;
    }

    /* Reset układu kolumn */
    .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-6  {
        float: none !important;
        width: 100% !important;
        display: block !important;
        height: auto !important;
        min-height: 300px;
        border: none;
        border-bottom: 1px solid #444;
        padding: 10px;
        margin: 0;
    }

    /* Kontener główny */
    .container-fluid {
        padding: 0;
        width: 100% !important;
    }

    /* Główny rząd */
    .container-fluid > .row {
        margin: 0;
        display: block !important;
    }

    /* Move left reset */
    .move-left {
        margin-left: 0 !important;
        padding: 0 !important;
    }

    /* Nagłówek */
    .row[style="background-color: #c0a16b"] {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Zawartość kolumn */
    .songslists-menu,
    .song-content,
    .pilot-menu {
        height: auto !important;
        min-height: 200px;
        max-height: 400px;
        overflow-y: auto;
        margin-bottom: 10px !important;
    }

    /* Panel podglądu */
    .player_container_1,
    .player_container_2 {
        width: 100% !important;
        height: 200px !important;
        margin: 10px 0;
    }

    /* Bootstrap grid override */
    [class*="col-"] {
        float: none !important;
        display: block !important;
        width: 100% !important;
    }

    /* Licencja */
    #licence {
        position: relative !important;
        bottom: 0 !important;
        width: 100% !important;
        margin: 10px 0 !important;
    }
}

/* Dodatkowe style dla bardzo małych ekranów */
@media screen and (max-width: 480px) and (orientation: portrait) {
    .songslists-menu,
    .song-content,
    .pilot-menu {
        max-height: 300px;
    }

    .row {
        margin: 0 !important;
    }
}
@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Popraw scrollowanie na całej stronie */
    html, body {
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Kontener główny */
    .container-fluid {
        height: auto;
        min-height: 100%;
        overflow-y: visible;
        padding-bottom: 60px; /* miejsce na stopkę */
    }

    /* Kolumny */
    .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-6  {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto;
        max-height: none;
        overflow: visible;
        margin-bottom: 20px;
        border-bottom: 1px solid #444;
    }

    /* Kontenery list */
    .songslists-menu,
    .song-content,
    .pilot-menu {
        height: auto !important;
        max-height: none !important;
        overflow-y: visible;
        padding-bottom: 60px; /* miejsce na przyciski */
    }

    /* Przyciski kontrolne - stały na dole każdej sekcji */
    .control-buttons-container {
        position: sticky !important;
        bottom: 0 !important;
        background: #222;
        padding: 10px;
        z-index: 100;
        width: 100%;
    }

    /* Kontener przycisków */
    .control-buttons {
        display: flex;
        justify-content: space-around;
        padding: 10px;
        background: #333;
        border-radius: 5px;
    }

    /* Większe przyciski dotykowe */
    .control-button,
    .preview-button {
        min-width: 50px;
        min-height: 50px;
        padding: 10px;
        margin: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #444;
        border-radius: 5px;
        touch-action: manipulation;
    }

    /* Napraw interakcje dotykowe */
    .line, 
    .line-songs,
    .line-title {
        padding: 15px;
        margin: 5px 0;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }

    /* Aktywny stan dla elementów dotyku */
    .line:active,
    .line-songs:active,
    .line-title:active {
        background-color: #444;
    }

    /* Fix dla iframe'ów */
    .player_container_1,
    .player_container_2 {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 */
        height: 0;
        overflow: hidden;
    }

    .player_container_1 iframe,
    .player_container_2 iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Dodatkowe style zapewniające płynność */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    touch-action: manipulation;
}






/* poprawianie p[rzyciskow w trybie portretowym */
@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Debug dla ikon */
    .control-button {
        position: relative;
        background-color: #444 !important;
    }

    /* Wymuszenie ikon */
    .control-button:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: 80% !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }

    .play:after { background-image: url(/files/img/buttons/icons/play-play.png) !important; }
    .prev-song:after { background-image: url(/files/img/buttons/icons/tostart.png) !important; }
    .prev-section:after { background-image: url(/files/img/buttons/icons/backward.png) !important; }
    .next-section:after { background-image: url(/files/img/buttons/icons/forward.png) !important; }
    .next-song:after { background-image: url(/files/img/buttons/icons/fastforward.png) !important; }
}



@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Upewniamy się że kliknięcia są obsługiwane */
    .line, .line-songs, .line-title {
        cursor: pointer;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        transition: background-color 0.3s ease;
    }

    /* Wyraźny feedback wizualny */
    .line:active, 
    .line-songs:active, 
    .line-title:active {
        background-color: #444 !important;
    }

    /* Większe odstępy dla dotykowego UI */
    .line, .line-songs, .line-title {
        padding: 15px 10px;
        margin: 5px 0;
    }

    /* Fix dla scrollowania */
    .songslists-menu {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
        /* height ustawione na auto w poprzednim CSS */
    }
}









@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Reset poprzednich ikon */
    /* .control-button {
        background-image: none !important;
    } */

    /* Przyciski podglądu */
    .preview-button-content {
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        margin: 5px;
        background-color: #444;
        border-radius: 4px;
        color: white;
    }

    /* Nazwy zakładek podglądu */
    .preview-text-1::after { content: 'TV' !important; }
    .preview-text-2::after { content: 'vMix1' !important; }
    .preview-text-3::after { content: 'vMix2' !important; }
    .preview-text-4::after { content: 'vMix3' !important; }

    /* Przyciski sterowania z ikonami */
    .control-button {
        position: relative;
        min-width: 50px;
        min-height: 50px;
        background-color: #444 !important;
        border: 1px solid #555;
    }

    /* Pojedyncze ikony zamiast podwójnych */
    .play {
        background: #369532 url(/files/img/buttons/icons/play-play.png) center/50% no-repeat !important;
    }
    
    .stop {
        background: #953232 url(/files/img/buttons/icons/play-stop.png) center/50% no-repeat !important;
    }

    .prev-song {
        background: #444 url(/files/img/buttons/icons/tostart.png) center/80% no-repeat !important;
    }

    .prev-section {
        background: #444 url(/files/img/buttons/icons/backward.png) center/80% no-repeat !important;
    }

    .next-section {
        background: #444 url(/files/img/buttons/icons/forward.png) center/80% no-repeat !important;
    }

    .next-song {
        background: #444 url(/files/img/buttons/icons/fastforward.png) center/80% no-repeat !important;
    }

    /* Usuń nakładające się pseudoelementy */
    .control-button:after {
        display: none;
    }

    /* Efekt hover/active dla przycisków */
    .control-button:active,
    .preview-button-content:active {
        background-color: #555 !important;
        transform: scale(0.95);
    }
}

/* Style dla aktywnego stanu preview */
.preview-active {
    background-color: #2a5934 !important;
}

@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Najpierw usuńmy wszystkie poprzednie style tła */
    .control-button {
        /* background-image: none !important; */
        background-color: #444 !important;
        position: relative;
        min-width: 50px;
        min-height: 50px;
    }

    /* Absolutne ścieżki do ikon */
    .play { background: #369532 url('/files/img/buttons/icons/play-play.png') center/80% no-repeat !important; }
    .stop { background: #953232 url('/files/img/buttons/icons/play-stop.png') center/80% no-repeat !important; }
    .prev-song { background: #444 url('/files/img/buttons/icons/tostart.png') center/80% no-repeat !important; }
    .prev-section { background: #444 url('/files/img/buttons/icons/backward.png') center/80% no-repeat !important; }
    .next-section { background: #444 url('/files/img/buttons/icons/forward.png') center/80% no-repeat !important; }
    .next-song { background: #444 url('/files/img/buttons/icons/fastforward.png') center/80% no-repeat !important; }
}





@media screen and (max-width: 1081px) and (orientation: portrait) {
    /* Globalne ustawienia dla touch */
    * {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Elementy klikalne */
    .line, .line-songs, .line-title {
        padding: 15px !important;
        margin: 5px 0 !important;
        cursor: pointer !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Feedback wizualny dla dotyku */
    .line:active, 
    .line-songs:active, 
    .line-title:active {
        background-color: #444 !important;
        transform: scale(0.98);
    }

    /* Scrollowanie */
    .songslists-menu,
    .song-content,
    .pilot-menu {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        height: auto !important;
        min-height: 200px !important;
    }

    /* Kontenery */
    .container-fluid > .row {
        overflow: visible !important;
        height: auto !important;
    }

    /* Przyciski */
    .control-button,
    .preview-button {
        min-height: 44px !important; /* Minimalna wysokość dla iOS */
        min-width: 44px !important;
        margin: 5px !important;
        touch-action: manipulation !important;
    }
}

/* Dla jednolitego koloru tła na mobile */
@media screen and (max-width: 1081px) and (orientation: portrait) {
    .selected-verse {
        background-color: rgb(54, 149, 46) !important; /* ten sam zielony co w desktop */
        background: rgb(54, 149, 46) !important; /* ten sam zielony co w desktop */
    }
    
    .selected-verse-not-playing {
        background-color:  rgb(102, 109, 48) !important;
        background: rgb(102, 109, 48) !important;
    }
}




/* Dla stałej wysokości kolumn i scrollowania: */
@media screen and (max-width: 1081px) and (orientation: portrait) {
    .control-button {
       min-width: 60px !important;
       min-height: 60px !important;
       background-size: 70% !important;
   }
    /* Kolumny */
    .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-6  {
        height: auto !important;
        /* max-height: calc(100vh - 40px);  */
        max-height: calc(90vh - 80px); /* wysokość ekranu minus nagłówek */
        display: flex;
        flex-direction: column;
       /* Margines na dole kontenera zawartości */
       padding-bottom: 90px; /* miejsce na przyciski */
   }

    

    /* Poprawione kolory dla stanów sekcji */
    .selected-verse {
       background-color: rgb(54, 149, 46) !important;
   }
   
   .selected-verse-not-playing {
       background-color: rgb(102, 109, 48) !important;
   }

    /* Kontenery list */
    .songslists-menu,
    .song-content {
        height: calc(100vh - 150px) !important; /* wysokość ekranu minus nagłówek i przyciski */
        overflow-y: auto !important;
        flex: 1;
    }
       /* Ograniczenie wysokości kolumn */
   .songslists-menu,
   .song-content {
       max-height: 66vh !important; /* 2/3 wysokości ekranu */
       overflow-y: auto !important;
   }

    /* Kontenery przycisków */
    .control-buttons-container {
        position: sticky !important;
        bottom: 0 !important;
        background: #222;
        padding: 10px;
        z-index: 100;
        height: 80px; /* stała wysokość */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .control-buttons-container {
       position: fixed;
       bottom: 0;
       width: 100%;
       background: #222;
       padding: 10px;
       height: 80px;
       z-index: 1000;
   }

    /* Zapewnij widoczność następnej kolumny */
    .container-fluid > .row {
        scroll-snap-type: x mandatory;
    }

    [class*="col-"] {
        scroll-snap-align: start;
        padding-bottom: 80px; /* miejsce na przyciski */
    }

    /* Scrollbar */
    .songslists-menu::-webkit-scrollbar,
    .song-content::-webkit-scrollbar {
        width: 5px;
    }

    .songslists-menu::-webkit-scrollbar-thumb,
    .song-content::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 5px;
    }
}

 /* Kontener dla tytułu i zalogowanego użytkownika */
@media screen and (max-width: 1081px) and (orientation: portrait) {

    /* Nagłówek */
    .row[style="background-color: #c0a16b"] {
        max-height: 30px !important;
    }

    /* Kolumny */
    .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-6  {
        height: calc(100vh - 40px) !important;
        padding-bottom: 100px !important;
    }

       /* Kontenery kolumn */
   .col-sm-2,
   .col-sm-3,
   .col-sm-4, .col-sm-6  {
       padding-top: 0 !important;
       margin-top: 0 !important;
       clear: both !important;
   }

    /* Listy */
    .songslists-menu,
    .song-content {
        max-height: 66vh !important;
        overflow-y: auto;
    }

    /* Przyciski */
    .control-button {
        width: 70px !important;
        height: 70px !important;
        margin: 5px !important;
    }

    .control-buttons-container {
        position: fixed;
        bottom: 0;
        background: #222;
        height: 90px;
        padding: 10px;
    }

       /* Przyciski nawigacji */
   .control-buttons-container {
    position: relative !important;
    z-index: 800 !important;
    margin: 5px 0 !important;
    padding: 5px !important;
    background: transparent !important;
}



    /* Kontener treści */
     /* Przestrzeń na header */
    /* .song-content {
        margin-top: 5px !important;
    } */


    /* Napraw padding dla pierwszej sekcji */
    .song-content > div:first-child {
        margin-top: 5px;
    }



    /* YouTube player */
    .player_container_2 {
        position: relative !important;
        width: 100% !important;
        height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 56.25% !important; /* 16:9 */
        margin-bottom: 0px !important;
        overflow: hidden !important;
    }

    .player_container_2 iframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border: none !important;

    }


    /* Prevent column overlap */
    .col-sm-3, .col-sm-4, .col-sm-6  {
        clear: both;
        margin-bottom: 20px;
        overflow: visible;
    }

    /* Fix spacing between columns */
    .pilot-menu {
        margin-top: 0px;
        padding-bottom: 10px;
        border-top: 1px solid #444;
    }
 
       /* Napraw przyciski nap_1 do nap_6 */
   .button-text-1,
   .button-text-2,
   .button-text-3,
   .button-text-4,
   .button-text-5,
   .button-text-6 {
       width: 80px !important;
       height: 45px !important;
       background-size: contain !important;
       background-repeat: no-repeat !important;
       background-position: center !important;
       margin: 2px !important;
       border: 1px solid #555 !important;
   }



       /* Separacja kolumn */
    [class*="col-"] + [class*="col-"] {
        margin-top: 20px !important;
        border-top: 1px solid #444 !important;
    }

    /* Fix dla col-4 */
    .col-sm-4, .col-sm-6  {
        padding-bottom: 0px !important;  /* 100 */
        margin-bottom: 0px !important;  /* 20 */
        border-bottom: 1px solid #444 !important;
    }

    
    
    /* Nagłówki kolumn */
    /* .header {
        position: sticky;
        top: 40px; 
        background: #222;
        z-index: 900;
        padding: 10px;
        border-bottom: 1px solid #444;
    }

   
    .header {
        position: sticky;
        top: 40px;
        background: #222;
        z-index: 900;
        padding: 10px;
        border-bottom: 1px solid #444;
    } */

    /* Nagłówek kolumn */
    .header {
        /* position: sticky !important;
        top: 40px !important;
        background: #222 !important;
        z-index: 1000 !important; 
        padding: 15px !important; */
        /* height: auto !important;
        min-height: 40px !important; */
        border-bottom: 1px solid #444 !important;
        display: flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

       /* Napraw odstępy nagłówków */
   .header {
        position: sticky !important;
        top: 0 !important; 
        margin-bottom: 0 !important;
        padding: 0px !important;
        background: rgb(75, 77, 19) !important;
        z-index: 900 !important;
    }

      /* Nagłówek kolumny 1 z zestawami */
      #drop_down_list {
        position: sticky !important;
        top: 0 !important;
        padding: 10px !important;
        background: rgb(75, 77, 19) !important;
        z-index: 900 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    .header:not(#drop_down_list) {
        position: sticky !important;
        top: 0 !important;
        padding: 10px !important;
        background: rgb(75, 77, 19) !important;
        z-index: 900 !important;
    }

    /* Kontener wyszukiwarki */
    .search-container {
        position: relative !important;
        z-index: 800 !important;
        margin-top: 5px !important;
    }

}

