body {
    --green: #2ec323;
    --red: #c3232d;
    --gray: #ccc;
}

.no-transition *{
    -webkit-transition: none !important;
    -moz-transition:  none !important;
    -ms-transition:  none !important;
    -o-transition:  none !important;
    transition:  none !important;
}

.regionalize_module{display: none;}
body.isAdmin div.regionalize_module{ display: block; }
label span.translate_module{
    font-size:10px;
    font-weight: 400;
    color: var(--gray);
    position: relative;
    top: -1px;
}

.admin_only{ display: none}
.local_only{ display: none}

body.notLocal .local_only{ display: none !important;}

body.isAdmin .admin_only,
body.isLocal .local_only{ display: inline-block;}

body.isAdmin th.admin_only,
body.isAdmin td.admin_only,
body.isLocal th.local_only,
body.isLocal td.local_only{ display: table-cell;}

body.isAdmin div.admin_only,
body.isLocal div.local_only{ display: block;}

body.isAdmin .side-nav li.admin_only{ display: block}

.local_only .btn {
    border: 2px solid var(--red);
}


.f_12, .f_12 div, .f_12 p, .f_12 th, .f_12 td {font-size: 12px;}
.f_14 {font-size: 14px;}
.f_20 {font-size: 20px;}
.f_bold {font-weight: bold;}
.f_colorRed {
    color: var(--red);
}
.f_colorGreen {
    color: var(--green);
}

.textOverflowEllipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form_descrption{
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 10px;
}
.mtm_10{
    margin-top:-10px;
}

.hidden {
    display: none;
}

.qrWrapper {
    padding: 80px;
    border: 1px solid #B7B7B7;
    display: inline-block;
    background:#fff;
}

.mw100{ min-width: 100px; }
.mw150{ min-width: 150px; }
.mw200{ min-width: 200px; }
.mw300{ min-width: 300px; }
.maxw600 { max-width: 600px; }
.maxw800 { max-width: 800px; }
.maxw1000 { max-width: 1000px; }

.p-0 {padding: 0;}
.pl-0 {padding-left: 0;}
.pr-0 {padding-right: 0;}
.pr-10 {padding-right: 10px;}
.pl-5 {padding-left: 5px;}
.pl-10 {padding-left: 10px;}
.pt-5 {padding-top: 5px;}
.pt-10 {padding-top: 10px;}
.pt-20 {padding-top: 20px;}
.pt-40 {padding-top: 40px;}
.pl-20 {padding-left: 20px;}
.pb-10 {padding-bottom: 10px;}
.pb-20 {padding-bottom: 20px;}
.pb-40 {padding-bottom: 40px;}

.mt-negative-10 {margin-top: -10px;}
.mt-negative-20 {margin-top: -20px;}
.mr-10 {margin-right: 10px;}
.mr-20 {margin-right: 20px;}
.ml-20 {margin-left: 20px;}
.mb-10 {margin-bottom: 10px;}

.lh-1-6 {line-height: 1.6}

.disabled a,
a.disabled {pointer-events: none;}
a:hover {color: #15848F;}
a {color: #1B6D85;}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.clear, .clear10{
    height: 0;
    display: block;
    font-size: 0;
    clear: both;
}
.clear10{ height: 10px; }

.side-nav li a:not(.button) {
    color: var(--menu-color);
}

.side-nav li a:not(.button):hover {
    color: var(--primary);
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
}

header {
    background-color: #D33C44;
    color: #ffffff;
    font-size: 30px;
    height: 84px;
    line-height: 64px;
    padding: 16px 0px;
    box-shadow: 0px 1px rgba(0, 0, 0, 0.24);
}

header .header-title {
    padding-left:80px
}

legend {
    color:#15848F;
}

.row {
    max-width: 100rem;
}

.actions.columns {
    margin-top:1rem;
    border-left: 5px solid #15848F;
    padding-left: 15px;
    padding: 32px 20px;
}

table th.actions{
    width: 120px;
    max-width: 120px;
}

.actions.columns h3 {
    color:#15848F;
}

.related table {
    border: 0;
    width: 100%;
    table-layout: fixed;
}

.index table thead {
    height: 3.5rem;
}

.header-help {
    float: right;
    margin-right:2rem;
    margin-top: -80px;
    font-size:16px;
}

.header-help span {
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    padding: 0.25rem 0.5rem 0.375rem;
    font-size: 0.8rem;
    background-color: #0097a7;
    color: #FFF;
    border-radius: 1000px;
}

.header-help a {
    color: #fff;
}

ul.pagination {
    margin-bottom: 0.6rem;
}

ul.pagination li a {
    color: var(--table-pagination-color);
    background: var(--table-pagination-bg);
}

ul.pagination li a:hover {
    background-color: var(--table-pagination-bg-active);
    color: var(--table-pagination-ative-color);
}

ul.pagination li.active a {
    background-color: var(--table-pagination-bg-active);
    color: var(--table-pagination-ative-color);
    font-weight: bold;
    cursor: default;
}
ul.pagination .disabled:hover a {
    cursor: not-allowed;
    color: var(--table-pagination-color);
    background:var(--table-pagination-bg);
    pointer-events: initial;
}

.paginator {
    text-align: center;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

.paginator p {
    font-size: 12px;
    text-align: center;
    color: var(--table-pagination-color);
}

.asc:after {
    content: " \2191";
}
.desc:after {
    content: " \2193";
}

.form .error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: normal;
    font-style: italic;
    color: #C3232D;
}

.required > label {
    font-weight: bold;
}
.required > label:after {
    content: ' *';
    color: #C3232D;
}

select[multiple] {
    min-height:150px;
    background: none;
}
input[type=checkbox] {
    margin-bottom: 0;
}
input[type=checkbox],
input[type=radio] {
    margin-right: 0.5em;
}
.uder-input-notice {margin-top: -5px; display: flex; align-items: center; font-size: 19px;}
.uder-input-notice small, .uder-input-notice input {display: inline-block; margin: 0 5px 0 0; line-height: 1;}

.flex-align-center {align-items: center;}

.date select,
.time select,
.datetime select {
    display: inline;
    width: auto;
    margin-right: 10px;
    padding-right:20px;
}

.error label,
.error label.error {
    color: #C3232D;
}

.view h2 {
    color: #6F6F6F;
}

.view .columns.strings {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
}

.view .numbers {
    background-color: #B7E3EC;
    color: #FFF;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right: 0.7rem;
}

.view .columns.dates {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
    background-color:var(--primary-headline);
    color: #fff;
}

.view .columns.booleans {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-right:0.7rem;
    background-color: #8D6E65;
    color: #fff;
}

.view .strings p {
    border-bottom: 1px solid #eee;
}
.view .numbers .subheader, .view .dates .subheader {
    color:#747474;
}
.view .booleans .subheader {
    color: #E9E9E9
}

.view .texts .columns {
    margin-top:1.2rem;
    border-bottom: 1px solid #eee;
}

.row-flex{
    display: flex;
    flex-direction: row;
}
.gap25{
    gap: 25px;
}

.col-flex{}
.ml10{ margin-left: 10px; }

/** Notices and Errors **/
.cake-error,
.cake-debug,
.notice,
p.error,
p.notice {
    display: block;
    clear: both;
    background-repeat: repeat-x;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
}

.debug{ padding: 20px 40px 40px;}

.cake-debug,
.notice,
p.notice {
    color: #000000;
    background: #ffcc00;
}

.cake-error,
p.error {
    color: #fff;
    background: #C3232D;
}

pre {
    background: none repeat scroll 0% 0% #FFF;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin: 15px 0px;
    color: rgba(0, 0 ,0 , 0.74);
    padding:5px;
}

.cake-error .cake-stack-trace {
    margin-top:10px;
}

.cake-stack-trace code {
    background: inherit;
    border:0;
}

.cake-code-dump .code-highlight {
    display: block;
    background-color: #FFC600;
}

.cake-error a,
.cake-error a:hover {
    color:#fff;
    text-decoration: underline;
}

.checks {
    padding:30px;
    color: #626262;
    background-color: #B7E3EC;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-bottom: 2em;
}

.checks h4 {
    margin-bottom: 1.5rem;
}

.checks hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.checks .success,
.checks .problem {
    margin-left: 10px;
}
.checks .success:before,
.checks .problem:before {
    line-height: 0px;
    font-size: 28px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
}

.checks .success:before {
    content: "✓";
    color: green;
    margin-right: 9px;
}

.checks .problem:before {
    content: "✘";
    color: red;
    margin-right: 9px;
}

.top-bar.expanded .title-area {
    background: #00465B;
}

.top-bar.expanded, .top-bar,.top-bar-section ul li,.top-bar-section li:not(.has-form) a:not(.button) {
    background: var(--top-bar-bg);
    transition:0.2s ease-in-out;
}

top-bar input, .top-bar select, .top-bar .button, .top-bar button {
    top: 0;
}

.top-bar-section .loged-user {

}

.top-bar-section li:not(.has-form) a:not(.button):hover {
    background-color: var(--primary-headline);
    background: var(--primary-headline);
}

.side-nav li.heading {
    color: #00465B;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.4375rem 0.875rem;
}

#actions-sidebar {
    background: var(--menu-bg);
    border-right: 1px solid var(--menu-right-border);
    box-shadow: 0px 0px 13px 0px #00000052;
    z-index: 10;
    position: fixed;
    height:calc(100% - 45px);
    overflow: auto;

    padding-left: 8px;
    padding-right: 8px;
}

#actions-sidebar hr {
    margin: 5px 0 5px 10px;
    border-color: #EFEFEF;
}

.index table {
    margin-top: 0rem;
    border: 0;
    width: 100%;
    table-layout: fixed;
}

table {
    background: #fff;
    margin-bottom: 1.25rem;
    border: none;
    /* table-layout: fixed; */
    width: 100%;
}

table thead {
    background: none;
}

table tr {
    border-bottom: 1px solid #ebebec !important;
}

table thead tr {
    border-bottom: 1px solid #1798A5;
}

table tr th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #1B6D85;
    text-align: left;
    /* border-bottom: 2px solid #1B6D85; */
}

table tr:nth-of-type(even) {
    background: var(--table-tr-even-bg);
}

table tbody tr td, table tr td {
    line-height: 18px;
    word-break: normal;
}

table tr td ul,
table tr td ol {
    margin-bottom: 0;
}
table tr td ul,
table tr td ul li,
table tr td ol,
table tr td ol li {
    line-height: 1.4;
    font-size: 11px;
}
table tr td ul li,
table tr td ol li {
    margin-bottom: 10px;
}

table tbody tr.inactive td {
    color: #999;
}
table tbody tr.inactive td.red {
    color: #9c3328;
}
table tbody tr.inactive td img {
    opacity: 0.5;
}

fieldset {
    border: none;
    padding: 0; /*0.8rem;*/
    margin:0;
}

fieldset legend {
    border-bottom: 2px solid #1798A5;
    width: 100%;
    line-height: 2rem;
}

.form button[type="submit"] {
    float: right;
    text-transform: uppercase;
    box-shadow: none;
}

.form button:hover, .form button:focus {
    background: var(--primary-headline);
    box-shadow: none;
}

button, .btn.btn-lg {
    background: var(--primary);
    padding: 0.6rem 2rem 0.6rem 2rem;
    outline:none;
    border:none;
    border-radius:25px;
}

.center{
    text-align: center;
}
.center-buttons{
    padding-top:15px;
}
.btn.btn-lg{ font-size: 1rem; }
.btn.btn-sm{
    font-size: 0.8rem;
    padding: 0.4rem 1rem 0.4rem 1rem;
}
.btn-secondary{
    background: var(--secondary-button);
    color: #000;
}

div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 10px 20px;
    transition: height 300ms ease-out 0s;
    background-color: #B5D4D8;
    color: #009BAF;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    line-height: auto;
    position: absolute;
    border-radius: 10px;
}

div.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    background-color: #FFF;
    padding: 12px 14px 12px 10px;
    content: "i";
    color: #a0d3e8;
}

div.message.error {
    background-color: #C3232D;
    color: #FFF;
    padding-left: 40px;
}

div.message.error:before {
    content: "x";
    left: 6px;
    width: 24px;
    line-height: 22px;
    height: 24px;
    color: #c3232d;
    text-align: center;
    padding: 0;
    position: absolute;
}
div.message.hidden {
    display: none;
}

div.message.success {
    background-color: #e3fcec;
    color: #1f9d55;
    padding-left: 40px;
}

div.message.success:before {
    content: "x";
    left: 6px;
    width: 24px;
    line-height: 22px;
    height: 24px;
    color: #1f9d55;
    text-align: center;
    padding: 0;
    position: absolute;
}

div.message.warning {
    background-color: #FFC107;
    color: #000000;
    padding-left: 40px;
    margin-top: 55px;
}

div.message.warning:before {
    content: "x";
    left: 6px;
    width: 24px;
    line-height: 22px;
    height: 24px;
    color: #FFC107;
    text-align: center;
    padding: 0;
    position: absolute;
}

.vertical-table th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #1798A5;
    border: none;
    text-align: left;
}

.vertical-table {
    vertical-align: middle;
}

.vertical-table td {
    text-align: right;
}

.content {
    background:#fbfbfb;
    padding: 2rem;
}

/* Use 'one true layout' methods to get equal height columns */
.container {
    overflow: hidden;
    min-height: 100%; /* full height almost always */
}

/* Force equal height by overflowing */
.content{
    margin-bottom: -99999px;
    padding-bottom: 99999px;

}
@media(max-width: 640px) {
    #actions-sidebar {
        padding-bottom: 2rem;
        margin-bottom: 0;
    }
}

.content h3 {
    color: var(--primary-headline);
    padding-bottom: 0.5rem;
    margin-bottom: 10px;
    font-weight:bold;
}

.content h4 {
    color: var(--primary-headline);
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-headline);
}

.content .related h4 {
    color: var(--primary-headline);
    padding-bottom: 0.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 0px;
}

.content h5 {
    padding-bottom: 0.5rem;
    margin-bottom: 10px;
}

.content h5.h3padding{
    padding-bottom: 15px;
    margin-bottom: 10px;
    padding-top: 6px;
}

table td {
    vertical-align: top;
    word-break: break-word;

}

.w-20px {
    width: 20px;
}
.w-60px {
    width: 60px;
}
.w-80px {
    width: 80px;
}
.w-90px {
    width: 90px;
}
.w-100px {
    width: 100px;
}
.w-120px {
    width: 120px;
}
.w-140px {
    width: 140px;
}
.w-180px {
    width: 180px;
}
.w-200px {
    width: 200px;
}
.w-250px {
    width: 250px;
}
.w-500px {
    width: 500px;
}

.compactForm{ max-width: 600px; }
.mediumForm{ max-width: 800px; }

.d-none {
    display: none;
}

.header-actions{
    /*float:right;*/
    position: relative;
    top:-7px;
    text-transform: uppercase;
}

.header-actions .btn{
    margin-left:10px;
    padding:6px 8px 5px
}

#sortable tr {
    /* background: #ffffff; */
}
#sortable .handle {
    cursor: grab;
    background: transparent;
    text-align: center;
    vertical-align: middle;
    padding-left: 3px;
    padding-right: 3px;
}
#saveSortable {
    position: relative;
}

.relative {
    position: relative;
}

.hidden {
    display: none;
}

.to-right{
    text-align: right;
}

td.actions, th.actions{
    text-align: right;
}
td.actions a, a.btn, tbody a, table .btn, .headline-buttons .btn, .headline-buttons a, .small-button {
    padding: 3px 8px;
    border-radius: 5px;
    background: #1b6d85;
    color: #fff !important;
    font-size: 11px;
    margin-left: 2px;
    margin-bottom: 2px;
    margin-top: 2px;
    display: inline-block;
}

td.actions a.admin_only{ display: none; }
body.isAdmin td.actions a.admin_only{ display: inline-block; }

.btn-red, a.btn-red{
    background: var(--red);
}

td.actions a, td.actions a.bgColorRed{
    padding: 3px 5px 2px;
    font-size: 16px;
    background: #efefef;
    color: #1b6d85 !important;
    margin-bottom: 5px;
    margin-top: 5px;
}

.icon-in-table{
    cursor:pointer;margin-right:10px;display:inline-block; font-size:20px
}

td.actions a.text{ font-size: 12px; }

td.actions a:hover{
    background: #efefef;
    color: #fff !important;
}


td.actions a.bgColorRed{
    background: #efefef !important;
    color: #A80000 !important;
}


td.actions a.bgColorRed:hover{
    background: #A80000 !important;
    color: #fff !important;
}



tbody a.mail, tbody a.link, tbody td a{
    padding: 0;
    border-radius: 0px;
    background: none;
    color:#009BAF !important;
    font-size: 11px;
    margin:0;
    display: inline-block;
}

tbody td a.link, tbody a.link{
    font-size:12px;
}

tbody a.mail:hover,
tbody a.link:hover,
tbody tr td a:hover{
    text-decoration: underline;
}

td.actions a:hover,  a.btn:hover, .headline-buttons a:hover, .small-button {
    background: #00465B;
    text-decoration: none;
}

table tbody tr.activeRow{
    background: #e7ffdd;
}

.ajaxForm button {
    margin-top: 0;
}
.ajaxForm .smallSelect {
    padding: 3px 20px 3px 3px;
    height: 24px;
    font-size: 12px;
}

.info{
    display: block;
    padding: 15px;
    border-radius: 5px;
    margin: 0px 0 20px 0;
    background: var(--info-box-bg);
    color: var(--info-box-color);
    font-size: 13px;
}

.msg.error {
    display: block;
    padding: 15px;
    border-radius: 5px;
    margin: 0px 0 20px 0;
    background: #fdedea;
    color: #b93434;
    font-size: 13px;
    border: 1px solid #b93434;
}

.pulsing {
    background-color: #F09E2B;
    animation-name: color;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.top-bar-section ul li a.active{
    background: #00465b !important;
}

.top-bar-section li .side-nav{
    background: #1B6D85;
    display: none;
    position: absolute;
    max-width:300px;
    z-index: 3;
}
.top-bar-section li .side-nav li{
    margin-bottom: 0;
    float: none;
    display: block;
    color: #fff;
}
.top-bar-section li .side-nav li a{
    color: #fff;
}
.top-bar-section li .side-nav .heading{ display: none; }

.top-bar-section li:hover .side-nav{
    display: block;
}

.alert-block{
    padding: 10px 20px;
    background: #eaffff;
    border: 1px solid #009baf;
    margin-bottom: 20px;
    border-radius: 8px;
}

.alert-block.alert-header{
    margin:20px;
    background: #FDD2D2;
    border-color: darkred;
    color: darkred;
}

.alert-block.alert-warning{
    background: #FDD2D2;
    border-color: darkred;
    color: darkred;
}

.alert-message{
    color: #B82732;
    margin-bottom: 10px;
}



.alert-block ul{
    margin-top: 5px;
    margin-bottom: 5px;
}

.valid-tips{
    font-size:12px;
    color:#A80000;
    text-align: center;
}
.valid-tips.ui-state-highlight{
    border:none !important;
}

.bgColorRed {
    background-color: #A80000 !important;
}

.tree {
    padding-top: 20px;
    padding-bottom: 20px;
}
.tree .tree-item {
    padding: 5px;
    font-size: 12px;
}
.tree .tree-item .btn {
    margin-right: 2px;
}

@keyframes color {
    0% {
        background-color: #F09E2B;
    }
    50% {
        background-color: #007095;
    }
    100% {
        background-color: #F09E2B;
    }
}

.dropzone {
    border: 3px dashed #0099ff;
}
.dropzone .dz-message {
    margin: 20px 0;
}
.dropzone .dz-message .dz-button {margin: 0}

.mb-15{ margin-bottom: 15px !important; }

.input.checkbox{
    margin-bottom:15px;
}
.settings .value-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
}
.settings .value-wrapper label {
    font-weight: bold;
}

.sign-in-panel .main-box-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
}
.sign-in-panel .main-box-container .login {
    padding-top: 100px;
}

.upload-wrapper {
    padding-top: 20px;
}

.control-row{
    display: flex;
    flex-direction: row;
    gap: 15px;
    position: relative;
}

.control-row .btn{
    min-width: 140px;
    font-size: 14px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    height: 38px;
    margin: 0;
}
.control-row .btn .loading-icon{
    display: none;
}

.control-row .btn.loading .loading-icon{
    display: block;
    position: absolute;
    right: 8px;
    top: 12px;
    font-size: 14px;
}

.control-row .result-icon{
    display: none;
    font-size: 24px;
    position: absolute;
    right: -34px;
    top: 3px;
}

.result-icon.result-success{
    color: var(--green);
}

.result-icon.result-error{
    color: var(--red);
}

.square-holder .square {
    display: inline-block;
    width: 20px;
    border-width: 2px;
    border-style: solid;
    height: 10px;
    margin-left: 10px;
}
.stats #question {
    margin-bottom: 0;
}

.table-scroll {
    width: 100%;
    overflow-x: scroll;
}

.table-scroll table {
    min-width: 2400px;
}
.singleVideoAdm {
    display: inline-block;
    width: auto; /* Szerokość będzie automatycznie dopasowywana */
    margin: 10px;
    text-align: center;
    position: relative;
}
.singleVideoAdm .imgVideoContainer {
    display: inline-block;
    width: 100%;
    background-color: #eeeeee;
    border-radius: 8px;
    overflow: hidden;
}

/* Stylowanie obrazu wideo */
.video-thumbnail {
    width: auto; /* Szerokość będzie dopasowywana do proporcji obrazu */
    height: 150px; /* Ustawienie stałej wysokości dla wszystkich miniatur */
    object-fit: cover; /* Obrazek wypełnia kontener, zachowując proporcje */
    /* border-radius: 8px; Zaokrąglenie rogów */
    transition: transform 0.3s ease; /* Dodanie płynnej animacji powiększenia */
}

/* Powiększenie obrazu po najechaniu */
.video-thumbnail:hover {
    transform: scale(1.1); /* Powiększenie obrazu */
}

/* Styl dla tytułu wideo */
.videoTitle {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #333; /* Kolor tekstu */
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Zapobieganie przepełnieniu tytułu */
}

/* Zapewnienie odpowiedniego odstępu dla elementów */
.upload-wrapper {
    padding: 20px;
}

.allVideosResults {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.allVideosResults li {
    display: inline-block;
    margin-right: 20px;
}

.form-container {
    display: flex;
    align-items: stretch;
    gap: 20px; /* Odstęp między formularzem a podglądem */
}

.compactFormFlex{
    max-width: 600px;
    flex: 1;
}

.qr-preview-box {
    flex: 1;
    border: 1px solid #ccc;
    margin: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.qr-preview {
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-preview p {
    margin: 0;
}

.qr-image {
    max-width: 100%;
    max-height: 100%;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

.qr-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.qr-buttons button {
    padding: 10px 15px;
    font-size: 15px;
}

.qr-buttons a {
    display: inline-block;
    margin: 5px 10px;
}

.removeImage {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: red;
    font-size: 20px;
    cursor: pointer;
}

.removeImage:hover {
    color: darkred;
}

.qr-preview-box button.disabled:hover::after {
    content: attr(title);
    position: absolute;
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/*stylowanie formularza jako przycisku w widokach zwiazanych z qrkodami*/

.qrcodes .header-actions form {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.qrcodes .header-actions form .btn.action {
    padding: 8px 10px 7px;
    border-radius: 5px ;
    background: #1b6d85 ;
    color: #fff ;
    font-size: 11px ;
    margin-left: 10px ;
    margin-bottom: 2px;
    margin-top: 2px;
    display: inline-block ;
    text-decoration: none ;
    border: none ;
    font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !important;
    font-weight: bold ;
    text-transform: uppercase;

}
.header-actions form .btn.action:hover {
    background: #00465B ;
}


