.gradient-bg {
    background-color: rgba(52, 100, 172, 1);
    background-image: linear-gradient(90deg, rgba(52, 100, 172, 1) 0%, rgba(58, 120, 186, 1) 33%, rgba(62, 135, 198, 1) 66%, rgba(67, 153, 211, 1) 100%);
}
.gradient-button{
    background-color: rgba(52, 100, 172, 1);
    background-image: linear-gradient(90deg, rgba(52, 100, 172, 1) 0%, rgba(58, 120, 186, 1) 33%, rgba(62, 135, 198, 1) 66%, rgba(67, 153, 211, 1) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    transition: background 0.3s ease-in-out, transform 0.1s ease;
}
.gradient-button:hover {
    background: linear-gradient(90deg, #4399d3 0%, #3464AC 100%);
    color: white;
    transform: translateY(-1px);
}
.gradient-button:focus {
    background: linear-gradient(90deg, #3464AC 0%, #4399d3 100%);
    color: white;
    box-shadow: none;
}
.gradient-outline-button{
    background: transparent;
    border: 2px solid transparent;
    border-radius: 10px;
    border-image: linear-gradient(90deg, rgba(52, 100, 172, 1) 0%, rgba(67, 153, 211, 1) 100%) 1;
    color: rgba(52, 100, 172, 1);
    transition: all 0.3s ease-in-out;
}
.gradient-outline-button:hover {
    border-image: linear-gradient(90deg, rgba(52, 100, 172, 1) 0%, rgba(58, 120, 186, 1) 33%, rgba(62, 135, 198, 1) 66%, rgba(67, 153, 211, 1) 100%) 1;
    background-color: rgba(52, 100, 172, 1);
    background-image: linear-gradient(90deg, rgba(52, 100, 172, 1) 0%, rgba(58, 120, 186, 1) 33%, rgba(62, 135, 198, 1) 66%, rgba(67, 153, 211, 1) 100%);
    color: white;
}
.gradient-outline-button:focus {
    background-color: rgba(52, 100, 172, 1);
    background-image: linear-gradient(90deg, rgba(52, 100, 172, 1) 0%, rgba(58, 120, 186, 1) 33%, rgba(62, 135, 198, 1) 66%, rgba(67, 153, 211, 1) 100%);
    color: white;
    box-shadow: none;
}
.reject-button{
    background:#eee;
    border:none;
    color:#222;
    padding:7px 18px;
    border-radius:0px;
    font-weight:500;
    cursor:pointer;
}
.reject-button:hover{
    background:#ddd;
}
.reject-button:focus{
    background:#ddd;
    box-shadow:none;
}
.primary-color-text {
    color: #3685D2;
}
body, html {
    background-image: url("../img/logowanie-bg.png");
    box-sizing: border-box;
    height: 100%;
    overflow-x: hidden;
}
.bg-loginform {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 25px;
    max-width:680px;
    padding:80px;
}
.logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
}
#loginMessage .alert {
    font-size: 0.9rem;
    margin-bottom: 0;
}
a {
    color: #3685D2;
    text-decoration: none;
}
.input-group {
    transition: all 0.3s ease;
}
.input-group.border:focus-within {
    border-color: #3685D2 !important;
    box-shadow: 0 0 0 0.2rem rgba(67, 153, 211, 0.25) !important;
}
    
/* Cookies */

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}
.switch input {display:none;}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc;
    transition: .3s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
    input:checked + .slider {
    background: linear-gradient(90deg, #3464AC 0%, #4399d3 100%);
}
    input:checked + .slider:before {
    transform: translateX(20px);
}
    input:disabled + .slider {
    background: linear-gradient(90deg, #3464AC 0%, #4399d3 100%);
    cursor: not-allowed;
}
/* Mobilka */
@media (max-width: 767.98px) {
    body, html {
        background: linear-gradient(90deg, #3464AC 0%, #4399d3 100%) !important;
        height: 100% !important;
        min-height: 100vh !important;
        margin: 0;
        padding: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }

    .main-container {
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: clamp(12px, 6vh, 48px) 0 0 0;
    }
    .banner-link {
        position: fixed;
        left: 0;
        right: 0;
        bottom: max(15px, env(safe-area-inset-bottom));
        z-index: 999;
        display: block;
    }
    .logo-img {
        max-width: 160px;
    }

    @supports (height: 100dvh) {
        body, html { min-height: 100dvh !important; }
    }
    @supports (height: 100svh) {
        body, html { min-height: 100svh !important; }
    }
    .row {
        min-height: unset !important;
        margin-bottom: 0 !important;
    }
    .bg-loginform {
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 25px !important;
        padding: 20px !important;
        margin: 0 !important;
    }
    .form-col-mobile {
        align-items: flex-start !important;
        padding-top: 0 !important;
    }
    .gradient-bg {
        background: none !important;
    }
    .logos-mobile {
        display: flex !important;
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }
    .info-mobile {
        display: flex !important;
    }
    .logos-desktop {
        display: none !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
}
@media (min-width: 768px) {
    .main-container {
        /* Usuń flex properties dla większych ekranów */
        display: block;
    }
    .logos-mobile {
        display: none !important;
    }
    .logos-desktop {
        display: flex !important;
    }
    .row {
        min-height: 100vh !important;
    }
}