/*
Copyrights (c) 2024 by Adam Pawełczak adam.pawelczak@nngsolutions.com & Tomasz Jankowski tomasz.jankowski@nngsolutions.com / N&N Group Solutions Sp. z o.o.
*/

/* poprawki kontenera easycart - zmniejszenie wyokosci zeby tytul byl moj a nie od nich */
.easycart-container {
  height: calc(100% - 150px);
  overflow: hidden;
}

/* poprawki iframe  easycart - zmniejszenie wyokosci zeby tytul byl moj a nie od nich */
.easycart-iframe {
  height: calc(100% + 150px);
  transform: translateY(-150px);
}

/* poprawki kontenera dla filmu youtube - dostosowanie wysokosci obiektu video */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

/* poprawki iframe dla filmu youtube - dostosowanie wysokosci obiektu video */
.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* zastapienie kolorów forms kolorami CI nngs.ai */
.input-group.input-group-dynamic .form-control, .input-group.input-group-dynamic .form-control:focus, .input-group.input-group-static .form-control, .input-group.input-group-static .form-control:focus {
    background-image: linear-gradient(0deg, #fb8c00 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0) !important;;
    border-radius: 0 !important;
}
/* zastapienie kolorów forms kolorami CI nngs.ai */
.input-group.input-group-dynamic .form-control, .input-group.input-group-dynamic .form-control:focus, .input-group.input-group-static .form-control, .input-group.input-group-static .form-control:focus {
  background-image: linear-gradient(0deg, #fb8c00 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0) !important;;
  border-radius: 0 !important;
}
/* zastapienie kolorów forms kolorami CI nngs.ai */
.input-group.input-group-dynamic .form-control[disabled], .input-group.input-group-static .form-control[disabled] {
  cursor: not-allowed; background-image: linear-gradient(0deg, #fb8c00 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #f0f2f5 1px, rgba(209, 209, 209, 0) 0) !important;
}
/* zastapienie kolorów forms kolorami CI nngs.ai */
.input-group.input-group-dynamic.is-focused label, .input-group.input-group-static.is-focused label {
  color: #fb8c00 !important;
}

/* zastapienie kolorow form kolorami ci nngs.ai */
.input-group.input-group-outline.is-focused .form-label + .form-control, .input-group.input-group-outline.is-filled .form-label + .form-control {
    border-color: #fb8c00 !important;
    border-top-color: transparent !important;
    box-shadow: inset 1px 0 #fb8c00, inset -1px 0 #fb8c00, inset 0 -1px #fb8c00 !important;
}

/* zastapienie kolorow form kolorami ci nngs.ai */
.input-group.input-group-outline.is-focused .form-label, .input-group.input-group-outline.is-filled .form-label {
    color: #fb8c00 !important;
}

/* link hover color ci nngs.ai */
a:hover {
    color: #fb8c00 !important;
    text-decoration: none;
}

/* zastapienie kolorow form kolorami ci nngs.ai */
.input-group.input-group-outline.is-focused .form-label:before, .input-group.input-group-outline.is-focused .form-label:after, .input-group.input-group-outline.is-filled .form-label:before, .input-group.input-group-outline.is-filled .form-label:after {
    border-top-color: #fb8c00 !important;
    box-shadow: inset 0 1px #fb8c00 !important;
}

/* zastapienie kolorow form kolorami ci nngs.ai */
.input-group.input-group-outline.is-focused .form-label:before, .input-group.input-group-outline.is-focused .form-label:after, .input-group.input-group-outline.is-filled .form-label:before, .input-group.input-group-outline.is-filled .form-label:after {
    box-shadow: inset 0 1px #fb8c00 !important;
}

/* przyciski hover biala czcionka */
.btn-warning:hover, .btn.bg-gradient-warning:hover {
    background-color: #fb8c00;
    border-color: #fb8c00;
    box-shadow: 0 14px 26px -12px rgba(251, 140, 0, 0.4), 0 4px 23px 0 rgba(251, 140, 0, 0.15), 0 8px 10px -5px rgba(251, 140, 0, 0.2);
}

/* dodanie klasy no-inherit dla obiektow, z ktorych nie chce dziedziczyc walasciwosci */
.no-inherit {
  all: initial !important;
  background-color: initial !important;
  font-family: initial !important;
  color: initial !important;
}

/* usuniecie horizontal overflow dla dropdown menus */
.dropdown-menu {
    right: 0;
    left: auto;
    max-width: calc(100vw - 20px); /* upewnienie sie ze dropdown nie przekracza szerokosci  viewport */
    overflow-x: hidden; /* ukrycie horizontal scrollerow w dropdown */
}

/* ukrycie horizontal barow wogole  */
body {
    overflow-x: hidden;
}

/* czarne podbicie na lead tekscie na stronie głównej */
.bck-black {
    margin-left: 9px;
    width: 555px;
    color: #ffffff;
    display: inline;
    padding: 0.3em 0em;
    background-color: #000000;
    box-shadow: 0.5em 0 0 #000000, -0.5em 0 0 #000000;
    -webkit-box-decoration-break: clone;
 }

/* zwiekszenie rozmiaru czcionki przyciskow globalnie */
button, .btn {
    font-size: 15px !important;
}

/* ustawienie koloru hover dla tekstu na  przyciskach z bialym textem  */
.btn-text-white:hover {
    color: #FFFFFF !important;
}

/* wieksza czcionka przyciskow cta na stronie glownej */
.btn-cta {
    font-size: 18px !important;
}

/* poprawka wysrodkowania w pionie labela w polu zapisz sie do newslettera w stopce */
.form-label-newsletter {
    top: -0.2rem !important;
}

/* poprawienie card z prezentacją 3 smokow - aktywny smok */
.dragon-available.card.card-background:after {
    background: rgba(0, 0, 0, 0.30) !important;
}

/* Profile Picture Container */
.profile-picture-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Edit Icon on profile picture */
.edit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    width: 96px;  /* Adjust the size to be smaller, ensuring it fits well */
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show Edit Icon on Hover */
.profile-picture-container:hover .edit-icon {
    opacity: 1;
}

/* Profile Picture Styling */
.profile-picture {
    border-radius: 50%;
    object-fit: cover;
}

.profile-picture-container, .profile-picture {
    width: 96px !important;
    height: 96px !important;
}

/* Base style for the profile picture menu */
.profile-picture-menu {
    width: 32px !important;
    height: 32px !important;
    border: 1px #ffffff57 solid;
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow effect */
}

/* Outer border effect on hover in profile picture menu*/
.profile-picture-menu:hover {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); /* Outer shadow with 25% transparency */
}

/* ukrycie strzalki w dol przy menu uzytkownika */
.account-settings .dropdown .dropdown-menu.dropdown-menu-end:before {
    display: none !important;
}

/* podniesienie menu uzytkownika */
#dropdownMenuAccount + .dropdown-menu {
  margin-top: 0 !important;
}

/* nadpisanie id info uzytkownika w menu uzytkownika w celu wyeliminowania klikalnosci na paddingi wokol tej sekcji*/
#user-info-section {
    border-radius: 0.75rem 0.75rem 0 0;
    /*margin: -1rem !important;*/
    /*padding-top: 0.75rem;*/
    padding-left: 1rem;
    padding-right: 1rem;
    pointer-events: none !important;
    /*pointer-events: auto !important;*/
}

 /*nieklikalny overlay na sekcji info w menu uzytkownika */
.user-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Keeps it invisible */
    pointer-events: auto; /* Captures all pointer events */
}

.dropdown-divider {
    width: 90%;
    margin-left: 6%;
    margin-right: 6%;
}

/* nieklikalne pozycje menu */
.user-info {
    pointer-events: none !important; /* Disables clicking */
    user-select: none !important; /* Prevents text selection */
}

/* Poprawki ikon oczka w formularzu podawania nowego hasła */
.input-group-text {
    visibility: visible !important; /* Ensure visibility is always active */
}

.input-group.input-group-static:focus-within .input-group-text {
    /* Disable showing icon on focus */
    visibility: visible !important;
}

/* Eye icon remains visible and does not change when input is focused or filled */
.toggle-password-visibility {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    font-size: 16px;
    color: #999;
}

/* Upload modal w my-files */
#file-upload {
    background-color: #f8f9fa;
    border: 2px solid #6c757d;
    padding: 10px;
    color: #495057;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#file-upload:hover {
    background-color: #e2e6ea;
    border-color: #5a6268;
    cursor: pointer;
}

/* Poprawki w header tabeli - ma sie zaczynac od lewej bez dziwnych paddingow */
/* Custom table class for specific alignment */
.custom-table thead th:first-child {
    padding-left: 1rem !important;  /* Adjust the padding for the first column */
}

.custom-table tbody td:first-child {
    padding-left: 1rem !important;  /* Ensure rows match the padding */
}

/* Moje tabele */
/* Consistent styling for custom tables */
.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table thead th {
    text-align: left;  /* Align header text to the left */
    padding-left: 1rem !important;  /* Consistent padding for first column */
    font-weight: bold;
    background-color: #f5f5f5;  /* Optional: subtle background for header */
}

.custom-table tbody td {
    padding-left: 1rem !important;  /* Ensure rows match the padding of the header */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.custom-table th, .custom-table td {
    padding-right: 1.5rem;  /* Consistent padding for other columns */
}

.custom-table-questionsets-list th, .custom-table-questionsets-list td {
    padding-right: 0 !important;  /* Bez paddingu lewego na liscie zestawow pytan */
}

/* Button consistency */
/*.btn-sm.bg-gradient-dark {*/
/*    background-color: #343a40; !* Dark gradient button *!*/
/*    color: #fff;*/
/*    border-radius: 0.2rem;*/
/*    padding: 0.25rem 0.75rem;*/
/*}*/

/* Flash messages style */
/*.text-warning {*/
/*    font-size: 0.875rem;*/
/*    color: #ffc107;  !* Bootstrap warning color *!*/
/*}*/

/* Specific table for my-files */
#files .custom-table thead th:first-child,
#files .custom-table tbody td:first-child {
    padding-left: 1rem !important;
}

/* Specific table for invoices */
#invoices .custom-table thead th:first-child,
#invoices .custom-table tbody td:first-child {
    padding-left: 1rem !important;
}

/* Styl do truncated filename */
.file-name {
    /* max-width: 250px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nazwa pliku on hover w my-files.html */
.download-link:hover {
    color: #ffc107 !important; /* Bootstrap text-warning color */
}

/* poprawka form label bez lewego marginesu */
label, .form-label {
    margin-left: 0 !important;
}

/* nngs progress bar */
.progress, .progress-bar {
    height: 35px;
    border-radius: 0.4rem;
}

/* label dla wybierz plik */
.choose-file-label {
    position: relative !important;
    top: 0 !important;
}

/* padding dla wnętrzna list wybory w formularzach */
.custom-select-padding option {
    padding: 0.625rem 0.75rem;
}

/* Akcje eksportowania rezultatow AQG  */
th.custom-table.results_action, td.custom-table.results_action {
    padding-right: 0 !important;
}

/* cennik nngs - szare podbicie pills z planami cenowymi */
.nav.nav-pills.nav-pills-warning {
    background: #f0f2f5 !important;
}

/* cennik nngs - biala czcionka w onmouseover na pills z planami cenowymi */
#tabs-pricing .nav-link.active:hover {
    color: #fff !important;
}

/* logo naglowka */
.header-logo {
    width: 32px;
    height: 32px;
}

/* naglowki tabel - wyrownanie ikon i tytulow kolumn */
.sortable .d-flex {
    justify-content: space-between;
    align-items: center;
}

.sort-icon {
    margin-left: 5px;
    font-size: 18px; /* Adjust size if needed */
    vertical-align: middle;
}

/* Edit QuestionSetNames, Edit Profile Account information */
.set-name, .profile-edit {
    transition: color 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.set-name:hover, .profile-edit:hover {
    color: #fb8c00; /* Change color on hover */
}

.profile-background {
    background-color: #f0f2f5 !important;
    border-radius: 0.75rem 0.75rem 0 0;
    margin: -1rem !important;
}

.hr-background {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
}

/* Editable conrtainer for question lists results */
.editable-container {
    border: 1px solid transparent; /* Default no visible border */
    padding: 0.5rem;
    border-radius: 4px;
    transition: border-color 0.3s ease; /* Smooth transition */
}

.editable-container:hover {
    border: 1px dashed;
}

/* Show border only when the container is focused */
.editable-container.is-focused, .editable-container-settings.is-focused {
    border-color: gray; /* Visible gray border when focused */
}

/* Editable conrtainer for user settings */
.editable-container-settings {
    display: flex;
    align-items: center; /* Centers content vertically */
    position: relative; /* Allows absolute positioning for the pen icon */
    padding: 0.5rem;
    border: 1px solid transparent; /* Default no visible border */
    border-radius: 4px;
    transition: border-color 0.3s ease;
    background: #f0f2f5e3;
    width: 100%;
    height: 38px !important;
    max-height: 100% !important;
}

.settings-link {
    display: flex;
    align-items: center; /* Centers content vertically */
    position: relative; /* Allows absolute positioning for the pen icon */
    padding: 0.5rem;
    border: 1px solid transparent; /* Default no visible border */
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

/* Adjust pen icon styling */
.pen-icon-settings {
    font-size: 16px;
    color: #bbb;
    visibility: hidden; /* Hidden by default */
    position: absolute;
    right: 0.5rem; /* Position icon on the right */
    top: 55%;
    transform: translateY(-50%);
}

/* Highlight the text in .col-8 when hovered */
.col-8:hover .profile-edit {
    color: #fb8c00; /* Bootstrap's text-warning color */
}

/* Show the pen icon when hovering over the container */
.editable-container-settings:hover .pen-icon-settings {
    visibility: visible;
}

/* Dashed border on hover */
.editable-container-settings:hover {
    border: 1px dashed gray !important; /* Dashed border */
    border-radius: 4px; /* Optional rounded corners */
    cursor: pointer; /* Indicates interactivity */
    transition: border-color 0.3s ease; /* Smooth transition */
}

/* Solid border when active or focused */
.editable-container-settings:focus-within {
    border: 1px solid gray !important; /* Solid border */
    border-radius: 4px; /* Same radius for consistency */
    cursor: default; /* Optional: No pointer cursor when focused */
}


/* zmiany dla formularza edycji danych uzytkownika - bez nich jest nierowno w pionie dla wartosci i labeli */
.row.mt-3 {
    display: flex;
    align-items: center;
}

/* Remove the default border of the input field */
.edit-input-settings {
    border: 1px; /* Remove the input field's own border */
    outline: none; /* Remove default focus outline */
    background: transparent; /* Make the background transparent */
    width: 100%; /* Ensures input takes up full width */
    padding-right: 1.5rem; /* Adjust for space next to the pen icon */
}

/* When the input is focused, container should apply the border */
.edit-input-settings:focus {
    border: none; /* No border on focus */
    outline: none; /* Remove outline */
}

/* Remove the default border of the input field */
.edit-input {
    border: none; /* Remove the input field's own border */
    outline: none; /* Remove default focus outline */
    background: transparent; /* Make the background transparent */
}

/* When the input is focused, container should apply the border */
.edit-input:focus {
    border: none; /* No border on focus */
    outline: none; /* Remove outline */
}

/* ICONS in questionsetnames */
/* Target only the custom-export-table container */
.custom-export-table {
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
}

/* Adjust table layout for the specific table */
.custom-export-table .table {
    table-layout: auto; /* Allow the table layout to adjust dynamically */
    width: 100%; /* Ensure the table takes up full available width */
}

/* Specific dropdown menu styling */
.export-dropdown .dropdown-menu {
    width: 80%; /* Set the dropdown width */
    position: absolute; /* Ensure dropdown expands outside table */
    z-index: 1000; /* Keep dropdown on top of other elements */
    overflow: hidden !important; /* Hide unnecessary scrollbars */
    padding: 0 !important; /* Remove extra padding */
    box-shadow: none; /* Remove unnecessary shadow */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Define dropdown border */
    min-width: 200px;
}

/* Target the export button and icon */
.export-btn {
    color: #596f81 !important;
    font-size: 0.875rem;
    padding: 0.5rem 0.5rem;
    margin-bottom: 0.75rem !important;
    margin-top: 0.5rem !important;
    border-radius: 0.25rem;
    #border: 1px solid #ddd !important;
}

.export-btn:hover {
  color: #fb8c00 !important; /* 'text-warning' */
}

/* Remove the unnecessary ::after pseudo-element */
.export-btn.dropdown-toggle::after {
    content: none !important; /* Remove any default ::after pseudo-element */
}

/* Style the icons in the dropdown */
.export-dropdown .dropdown-item i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    color: #fb8c00 !important; /* Set icon color to #fb8c00 */
}

/* Prevent table overflow */
.custom-export-table .table-responsive {
    overflow: visible !important; /* Ensure content inside table is visible */
}

/* Prevent dropdown or container from forcing scrolls */
.custom-export-table .table {
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Wypunktowania i numerowania w regulaminie i polityce prywatnosci */
#privacy-policy, #terms-of-service {
    text-align: justify !important;
}

#privacy-policy ol li, #terms-of-service ol li {
    padding-left: 0.6rem;
}

#privacy-policy ol, #terms-of-service ol {
    padding-left: 1.6rem !important;
    padding-top: 1rem;
}

.nested-last {
    padding-bottom: 1rem;
}

/*truncating filename in filelist quiz generator */
select#file option {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Remove bullet points from <li> elements inside navbar */
.navbar-nav .nav-item::marker {
    content: '';  /* Remove the marker content */
    display: none; /* Ensure the marker is hidden */
}

/* Ustawienie stałej wysokości kart smoków na stronie choose-dragon */
.dragon-card {
    min-height: 570px;
    align-content: center;
}

/* stały rozmiar pola z kluczem api w formularzu */
#new-api-key {
  resize: none;
  height: auto; /* Adjust this value if you need a fixed height */
}

/* Ekstrakcja plików w my-files.html */
@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

#dots span {
    animation: blink 1.5s infinite;
}

#dots span:nth-child(2) {
    animation-delay: 0.5s;
}

#dots span:nth-child(3) {
    animation-delay: 1s;
}

/* przycisk zamknij w file upload */
button.btn-close {
    background-color: #6c757d !important;
}

/* kontener dragon-generating z video mp4 */
.rounded-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rounded-video-container {
    border-radius: 0.5rem;           /* same as .border-radius-lg */
    overflow: hidden;                 /* clip border radius */
}

/* custom padding dla listy na ekranie statusu generowania pytań */
.p-custom-55 {
  padding: 0.55rem 1rem !important;
}


/* custom badge dla nazwy planu */
.badge-custom {
  border: 1px solid white;
  color: white;
  background-color: transparent;
}

/* editing pen icon */
/* Default hidden state for the pen icon */
/*.editable-container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center; !* Vertically align text and icon *!*/
/*}*/

.editable-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically align text and icon */
    position: relative; /* Necessary for absolute positioning of the pen icon */
}


/* Adjust pen icon styling */
/*.pen-icon {*/
/*    font-size: 10px;*/
/*    color: #bbb;*/
/*    visibility: hidden; !* Hidden by default *!*/
/*    position: relative;*/
/*    top: 2px; !* Move the icon down by 2 pixels *!*/
/*}*/

.pen-icon {
    font-size: 10px;
    color: #bbb;
    visibility: hidden; /* Hidden by default */
    position: absolute; /* Position relative to the container */
    right: 0.5rem; /* Align to the right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
}


/* Show the pen icon on hover */
.editable-container:hover .pen-icon {
    visibility: visible;
}

/* Poprawka zachowania menu uzytkownika zeby nie przysłaniało przycisków na warstwach z niższych zindex */
/* Initial state: hidden with opacity and visibility */
#dropdownMenuAccount + .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
/* Poprawka zachowania menu uzytkownika zeby nie przysłaniało przycisków na warstwach z niższych zindex */
/* Visible state */
#dropdownMenuAccount.show + .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Reset position */
}

/* przycisk w stanie disable */
.btn.disabled {
    background-color: #f0f2f5 !important;
    cursor: not-allowed;
    color: #000;
    box-shadow: none;
}

/* ikony w menu uzytkownika  */
.dropdown-item i, .organization-icon {
    font-size: 16px;
    color: #a2a2a2;
    transition: color 0.3s ease;
    width: 20px;
    display: inline-block;
    text-align: center;
    margin-right: 12px !important;
}

/* Small profile picture next to username */
.profile-picture-small {
    width: 20px; /* Adjust the size as needed */
    height: 20px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image fits within the circle */
    margin-right: 16px !important;
}

/* Poprawka niedziałającej ikony form check na formularzu rejestracyjnym */
.form-check:not(.form-switch) .form-check-input[type="checkbox"]:after {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f00c";
    font-weight: 900 !important;
}

/* Mobile menu organizacje */
ul.dropdown-menu.w-100.show {
    margin-top: 0px !important;
}

button#mobileOrganizationDropdown {
    margin-bottom: 0px !important;
    text-transform: none;
    font-weight: 400;
}

/* Pagination */
/* Pagination Container */
#pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem; /* Space between buttons */
    margin-top: 1rem;
    margin-left: 1rem;
}

/* Pagination Buttons */
#pagination-container .btn {
    padding: 0.5rem 1rem; /* Adjust padding for better click area */
    font-size: 0.875rem; /* Slightly smaller font size for compact appearance */
    border-radius: 4px; /* Rounded corners for consistency */
    transition: all 0.2s ease; /* Smooth transition for hover effects */
    text-align: center;
    text-transform: capitalize; /* Capitalize button text */
    cursor: pointer;
    border: 1px solid #ddd; /* Light border for inactive buttons */
}

/* Primary Button (Active Page) */
#pagination-container .btn-primary {
    background-color: #a2a6b8; /* Primary color */
    color: white;
    border-color: #a2a6b8;
    font-weight: bold;
    box-shadow: none !important;
}

#pagination-container .btn {
    border: none !important;
    padding: 0.3rem 0.8rem;
}

/* Light Button (Inactive Pages) */
#pagination-container .btn-light {
    background-color: #f4f5f7; /* Light gray background */
    color: #333; /* Dark text for readability */
    border-color: #ccc; /* Subtle border color */
}

/* Hover Effect for Inactive Buttons */
#pagination-container .btn-light:hover {
    background-color: #dfe1e6; /* Slightly darker gray */
    color: #000; /* Darker text */
}

/* Disabled Button */
#pagination-container .btn.disabled {
    background-color: #e9ecef; /* Disabled gray */
    color: #6c757d; /* Muted text color */
    cursor: not-allowed; /* Show not-allowed cursor for disabled buttons */
    border-color: #ddd;
    pointer-events: none; /* Disable all pointer interactions */
}

/* Hover Effect for Active Button */
#pagination-container .btn-primary:hover {
    background-color: #e3e4e7; /* Darker primary color */
    border-color: #f0f2f5;
}

/* Active Page Button Styling */
#pagination-container .btn.active {
    pointer-events: none; /* Disable click for the current page button */
    cursor: default; /* Normal cursor for active button */
    font-weight: bold;
    background-color: #a2a6b8;
    border-color: #a2a6b8;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #pagination-container .btn {
        padding: 0.4rem 0.8rem; /* Reduce padding for smaller screens */
        font-size: 0.8rem; /* Smaller font size */
    }
}

/* przycisk pobierz  na liście rezultatow ai quiz generator results lists */
/*.dropdown.export-dropdown {*/
/*    margin: 0 25%;*/
/*}*/

/* edycja nazwy zestawu pytan */
.questionsetname-edit-input {
    display: none; /* Initially hidden */
    outline: none;
    background: #fff;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

.editable-container.is-editing .set-name {
    display: none;
}

.editable-container.is-editing .questionsetname-edit-input {
    display: inline-block;
}

.editable-container input.questionsetname-edit-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

/* search w questionsetname */
.search-wrapper {
  position: relative;
  width: 200px;
}

.search-wrapper .material-icons {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 18px;
}

.search-wrapper input {
  padding-left: 2rem;
}

input#searchInput {
    border: 1px solid #dddddd !important;
    border-radius: 4px;
    padding-left: 2rem; /* Leave space for the magnifying glass */
    height: 38px;
    font-size: 0.875rem;
    border-radius: 5px;
}

/* nadpisanie material kit pro - pole input ktore jest disabled ma takie same paddingi jak inne pola input - przy wyborze pytan */
.form-control[disabled] {
    padding: 0.5rem 0 !important;
}

/* AI Quiz Generator CARDS - formats */
.aqg-formats-card-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
}

/* Base dark layer */
.aqg-formats-card-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  border-radius: 15px;
  transition: background-color 0.3s ease-in-out;
}

/* Darken further on hover */
.aqg-formats-card-container:hover::before {
  background: rgba(0, 0, 0, 0.8); /* darkens full card uniformly */
}

.aqg-formats-card {
  height: 100%;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: #fff;
}

.aqg-formats-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 2;
  color: #212529 !important; /* Bootstrap text-dark */
}

/* Highlight title + icon when hovering the card */
.aqg-formats-card-container:hover .aqg-formats-card-body h5,
.aqg-formats-card-container:hover .aqg-formats-card-body i {
  color: var(--bs-warning) !important;
}

/* Fade in footer actions */
.aqg-formats-footer-icons {
  opacity: 0;
  z-index: 3;
}

.aqg-formats-card-container:hover .aqg-formats-footer-icons {
  opacity: 1;
}

/* Footer overlay block */
.aqg-formats-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: transparent;
  z-index: 2;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Footer actions grouped together */
.aqg-formats-action {
  color: #212529;
  text-decoration: none;
  cursor: pointer;
}

.aqg-formats-action i,
.aqg-formats-action span {
  transition: color 0.3s ease-in-out;
}

/* Only this action turns yellow when hovered (not card hover) */
.aqg-formats-action:hover {
  color: var(--bs-warning);
}

.aqg-formats-action:hover i,
.aqg-formats-action:hover span {
  color: var(--bs-warning);
}

.aqg-formats-card-container:hover .aqg-formats-card-body h5,
.aqg-formats-card-container:hover .aqg-formats-card-body i {
  color: var(--bs-warning) !important;
}

.aqg-formats-form-control {
    padding: 1rem !important;
}

.aqg-hover-darken {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none; /* don't block clicks */
  transition: background 0.3s ease-in-out;
  border-radius: 15px;
}

.aqg-formats-card:hover .aqg-hover-darken {
  background: rgba(0, 0, 0, 0.05); /* adjust opacity as needed */
}



/* QUIZ PREVIEW quizu na stronie ai-quiz-generator-result*/
.quiz-preview-modal {
  max-height: 80dvh !important;
  margin: auto;
}

.quiz-preview-modal .modal-content {
  display: flex;
  flex-direction: column;
}

.quiz-preview-modal .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  max-height: 60vh;
}

.form-check:not(.form-switch) .form-check-input[type="radio"]:after {
    background-image: linear-gradient(195deg, #fb8c00 0%, #ffaa3f 100%), var(--bs-gradient) !important;
}

/*kolor checkboxa*/
.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked {
    background: #fb8c00;
}

/* subskrypcje */
.card.h-100.w-100.border.border-light.rounded-3.position-relative.card-background::after {
    background: rgba(0, 0, 0, 0.16) !important;
}

.subscription-details .card {
    box-shadow: none !important;
}

/* Add this to your CSS file */
.subscription-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px; /* ensures visibility on small screens */
}

@media (max-width: 768px) {
  .subscription-background {
    min-height: 300px; /* adjust as needed for better mobile visibility */
  }
}

/* lightbox gallery */
  .lightbox-item-wrapper img {
    border-radius: 0.5rem;
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
    position: relative;
  }

  .hover-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: 0.5rem;
  }

  .lightbox-item:hover .hover-overlay {
    opacity: 1;
  }

  .lupa-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
  }

  .lupa-overlay i {
    pointer-events: auto;
  }

@media (max-width: 1400px) {
  #tabs-pricing .moving-tab {
    display: none !important;
  }

  #tabs-pricing .nav-link {
    width: 100%;
    text-align: center;
    border-radius: 0.5rem;
  }

  #tabs-pricing .nav-link.active {
    background-color: #ffaa3f !important; /* żółte tło */
    color: #000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

/*#fb8c00*/
