 /* Zwiększona dostępność - większe elementy klikalny, lepszy kontrast */
 :root {
     --primary-color: #0056b3;
     --secondary-color: #28a745;
     --danger-color: #dc3545;
     --warning-color: #ffc107;
     --dark-color: #343a40;
     --svg-color: #0056b3;
     --svg-bgcolor: #ffffff;
 }

 #addrMaail a {
     color: whitesmoke;
 }

 .zebraCol {
     background-color: bisque;
 }


 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     line-height: 1.6;
     color: #212529;
 }

 .story p,
 .story ul li {
     font-size: 1.2rem;
 }

 /* Zwiększone rozmiary przycisków dla lepszej dostępności */
 .btn {
     min-height: 44px;
     padding: 12px 20px;
     font-size: 16px;
     border-radius: 8px;
     font-weight: 600;
 }

 .btn-lg {
     min-height: 54px;
     padding: 16px 28px;
     font-size: 18px;
 }

 .lead {
     font-size: 1.2rem;
 }

 .leadGame {
     border-left: 3px solid #4a7ddc;
     padding-left: 0.5rem;
     min-height: 130px;
 }

 .btn-pulse {
     position: relative;
     box-shadow: 0 0 0px rgb(255, 255, 255);
 }

 .noAdsLogo {
     max-width: 80px;
     min-width: 40px;
     height: auto;
     float: inline-end;
     padding: .5rem;
 }

 .footerLogo {
     max-width: 100px;
     height: auto;
     padding: .5rem;
 }


 .gamesLogo {
     max-width: 200px;
     height: auto;
     float: inline-start;
     padding: .5rem;
     border-radius: 10px;
 }

 .noAdsBigLogo {
     max-width: 300px;
     height: auto;
     float: inline-end;
     padding: .7rem;

 }

 .adsAndSpam {
     max-width: 300px;
     height: auto;
     float: inline-start;
     padding: .5rem;
     border-radius: 15px;
 }

 .img-thumbnailt {
     width: 40%;
     max-width: 320px;
     height: auto;
     float: inline-end;
     padding: .5rem;
     border-radius: 15px;

 }

 .img-thumbnail-start {
     width: 40%;
     max-width: 320px;
     height: auto;
     float: inline-start;
     padding: .7rem;
     border-radius: 15px;
     margin-right: .5rem;
 }


 .img-small {
     width: 200px;
     height: auto;
 }

 .globusInfo>svg {
     width: 20px;
     height: 20px;
 }

 /* Lepszy focus dla osób korzystających z klawiatury */
 .btn:focus,
 .form-control:focus,
 .form-select:focus {
     box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.5);
     border-color: var(--primary-color);
 }

 /* Karty produktów */
 .card-title {
     font-size: 1.14rem !important;
     font-weight: 700;
 }

.card-title-small{
     font-size: 1rem !important;
     font-weight: 700;
}
.contact-btn-small{
    padding: 6px;
    min-height: 30px;
}

 .product-card {
     /*transition: transform 0.2s ease, box-shadow 0.2s ease;*/
     height: 100%;
     /*border: 2px solid #d1d1d1;*/
     border-radius: 20px;
 }
/*
 .product-card:hover {
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 }
*/
 .product-image {
     height: auto;
     max-height: 340px;
     width: 100%;
     background-color: #f8f9fa;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 48px;
     color: #6c757d;
     overflow: hidden;
     /*border-radius: 20px;*/
     border-top-left-radius: 20px;
     border-top-right-radius: 20px;
     position: relative;
     color: white;
 }

 .prefHardware {
     padding: 4px;
     position: absolute;
     bottom: 8px;
     right: 20px;
     color: #9f9f9f;
     font-size: 1rem;
     z-index: 999;
     width: 50px;
     height: auto;
 }


 /* Kategorie z ikonami */
 .category-icon {
     margin-left: auto;
     margin-right: auto;
     width: 105px;
     font-size: 48px !important;
     margin-bottom: 15px;
     color: var(--primary-color);
 }


 /* Ułatwienia nawigacji */
 .skip-link {
     position: absolute;
     top: -40px;
     left: 6px;
     background: var(--primary-color);
     color: white;
     padding: 8px;
     text-decoration: none;
     border-radius: 4px;
     z-index: 1000;
 }

 .skip-link:focus {
     top: 6px;
 }

 .smallMargin {
     margin-bottom: 0px !important;
     margin-left: 2rem;
 }

 @media (max-width: 1000px) {
     .smallMargin {
         margin-bottom: 10px !important;
         padding-right: 30px !important;
         margin-left: 0;
     }
 }

 /* Responsive design */
 @media (max-width: 768px) {
     .navbar-brand {
         font-size: 1.1rem;
     }

     .hero-section h1 {
         font-size: 1.5rem;
     }
 }

 .nav-link {
     color: rgb(255, 255, 255) !important;
 }

 .toast-container {
     pointer-events: none;
 }

 .toast {
     pointer-events: auto;
 }


 /* Wysokie kontrast dla lepszej czytelności */
 /* HIGH-CONTRAST MODE EXTENSION */

 /* Global background and text */
 .high-contrast body,
 .high-contrast .hero-section,
 .high-contrast .grey-section,
 .high-contrast .form-control,
 .high-contrast .form-select,
 .high-contrast .suggestions,
 .high-contrast .toast-body {
     background-color: #000 !important;
     color: #fff !important;
 }

 /* Buttons */
 .high-contrast .btn,
 .high-contrast .btn-light,
 .high-contrast .btn-outline {
     background-color: #000 !important;
     color: #fff !important;
     border: 2px solid #fff !important;
 }

 .high-contrast .btn:hover,
 .high-contrast .btn-light:hover,
 .high-contrast .btn-outline:hover {
     background-color: #222 !important;
     color: #fff !important;
     border-color: #fff !important;
 }

 /* Inputs */
 .high-contrast .form-control,
 .high-contrast .form-select {
     background-color: #000 !important;
     color: #fff !important;
     border: 1px solid #fff !important;
 }

 .high-contrast .form-control::placeholder {
     color: #ccc !important;
     opacity: 1 !important;
 }

 /* Cards */
 .high-contrast .product-card,
 .high-contrast .card,
 .high-contrast .selected-city {
     background-color: #000 !important;
     color: #fff !important;
     border: 2px solid #fff !important;
 }

 .high-contrast .product-image img {
     -webkit-filter: grayscale(100%);
     /* Safari 6.0 - 9.0 */
     filter: grayscale(100%) contrast(200%);
 }


 /* Modal */
 .high-contrast .modal-content {
     background-color: #000 !important;
     color: #fff !important;
     border: 2px solid #fff !important;
 }

 /* Fade overlay */
 .high-contrast .fade-overlay {
     background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%) !important;
 }

 /* Suggestion dropdown */
 .high-contrast .suggestions {
     background-color: #000 !important;
     color: #fff !important;
     border-color: #fff !important;
 }

 .high-contrast .suggestion-item {
     border-color: #444 !important;
     background-color: #000 !important;
     color: #fff !important;
 }

 .high-contrast .suggestion-item:hover,
 .high-contrast .suggestion-item.active {
     background-color: #444 !important;
 }

 .high-contrast .suggestion-details {
     color: #ccc !important;
 }

 /* Icons */
 .high-contrast .category-icon,
 .high-contrast .city-icon,
 .high-contrast .search-icon {
     color: #fff !important;
     filter: brightness(0) invert(1);
     opacity: 1 !important;
 }

 /* Hero Text */
 .high-contrast .hero-content h1,
 .high-contrast .hero-content p,
 .high-contrast .read-more-btn {
     color: #fff !important;
     text-shadow: none !important;
 }

 /* Clear button */
 .high-contrast .clear-btn {
     color: #fff !important;
 }

 .high-contrast .clear-btn:hover {
     color: #ff4444 !important;
 }

 /* Skip link */
 .high-contrast .skip-link {
     background: #000 !important;
     color: #fff !important;
     border: 2px solid #fff !important;
 }

 /* Misc */
 .high-contrast .no-results {
     color: #ccc !important;
 }

 .high-contrast .article-content {
     color: #fff !important;
     background-color: #000 !important;
 }

 .high-contrast .grey-section .stat-number {
     color: #fff !important;
 }

 .high-contrast .form-border {
     border-color: #fff !important;
 }



 .high-contrast,
 .high-contrast .form-text,
 .high-contrast .article-content {
     background-color: #000 !important;
     color: #fff !important;
 }


 .high-contrast .card {
     background-color: #000 !important;
     color: #fff !important;
     border: 2px solid #fff;
 }

 .high-contrast .articles {
     background-color: #fff !important;
     color: #000000 !important;
     border: 2px solid #fff;
 }

 .high-contrast .modal-content {
     background-color: #000 !important;
     color: #fff !important;
     border: 2px solid #fff;
 }

 .article-content {
     padding: 10px !important;
 }


 .grey-section {
     background-color: #f8f9fa;
     padding: 60px 0;
 }

 .stat-item {
     text-align: center;
     padding: 20px;
 }

 .stat-number {
     font-size: 2.5rem;
     font-weight: bold;
     color: var(--primary-color);
 }

 .hero__header {
     width: 100%;
     height: 100%;
     /*background: url('//projektika.org/template/img/HEADER_disabilities.webp') center center no-repeat;*/
     background-size: cover;
     z-index: 10;
 }

 .header-overlay {
     position: absolute;
     /*background-color: rgba(53, 88, 153, 0.9);*/
     /*background: url('//projektika.org/template/img/HEADER_disabilities_fill_OK.webp') center center no-repeat;
    background-size: cover;*/
     top: 0;
     left: 0;
     bottom: 0px;
     width: 100%;
 }

 .games-head-section {
     position: relative;
     /*background: linear-gradient(135deg, #0c65ec 0%, #764ba2 100%);*/
     /*linear-gradient(135deg, #667eea 0%, #5992c7 50%, #353ec0 100%);*/
    
     background: linear-gradient(140deg,rgba(12, 0, 176, 1) 10%, rgba(9, 9, 121, 0.8) 56%, rgb(0, 42, 255) 100%);

     color: white;
     padding: 40px 0;
     overflow: hidden;
     display: flex;
     align-items: center;
     min-height: 180px;
 }


 .hero-section,
 .category-head-section {
     position: relative;
     /*background: linear-gradient(135deg, #0c65ec 0%, #764ba2 100%);*/
     background: #0c00b0;
     background: linear-gradient(140deg,rgba(12, 0, 176, 1) 10%, rgba(9, 9, 121, 0.8) 56%, rgba(0, 212, 255, 1) 100%);
 
     /*linear-gradient(35deg, #8093e4 0%, #433e88 50%, #353ec0 100%);*/

     color: white;
     padding: 30px 0;
     overflow: hidden;
     min-height: 250px;
     display: flex;
     align-items: center;
 }

 .hero-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     /*background: linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0%, transparent 90%),
         linear-gradient(60deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
     background-size: 200% 200%;*/
     /*animation: waveLight 35s linear infinite;*/
     z-index: 1;
     pointer-events: none;
     mix-blend-mode: overlay;
 }

 @keyframes waveLight {
     0% {
         background-position: 0% 0%;
     }

     50% {
         background-position: 100% 100%;
     }

     100% {
         background-position: 0% 0%;
     }
 }

 /* category */
 .head-category-icon {
     font-size: 65px;
     margin-bottom: 15px;
     color: white;
     /*var(--primary-color);*/
 }

 .category-head-section {
     min-height: 150px;
     padding: 20px 0 !important;
 }

 .category-text-center-text {
     text-align: left;
 }

 .category-text-center-icon,
 .head-category-icon {
     text-align: right;
     padding-right: 20px;
 }

 @media (max-width: 768px) {

     .category-text-center-text,
     .category-text-center-icon,
     .head-category-icon {
         text-align: center !important;
         padding-right: 0;
     }
 }

 /* Zawartość hero */
 .hero-content,
 .category-head-content {
     position: relative;
     z-index: 10;
     text-align: center;
     max-width: 80%;
     margin: 0 auto;
     padding: 0 20px;
 }

 .hero-content h1 {
     font-size: 2.5rem;
     font-weight: bold;
     margin-bottom: 1.5rem;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
 }

 .hero-content p {
     font-size: 1.25rem;
     margin-bottom: 2rem;
     text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
     line-height: 1.6;
 }

 .hero-buttons {
     display: flex;
     flex-direction: column;
     gap: 1rem;
     align-items: center;
 }

 .btn-light {
     background-color: rgba(255, 255, 255, 0.95);
     color: #333;
     border: 2px solid transparent;
 }

 .btn-light:hover {
     background-color: white;
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
 }

 .btn-outline {
     background-color: transparent;
     color: white;
     border: 2px solid rgba(255, 255, 255, 0.8);
 }

 .btn-outline:hover {
     background-color: rgba(255, 255, 255, 0.1);
     border-color: white;
     transform: translateY(-2px);
 }

 /* Responsive */
 @media (max-width: 768px) {
     .hero-content h1 {
         font-size: 1.3rem;
     }

     .hero-content p {
         font-size: 1rem;
     }

     .hero-section {
         padding: 60px 0;
     }
 }

 @media (min-width: 768px) {
     .hero-buttons {
         flex-direction: row;
         justify-content: center;
     }
 }

 /* Dodatkowe style dla lepszego kontrastu */
 .text-shadow {
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
 }


 .article-content {
     font-size: 1.2rem;
 }

 .collapsedHomeArticle {
     overflow: hidden;
     max-height: 250px;
     height: 250px;
     /* Wysokość dla około 3-4 linii */
 }

 .fade-overlay {
     height: 90px;
     /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+65 */
     background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(248, 249, 250, 1) 45%, rgba(248, 249, 250, 1) 100%);
     /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
     /*background: linear-gradient(transparent, rgba(248, 249, 250, 0.973));*/
     margin-top: -70px;
     margin-bottom: 20px;
     /* transition: opacity 0.3s ease;*/
     z-index: 50;
 }


 .fade-overlay.hidden {
     opacity: 0;
 }

 .read-more-btn {
     background: #007cba;
     color: white;
     border: none;
     padding: 10px 20px;
     border-radius: 5px;
     cursor: pointer;
     font-size: 14px;
     transition: background 0.3s ease;
 }

 .read-more-btn:hover {
     background: #005a87;
 }

 /* widocznosc pola form*/
 .form-border {
     border: 2px solid #0d6efd !important;
 }

 .form-control::placeholder {
     opacity: 0.3 !important;
 }

 .clear-btn {
     position: absolute;
     right: 60px;
     top: 50%;
     transform: translateY(-50%);
     background: none;
     border: none;
     color: #5a2403;
     font-size: 25px;
     cursor: pointer;
     padding: 5px;
     z-index: 10;
     display: none;
 }

 .clear-btn:hover {
     color: #dc3545;
 }


 /***********city liting *****************/

 .input-container {
     position: relative;
     margin-bottom: 20px;
 }


 .search-icon {
     position: absolute;
     right: 15px;
     top: 50%;
     transform: translateY(-50%);
     width: 20px;
     height: 20px;
     opacity: 0.5;
 }

 .loading-spinner {
     position: absolute;
     right: 15px;
     top: 50%;
     transform: translateY(-50%);
     width: 20px;
     height: 20px;
     border: 2px solid #f3f3f3;
     border-top: 2px solid #667eea;
     border-radius: 50%;
     animation: spin 1s linear infinite;
     display: none;
 }

 @keyframes spin {
     0% {
         transform: translateY(-50%) rotate(0deg);
     }

     100% {
         transform: translateY(-50%) rotate(360deg);
     }
 }

 .suggestions {
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     background: white;
     border: 1px solid #e0e0e0;
     border-radius: 12px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     max-height: 300px;
     overflow-y: auto;
     z-index: 1000;
     display: none;
 }

 .suggestion-item {
     padding: 15px;
     cursor: pointer;
     border-bottom: 1px solid #f0f0f0;
     transition: background-color 0.2s ease;
     display: flex;
     align-items: center;
     flex-direction: column;
     align-items: flex-start;
 }

 .suggestion-main {
     display: flex;
     align-items: center;
     width: 100%;
 }

 .suggestion-details {
     font-size: 12px;
     color: #666;
     margin-top: 4px;
     margin-left: 26px;
 }

 .suggestion-item.active .suggestion-details {
     color: rgba(255, 255, 255, 0.8);
 }

 .suggestion-item:last-child {
     border-bottom: none;
 }

 .suggestion-item:hover {
     background-color: #f8f9ff;
 }

 .suggestion-item.active {
     background-color: #667eea;
     color: white;
 }

 .city-icon {
     width: 16px;
     height: 16px;
     margin-right: 10px;
     opacity: 0.6;
 }

 .no-results {
     padding: 20px;
     text-align: center;
     color: #666;
     font-style: italic;
 }

 .selected-city {
     background: linear-gradient(135deg, #4CAF50, #45a049);
     color: white;
     padding: 15px;
     border-radius: 12px;
     margin-top: 20px;
     display: none;
     align-items: center;
 }

 .selected-city .city-icon {
     margin-right: 10px;
     filter: brightness(0) invert(1);
 }

 .info-text {
     font-size: 14px;
     color: #666;
     margin-top: 10px;
     text-align: center;
 }

 .error-message {
     background: #ffebee;
     color: #c62828;
     padding: 10px;
     border-radius: 8px;
     margin-top: 10px;
     display: none;
 }


 /***************************/

 .form-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, 0.9);
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     z-index: 100;
     pointer-events: auto;
 }

 .form-overlay.hidden {
     opacity: 0;
     pointer-events: none;

 }

 section {
     scroll-margin-top: 150px;
     /* wysokość nagłówka */
 }

 html,
 body {
     scroll-behavior: auto !important;
 }

 /* podswietlenie menu*/
 .highlight-item {
     background-color: rgba(255, 193, 7, 0.3) !important;
     animation: fadeHighlight 2s ease-in-out;
 }

 @keyframes fadeHighlight {
     0% {
         background-color: rgba(255, 193, 7, 0.5);
     }

     100% {
         background-color: rgba(255, 193, 7, 0.1);
     }
 }

 .custom-tooltip {
     position: absolute;
     background: rgba(60, 60, 60, 0.9);
     color: white;
     padding: 6px 10px;
     margin-top: 10px;
     border-radius: 6px;
     font-size: 14px;
     pointer-events: none;
     white-space: nowrap;
     z-index: 9999;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
     opacity: 0;
     transition: opacity 0.2s ease, transform 0.2s ease;
     transform: translateY(10px);
     display: none;
 }

 .custom-tooltip.show {
     display: block;
     opacity: 1;
     transform: translateY(0px);
 }


 /* Ulepszona widoczność inputów tekstowych i haseł */
 #loginModalForm input[type="email"],
 #loginModalForm input[type="password"],
 #loginModalForm input[type="text"],
 #registerModal input[type="email"],
 #registerModal input[type="password"],
 #registerModal input[type="text"] {
     border: 2px solid #1b2160 !important;
     /* Ciemna, gruba obwódka */
     outline: none;
     box-shadow: none;
     background-color: #fff;
 }


 /*
 *char counter dla txtarea
 */

 .char-counter-wrapper {
     position: relative;
     display: inline-block;
     width: 100%;
 }

 .char-counter-wrapper textarea,
 .char-counter-wrapper input[type="text"] {
     width: 100%;
     box-sizing: border-box;
     padding-right: 60px;
     font-size: 16px;
 }

 .char-counter {
     position: absolute;
     top: 4px;
     right: 8px;
     font-size: 12px;
     background: rgba(0, 0, 0, 0.6);
     color: white;
     padding: 2px 6px;
     border-radius: 6px;
     pointer-events: none;
     font-family: sans-serif;
     opacity: 0;
     transition: opacity 0.2s;
 }

 .char-counter.visible {
     opacity: 1;
 }

 .char-counter.warn {
     background: rgba(255, 140, 0, 0.85);
 }

 .char-counter.over {
     background: rgba(200, 0, 0, 0.9);
 }

 .custom-icon {
     display: inline-block;
     width: 1.2em;
     height: 1.2em;
     background-image: url('//projektika.org/favicon-32x32.png');
     background-size: contain;
     background-repeat: no-repeat;
     color: white;
     vertical-align: middle;
     filter: invert(1);
 }

 .footer_icon {
     display: inline-block;
     width: 1.4em;
     height: 1.4em;
     background-image: url('//projektika.org/favicon-32x32.png');
     background-size: contain;
     background-repeat: no-repeat;
     color: white;
     vertical-align: middle;
 }

 .wa-btn {
    background-color: #25D366; /* Oficjaln */
    color: #ffffff;
    padding: 10px 10px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    padding-bottom: 1rem;
}

.wa-btn:hover {
    background-color: #128C7E; 
}

.comment-btn{
    background-color: #73076f; /* Oficjaln */
    color: #ffffff;
    padding: 10px 10px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    padding-bottom: 1rem;
    
}

.comment-btn:hover {
    background-color: #a713a2; 
}
.comment-btn svg {
     width: 20px;
     height: 20px;
     fill: white;
 }

.fb-share-btn,
.pinterestShareBtn,
.wa-btn,
.comment-btn{
    position: relative;
    display: inline-block;
    cursor: pointer;
}

 .fb-share-btn {
     background-color: #176cdd;
     color: #fff;
     border: none;
     border-radius: 6px;
     padding: 10px 10px;
     font-size: 15px;
     cursor: pointer;
     transition: background-color 0.2s;
     text-decoration: none;
     padding-bottom: 1rem;
 }

 .fb-share-btn:hover {
     background-color: #104892;
 }

 .fb-share-btn svg {
     width: 20px;
     height: 20px;
     fill: white;
 }

 .pinterestShareBtn {
     color: #fff;
     border: none;
     font-size: 15px;
     background-color: #E60023;
     border-radius: 6px;
     padding: 10px 10px;
     transition: background-color 0.2s;
     text-decoration: none;
     cursor: pointer;
     padding-bottom: 1rem;
 }

 .pinterestShareBtn svg {
     width: 20px;
     height: 20px;
     fill: white;
 }

 .pinterestShareBtn:hover {
     background-color: #b0021c;
 }

 @media (max-width: 500px) {

     .fb-share-btn,
     .wa-btn,
     .pinterestShareBtn,
     .comment-btn {
         padding: 7px 8px;
         font-size: 12px;
         border-radius: 5px;
         padding-bottom: 1rem;
     }

     .fb-share-btn svg,
     .wa-btn svg,
     .pinterestShareBtn svg,
     .comment-btn svg {
         width: 16px;
         height: 16px;
     }
 }

 @media (max-width: 360px) {

     .fb-share-btn,
     .wa-btn,
     .pinterestShareBtn,
     .comment-btn
      {
         padding: 5px 6px;
         font-size: 11px;
     }

     .fb-share-btn svg,
     .wa-btn svg,
     .pinterestShareBtn svg,
     .comment-btn svg {
         width: 14px;
         height: 14px;
     }
 }


 .liInline a {
     display: inline-block;
     padding-right: 0.5rem;
 }

 #navbarNav {
     min-height: 51px;
 }

 /* grupa fa*/
 [class^="fa-"],
 [class*=" fa-"],
 [class^="bi-"],
 [class^="bi "] {
     display: inline-block;
     width: 1em;
     height: 1em;
     background-repeat: no-repeat;
     background-size: contain;
     background-position: center;
     vertical-align: -0.125em;
 }

 .fa-eye {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z'/%3E%3C/svg%3E");
 }

 .fa-eye-slash {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='currentColor' d='M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z'/%3E%3C/svg%3E");
 }

 .fa-box {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M369.4 128l-34.3-48-222.1 0-34.3 48 290.7 0zM0 148.5c0-13.3 4.2-26.3 11.9-37.2L60.9 42.8C72.9 26 92.3 16 112.9 16l222.1 0c20.7 0 40.1 10 52.1 26.8l48.9 68.5c7.8 10.9 11.9 23.9 11.9 37.2L448 416c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 148.5z'/%3E%3C/svg%3E");
 }

 .fa-times {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='currentColor' d='M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z'/%3E%3C/svg%3E");
 }

 .fa-question-circle {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='currentColor' d='M64 160c0-53 43-96 96-96s96 43 96 96c0 42.7-27.9 78.9-66.5 91.4-28.4 9.2-61.5 35.3-61.5 76.6l0 24c0 17.7 14.3 32 32 32s32-14.3 32-32l0-24c0-1.7 .6-4.1 3.5-7.3 3-3.3 7.9-6.5 13.7-8.4 64.3-20.7 110.8-81 110.8-152.3 0-88.4-71.6-160-160-160S0 71.6 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm96 352c22.1 0 40-17.9 40-40s-17.9-40-40-40-40 17.9-40 40 17.9 40 40 40z'/%3E%3C/svg%3E");
 }

 .bi-emoji-smile-fill-train {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(18, 246, 18)' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5M4.285 9.567a.5.5 0 0 1 .683.183A3.5 3.5 0 0 0 8 11.5a3.5 3.5 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.5 4.5 0 0 1 8 12.5a4.5 4.5 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683M10 8c-.552 0-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5S10.552 8 10 8'/%3E%3C/svg%3E");
     color: rgb(15, 190, 15);
 }


 /*****   captcha css.   ******/
 #captcha-canvas {
     display: block;
     width: 100%;
     height: auto;
     border-radius: 8px;
     border: 1px solid #ddd;
     cursor: crosshair;
 }

 #captcha-canvas.done {
     cursor: default;
 }

 #captcha-status {
     font-size: 13px;
     margin-top: 8px;
     min-height: 18px;
     color: #666;
 }

 #captcha-status.ok {
     color: #0F6E56;
     font-weight: 600;
 }

 #captcha-status.err {
     color: #993C1D;
     font-weight: 600;
 }

 .btn-refresh {
     margin-top: 2px;
     font-size: 12px;
     color: #666;
     margin-bottom: 10px;
     background: none;
     border: 1px solid #ddd;
     border-radius: 6px;
     padding: 5px 12px;
     cursor: pointer;
 }

 .btn-refresh:hover {
     background: #f0f0f0;
 }

 .noneStyle {
     color: #000;
     text-decoration: none;
 }

 .noneStyle:hover {
     text-decoration: underline;
 }

 .bgItem {
     color: white;
     background-color: #00000000 !important;
 }

 .noDecorFooter a {
     display: block;
     padding: 15px 15px;
     text-decoration: none;
     color: #fcf8f8;
     transition: all 0.2s ease;
     width: 100%;
     height: fit-content;
     font-size: 1rem;
 }

 .noDecorFooter:hover a {
     background-color: #ebe7e7;
     color: #000000;
 }
.noDecor{
    text-decoration: none;
}

 /***** rating star ******/
 .star-rating-container {
     display:flex;
     align-items: center;
     justify-content: center;
     gap: 2px;
     font-size: 2rem;
     font-weight: bold;
     user-select: none;
 }

 .star {
     color: #ddd;
     transition: color 0.2s ease;
     padding-bottom: 0.4rem;
 }

 .star.filled {
     color: #ffc107;
 }

 .star.interactive {
     cursor: pointer;
 }

 .star.interactive:hover {
     transform: scale(1.1);
 }

 .rating-text {
     margin-left: 4px;
     font-size: 14px;
     color: #666;
     font-weight: 500;
 }

 @media (max-width: 768px) {
     .star-rating-container {
         font-size: 1rem;
     }

     .rating-text {
         margin-left: 4px;
         font-size: 10px;
     }
 }

 .floatEnd {
     float: inline-end;
 }

 .allGamesBtn {
     margin-top: 10px;
     background: #007bff;
     color: white;
     border: none;
     padding: 8px 16px;
     cursor: pointer;
     max-width: 10rem;
     text-decoration: none;
     border-radius: 5px;
 }

 /* more new css */
 .article-collapsible {
     position: relative;
 }

 .article-content {
     max-height: 250px;
     overflow: hidden;
     transition: max-height 0.3s ease-out;
 }

 .article-collapsible.expanded .article-content {
     max-height: none;
 }

 .article-more-btn {
     margin-top: 10px;
     background: #007bff;
     color: white;
     border: none;
     padding: 8px 16px;
     cursor: pointer;
     float: inline-end;
     border-radius: 5px;
 }

 .article-content::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     height: 40px;
     background: linear-gradient(to bottom, transparent, white);
     pointer-events: none;
     opacity: 1;
     transition: opacity 0.3s;
 }

 .expanded .article-content::after {
     opacity: 0;
 }

 .toast-container {
     z-index: 9999;
 }

 .redbold {
     color: red;
     font-weight: bold;
 }

 #add-listing-form {
     position: relative;
 }

 /* Tworzenie tooltop  */
.admin-tooltip::after {
     content: attr(data-tooltip);
     position: absolute;
     bottom: -100%;
     /* Pozycja nad grafiką */
     left: 50%;
     transform: translateX(-50%);
     background-color: #343434;
     color: #fff;
     padding: 6px 10px;
     border-radius: 8px;
     font-size: 1rem;
     white-space: nowrap;
     opacity: 0;
     margin-bottom: 5px;
     pointer-events: none;
     transition: opacity 0.3s ease-in-out;
     z-index: 9999;
 }


 .system-tooltip::after {
     content: attr(data-tooltip);
     position: absolute;
     bottom: 100%;
     /* Pozycja nad grafiką */
     left: 50%;
     transform: translateX(-50%);
     background-color: #343434;
     color: #fff;
     padding: 6px 10px;
     border-radius: 8px;
     font-size: 1rem;
     white-space: nowrap;
     opacity: 0;
     margin-bottom: 5px;
     pointer-events: none;
     transition: opacity 0.3s ease-in-out;
     z-index: 9999;
 }
.admin-tooltip:hover::after,
 .system-tooltip:hover::after {
     opacity: 1;
 }

 .bg-footer-green{
    /*background-color:rgb(0, 77, 0);*/
    background: #0c00b0;
    background: linear-gradient(140deg,rgba(12, 0, 176, 1) 0%, rgba(9, 9, 121, 1) 56%, rgba(0, 212, 255, 1) 100%);
 }

 #lewaLista .list-group-item,
 #prawaLista .list-group-item
 {
    padding: 0 !important;
 }


 /**********************************************/
.box-shadow
{
	-webkit-box-shadow: 0 3px 3px rgba(72,78,85,.6);
	box-shadow: 0 3px 3px rgba(72,78,85,.6);
	-webkit-transition: all .2s ease-out;
	-moz-transition: all .2s ease-out;
	-ms-transition: all .2s ease-out;
	-o-transition: all .2s ease-out;
	transition: all .2s ease-out;
}

.box-shadow:hover
{
	-webkit-box-shadow: 0 20px 40px rgba(72,78,85,.6);
	box-shadow: 0 20px 40px rgba(72,78,85,.6);
	-webkit-transform: translateY(-5px);
	-moz-transform: translateY(-5px);
	-ms-transform: translateY(-5px);
	-o-transform: translateY(-5px);
	transform: translateY(-5px);
}

.gameGrid > .product-image::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  aspect-ratio: 1440 / 320;
  background: var(--svg-bgcolor);
  fill:var(--svg-bgcolor);
  fill-opacity:1;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
}


/* 3. Różne wzory SVG dla kolejnych kart */
/*.svg-after:nth-child(3n+1)::after { */
.row > .col-lg-4:nth-child(4n+1) .product-image::after{
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path style='fill:white;fill-opacity:1' d='M0,256 C433,259 354,227 694,192 C919,169 1034,250 1440,160 V320 H0 Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path d='M0,256 C433,259 354,227 694,192 C919,169 1034,250 1440,160 V320 H0 Z'/></svg>");
} 

.row > .col-lg-4:nth-child(4n+2) .product-image::after{
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path style='fill:white;fill-opacity:1' d='M0,160 C360,320 720,0 1080,160 C1260,240 1350,280 1440,240 V320 H0 Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path style='fill-opacity:1' d='M0,160 C360,320 720,0 1080,160 C1260,240 1350,280 1440,240 V320 H0 Z'/></svg>");
}

.row > .col-lg-4:nth-child(4n+3) .product-image::after{
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path style='fill:white;fill-opacity:1' d='M0,288 C480,192 960,320 1440,224 V320 H0 Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path d='M0,288 C480,192 960,320 1440,224 V320 H0 Z'/></svg>");
}

.row > .col-lg-4:nth-child(4n) .product-image::after{
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path style='fill:white;fill-opacity:1' d='m 0,258 c 242.95493,14.21715 514.64198,0.39495 804.48538,-40.35061 C 1117.0684,173.70715 1377.5812,267.74168 1440,240 v 80 H 0 Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path d='m 0,258 c 242.95493,14.21715 514.64198,0.39495 804.48538,-40.35061 C 1117.0684,173.70715 1377.5812,267.74168 1440,240 v 80 H 0 Z'/></svg>");
}

hr.style-one-old {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

html, body {
    overflow-x: hidden;
}

/**************** komentazre **********************/
/* === OGÓLNE === */
.modul-komentarzy {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 30px auto;
    color: #333;
}

/* === KOMUNIKATY  === */
.ajax-message, .komunikat-sukces, .komunikat-blad {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95em;
    border: 1px solid transparent;
    animation: fadeIn 0.3s ease-in-out;
}
.komunikat-sukces {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}
.komunikat-blad {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === LISTA KOMENTARZY === */
.komentarze-lista h3 {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #444;
    font-size: 1.4em;
}
.komentarz {
    background: #ffffff;
    border-left: 4px solid #0d6efd;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.komentarz:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.komentarz-naglowek {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9em;
}
.komentarz-autor {
    font-weight: 600;
    color: #0d6efd;
}
.komentarz-data {
    color: #888;
    font-size: 0.85em;
}
.komentarz-tresc {
    line-height: 1.6;
    color: #555;
    word-wrap: break-word;
}

/* === FORMULARZ === */
.komentarze-formularz {
    /*background: #f8f9fa;*/
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    margin-top: 30px;
    border: 1px solid #e9ecef;
}
.komentarze-formularz h5 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}
.komentarze-formularz .input-group-text {
    background-color: #e9ecef;
    min-width: 90px;
    justify-content: center;
    font-weight: 500;
    color: #495057;
}
.komentarze-formularz .form-control {
    border-color: #ced4da;
}
.komentarze-formularz .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}
.komentarze-formularz button[type="submit"] {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 15px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.komentarze-formularz button[type="submit"]:hover {
    background-color: #0b5ed7;
}
.komentarze-formularz button[type="submit"]:active {
    transform: scale(0.98);
}
.komentarze-formularz button[type="submit"]:disabled {
    background-color: #a0c4ff;
    cursor: not-allowed;
    transform: none;
}

