.inputerror {
    color: #212529;
    background-color: #fcdde1;
    border-color: #f25767;
    outline: 0;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* Font Size */
.text-1 {
    font-size: .5em !important;
}

.text-2 {
    font-size: .7em !important;
}

.text-3 {
    font-size: .8em !important;
}

.text-4 {
    font-size: 1.0em !important;
}

.text-5 {
    font-size: 1.2em !important;
}

.text-6 {
    font-size: 1.5em !important;
}

.text-7 {
    font-size: 1.8em !important;
}

.text-8 {
    font-size: 2em !important;
}

.text-9 {
    font-size: 2.30em !important;
}

.text-10 {
    font-size: 2.5em !important;
}

.text-11 {
    font-size: 3em !important;
}

.text-12 {
    font-size: 3.5em !important;
}

.text-13 {
    font-size: 4em !important;
}

.text-14 {
    font-size: 4.5em !important;
}

.text-15 {
    font-size: 5em !important;
}



.feature-tab-list-3 li a {
    border: 2px solid rgba(13, 110, 253, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--bs-font-monospace);
    color: var(--body-color);
    margin-right: 15px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* line 2405, src/assets/scss/custom/_style.scss */
.feature-tab-list-3 li a:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

/* line 2410, src/assets/scss/custom/_style.scss */
.feature-tab-list-3 li a.active {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-color: var(--bs-primary);
}

/* line 2415, src/assets/scss/custom/_style.scss */
.feature-tab-list-3 li:last-child a {
    margin-right: 0;
}

@media (min-width: 320px) and (max-width: 767px) {
    /* line 2419, src/assets/scss/custom/_style.scss */
    .feature-tab-list-3 {
        -webkit-box-pack: start !important;
        -ms-flex-pack: start !important;
        justify-content: start !important;
    }
    /* line 2422, src/assets/scss/custom/_style.scss */
    .feature-tab-list-3 li {
        margin: 5px 0;
    }
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.float-none {
    float: none !important;
}

@media (min-width: 576px) {
    .float-sm-left {
        float: left !important;
    }
    .float-sm-right {
        float: right !important;
    }
    .float-sm-none {
        float: none !important;
    }
}

@media (min-width: 768px) {
    .float-md-left {
        float: left !important;
    }
    .float-md-right {
        float: right !important;
    }
    .float-md-none {
        float: none !important;
    }
}

@media (min-width: 992px) {
    .float-lg-left {
        float: left !important;
    }
    .float-lg-right {
        float: right !important;
    }
    .float-lg-none {
        float: none !important;
    }
}

@media (min-width: 1200px) {
    .float-xl-left {
        float: left !important;
    }
    .float-xl-right {
        float: right !important;
    }
    .float-xl-none {
        float: none !important;
    }
}


.btn-group-xs > .btn,
.btn-xs {
    padding: 0.1rem 0.1rem;
    font-size: 0.475rem;
    border-radius: 0.2rem;
}


.alert .inner {
    display: block;
    padding: 12px;
    margin: 0px;
    border-radius: 3px;
    border: 1px solid rgb(180,180,180);
    background-color: rgb(212,212,212);
}

.alert .close {
    float: right;
    margin: 3px 12px 0px 0px;
    cursor: pointer;
}

.alert .inner,.alert .close {
    color: rgb(88,88,88);
}

.alert input {
    display: none;
}

.alert input:checked ~ * {
    animation-name: dismiss,hide;
    animation-duration: 300ms;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-delay: 0s,100ms;
}

.alert.error .inner {
    border: 1px solid rgb(238,211,215);
    background-color: rgb(242,222,222);
}

.alert.error .inner,.alert.error .close {
    color: rgb(185,74,72);
}

.alert.success .inner {
    border: 1px solid rgb(214,233,198);
    background-color: rgb(223,240,216);
}

.alert.success .inner,.alert.success .close {
    color: rgb(70,136,71);
}

.alert.info .inner {
    border: 1px solid rgb(188,232,241);
    background-color: rgb(217,237,247);
}

.alert.info .inner,.alert.info .close {
    color: rgb(58,135,173);
}

.alert.warning .inner {
    border: 1px solid rgb(251,238,213);
    background-color: rgb(252,248,227);
}

.alert.warning .inner,.alert.warning .close {
    /*color: rgb(192,152,83);*/
    /*color: rgb(58,135,173);*/
    color: #664d03;
}

@keyframes dismiss {
    0% {
        opacity: 1;
    }
    90%, 100% {
        opacity: 0;
        font-size: 0.1px;
        transform: scale(0);
    }
}

@keyframes hide {
    100% {
        height: 0px;
        width: 0px;
        overflow: hidden;
        margin: 0px;
        padding: 0px;
        border: 0px;
    }
}

.btn-xsm {
    padding: 0.2rem 0.65rem;
    font-size: 0.675rem;
    line-height: 1.5;
}

.hidden {
    display: none;
}

.highlighted-span {
    background: yellow;
}

.close-modalbtn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 2.5rem; /* wielkość krzyżyka */
    color: #071c4d; /* kolor ikony */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.close-modalbtn:hover {
    color: #ff0000; /* efekt hover */
}

.feature-tab-list-2 {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.feature-tab-list-2 .nav-item {
    margin: 5px;
}

.feature-tab-list-2 .nav-link {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 6px;
    background: #f8f9fa;
    color: #333;
    font-weight: 500;
}

.feature-tab-list-2 .nav-link.active {
    background: #007bff;
    color: #fff;
}


/* Przyciski hero */
.hero-search-btn {
    font-size: 1.3rem;
    padding: 14px 36px;
    border-radius: 0.25rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}
.hero-search-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 123, 255, 0.45);
    background-color: #0056b3;
}

/* Pulsująca lupa – subtelniej */
.pulse-icon {
    display: inline-block;
    animation: pulse 1.6s infinite;
    transform-origin: center;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.75; }
    100% { transform: scale(1); opacity: 1; }
}

/* Input w modalu */
#modalSearchInput {
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
#modalSearchInput:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Lista wyników */
#suggestions .list-group-item {
    border: none;
    border-bottom: 1px solid #dee2e6;
    padding: 16px 18px;
    transition: background-color 0.2s ease;
}
#suggestions .list-group-item:hover {
    background-color: #e9f5ff;
}

/* Tagi gatunków */
#suggestions .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    background-color: #d1f4e4;
    color: #198754;
    font-weight: 600;
    border-radius: 0.35rem;
}


.custom-search-modal-wrapper {
    display: none;
    position: fixed;
    z-index: 1050;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.5);
}

@media (min-width: 992px) {
    .custom-search-box {
        background: #fff;
        border-radius: 8px;
        padding: 40px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }
}

searchmark {
    background-color: yellow;
    font-weight: bold;

}

/* Wrapper dla tooltipa na nieaktywnym przycisku */
#submit-wrapper .btn.disabled {
    pointer-events: none;
}

/* ===================================
   Hamburger - Menu z pliku main.css
   =================================== */

/* === Ikony flaticon – font + mapa znaków (z main.css) === */

/* 1. Font z ikonami flaticon_quiety */
@font-face {
    font-family: "flaticon_quiety";
    src: url("../fonts/flaticon_quiety.ttf") format("truetype"),
    url("../fonts/flaticon_quiety.woff") format("woff"),
    url("../fonts/flaticon_quiety.woff2") format("woff2"),
    url("../fonts/flaticon_quiety.eot") format("embedded-opentype"),
    url("../fonts/flaticon_quiety.svg") format("svg");
}

/* 2. Każda ikona flaticon_* używa tego fontu */
i[class^=flaticon-]:before,
i[class*=" flaticon-"]:before {
    font-family: flaticon_quiety !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 3. Konkretnie hamburger – .flaticon-menu */
/*.flaticon-menu:before {*/
/*    content: "\f10d"; !* dokładnie ten kod znakowy z flaticon_quiety *!*/
/*}*/

.flaticon-menu:before {
    content: "≡" !important;     /* zwykły znak, zero zależności od fontu */
    font-family: inherit !important;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
}




/* ===================================
   Menu Profilowe - OSTATECZNA POPRAWKA
   =================================== */

/* 1. Usuwa ramkę focus z GŁÓWNEGO PRZYCISKU (ikony) */
.navbar .action-btns .dropdown .btn:focus,
.navbar .action-btns .dropdown .btn:active,
.navbar .action-btns .dropdown .btn:focus-visible {
    box-shadow: none !important;
    outline: 0 !important;
    /* Zapobiega zmianie koloru tła przycisku po kliknięciu */
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

/* 2. Usuwa ramkę focus z LINKÓW WEWNĄTRZ menu */
/* Używamy .dropdown-item (zakładając, że dodałeś je do HTML tak jak w ostatniej instrukcji) */
.action-btns .dropdown-menu .dropdown-item:focus,
.action-btns .dropdown-menu .dropdown-item:active,
.action-btns .dropdown-menu .dropdown-item:focus-visible {
    box-shadow: none !important;
    outline: 0 !important;
    /* Użyj standardowego tła Bootstrapa dla :focus */
    background-color: #e9ecef !important;
    color: var(--body-color) !important; /* */
}

/* 3. Poprawia styl :hover dla spójności */
.action-btns .dropdown-menu .dropdown-item:hover {
    background-color: #e9ecef !important; /* */
    color: var(--body-color) !important; /* */
}

/* 4. Poprawia kolor ikon wewnątrz menu */
.action-btns .dropdown-menu .dropdown-link span i {
    color: var(--bs-primary); /* */
}




/* === HAMBURGER – WIDOCZNY PRZY BIAŁYM TLE (AFFIX) === */

/* 1) Wymuś ciemny kolor ikony w stanie affix (białe tło) */
.navbar.sticky-header.affix .navbar-toggler .flaticon-menu,
.navbar.sticky-header.affix .navbar-toggler .flaticon-menu:before {
    color: var(--bs-gray-700) !important; /* czytelny grafit */
}

/* 2) Interakcje – na hover/focus przełącz na kolor brand */
.navbar.sticky-header.affix .navbar-toggler:hover .flaticon-menu,
.navbar.sticky-header.affix .navbar-toggler:focus .flaticon-menu,
.navbar.sticky-header.affix .navbar-toggler:hover .flaticon-menu:before,
.navbar.sticky-header.affix .navbar-toggler:focus .flaticon-menu:before {
    color: var(--bs-primary) !important;
}

/* 3) Obramowanie przycisku – delikatne na białym tle */
.navbar.sticky-header.affix .navbar-toggler {
    border-color: var(--bs-gray-300) !important;
}

/* 4) Gdyby zmienne .navbar-dark „przebijały” – wyzeruj je w affix */
.navbar.sticky-header.affix {
    --bs-navbar-color: var(--bs-gray-700);
    --bs-navbar-hover-color: var(--bs-primary);
    --bs-navbar-toggler-border-color: var(--bs-gray-300);
}


.navbar .navbar-toggler .flaticon-menu:before {
    content: "≡" !important;
    font-family: inherit !important;
    color: red !important;
    font-size: 30px !important;
}


/* ============================================================
   POPRAWKA POZYCJI MENU UŻYTKOWNIKA (PRAWY GÓRNY RÓG)
   ============================================================ */

/* Resetujemy globalne centrowanie tylko dla menu w sekcji action-btns */
.action-btns .dropdown-menu {
    left: auto !important;          /* Wyłączamy centrowanie (left: 50%) */
    right: 0 !important;            /* Przyklejamy menu do prawej krawędzi przycisku */
    transform: none !important;     /* Usuwamy przesunięcie, które centrowało menu */
    margin-top: 15px !important;    /* Opcjonalnie: mały odstęp od ikonki, żeby ładniej wyglądało */
}

/* Dodatkowe zabezpieczenie, aby strzałeczka (jeśli jest w css) też się przesunęła */
.action-btns .dropdown-menu::before {
    left: auto !important;
    right: 15px !important;         /* Ustawiamy "dzióbek" menu nad ikonką */
    transform: none !important;
}