/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBALNE USTAWIENIA */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F1F5F9 !important;
    color: #333;
    line-height: 1.6;
}

/*.container-fluid {
    background: #F1F5F9;
}

.app-header navbar navbar-expand bg-body {
    background: #F1F5F9;  
}
nav.app-header.bg-body {
  background-color: #F1F5F9 !important;
}*/
.app-main {
    background: #F7F9FB;
    margin-left: 40px;
    margin-right: 40px;
}

@media (max-width: 600px) {
.app-main {
    margin-left: 3%;
    margin-right: 3%;
  }
}


/* KOLOR PRZEWODNI */
:root {
    --primary-color: #645BFF;
    --primary-dark: #948eff;
}

/* NAGŁÓWEK (HEADER) */
.header {
    background-color: #fff;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.header h2 {
    font-size: 24px;
    color: #333;
}
.header a.button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.header a.button:hover {
    background-color: var(--primary-dark);
}
/* Logo w nagłówku */
.header .logo {
    max-height: 50px;
}

/* SIDEBAR (PASEK BOCZNY) – DESKTOP */
.sidebar {
    background-color: #fff;
    position: fixed;
    top: 70px; /* poniżej nagłówka */
    left: 0;
    width: 220px;
    height: calc(100% - 70px);
    border-right: 1px solid #e0e0e0;
    padding-top: 20px;
}
.sidebar a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}
.sidebar a:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

        /* Dodatkowe style dla ikon w sidebarze */
        .sidebar a {
            display: flex;
            align-items: center; /* Wyśrodkowanie ikon i tekstu pionowo */
            gap: 10px; /* Odstęp między ikoną a tekstem */
            color: inherit; /* Kolor ikon taki sam jak tekstu */
            text-decoration: none; /* Usunięcie podkreślenia */
        }
        .sidebar a i {
            font-size: 1.2em; /* Rozmiar ikon */
        }

/* MENU ADMINISTRACYJNE – tylko dla admina */
.admin-menu {
    margin-top: 20px;
    padding-top: 10px;
    border-top: none;
}
.admin-menu h4 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.admin-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}
.admin-menu a:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

/* GŁÓWNA ZAWARTOŚĆ (MAIN-CONTENT) – DESKTOP */
.main-content {
    margin-top: 70px;
    margin-left: 40px;
    padding: 30px;
}

/* NOWOCZESNA TABELA */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.modern-table thead tr {
    background-color: var(--primary-color);
    color: #fff;
    text-align: left;
}
.modern-table th,
.modern-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    
}
.modern-table th{
background-color:gray;
}

.modern-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

@media (max-width: 600px) {
  .modern-table {
    min-width: unset;
    font-size: 14px; /* mniejsza czcionka = lepsze dopasowanie */
  }
}

.nav-link.active {
    color:#948EFF !important;
}

/*Inna tabela*/
.modern-table-report {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(60, 75, 128, 0.10), 
                0 1.5px 5px 0 rgba(40, 50, 60, 0.06);
    border-radius: 18px;
    overflow: visible;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin: 32px 0;
    position: relative;
}

.modern-table-report thead tr {
  background: #e2e2ff;
  color: #29354d;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.modern-table-report th,
.modern-table-report td {
  padding: 18px 20px;
  text-align: left;
  border: none;
}

.modern-table-report th {
  font-size: 17px;
  font-weight: 700;
  background: #948eff;
  color: #fff;
  border-bottom: 1px solid #ebeff5;
}

.modern-table-report tbody tr {
  overflow: visible;    
  border-bottom: 1px solid #ebeff5;
  transition: background 0.2s;
}
.modern-table-report tbody tr:last-child {
  border-bottom: none;
}
.modern-table-report tbody tr:hover {
  background: none;
}

.modern-table-report td {
  font-size: 16px;
  vertical-align: middle;
}

.modern-table-report .sub {
  color: #8b97a9;
  font-size: 15px;
  margin-left: 6px;
  font-weight: 500;
}

.modern-table-report td {
    border-bottom: 1px solid #ececec;
}
.modern-table-report tr:last-child td {
    border-bottom: none; /* Nie rysuj linii pod ostatnim wierszem */
}

@media (max-width: 600px) {
  .modern-table-report th, .modern-table-report td {
    padding: 12px 6px;
    font-size: 15px;
  }
}















/* STYLE PRZYCISKÓW */
.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}
.button {
    background-color: var(--primary-color);
    color: #fff;
}
.button:hover {
    background-color: var(--primary-dark);
}

/* KONTENERY DLA FORMULARZY */
.container,
.login-container,
.invoice-container {
    max-width: 700px;
    margin: 90px auto 50px auto;
    background-color: #fff;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.container h2,
.login-container h2,
.invoice-container h4 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* FORMULARZE – UKŁAD PIONOWY */
form {
    display: flex;
    flex-direction: column;
}
form label {
    margin-bottom: 8px;
    font-weight: bold;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form input[type="number"],
form textarea,
form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
}
form input[type="submit"] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
form input[type="submit"]:hover {
    background-color: var(--primary-dark);
}

.invoice-error-input {
  display: block;
  color: #F56042;
  margin-bottom: 25px;
  font-size: 0.9em;
  margin-top: -15px;
}


/* DODATKOWA KLASA DLA FORMULARZA WYSZUKIWANIA */
.search-form-container {
    display: inline-flex;
    align-items: center;
}
.search-form-container input[type="text"] {
    width: 300px;
    padding: 8px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    height: 36px;
}
.search-form-container button {
    padding: 0 12px;
    font-size: 0.9em;
    height: 36px;
    line-height: 36px;
    border: 1px solid var(--primary-color);
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.search-form-container button:hover {
    background-color: var(--primary-dark);
}

/* POLA TYLKO DO ODCZYTU */
input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/* KOMUNIKATY O BŁĘDACH */
.error {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.error ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    padding: 0;
}



/* PASEK BŁĘDU NA DOLE STRONY */
.error-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #e74c3c;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    z-index: 9999;
}

/* STYLE DLA POLA PRZESYŁANIA PLIKU */
.file-upload {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.file-upload:hover {
    background-color: #f0f0f0;
}
.file-upload-label {
    font-size: 16px;
    color: #666;
    display: block;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    text-align: center;    
}

/* STYLE DLA LINKÓW */
a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

/* DROPDOWN – nowe klasy */
.my-dropdown {
    position: relative;
    display: inline-block;
}
.my-dropdown-toggle {
    cursor: pointer;
    font-size: 24px;
    user-select: none;
    display: inline-block;
}
.my-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 80px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 9999;
    text-align: center;
}
.my-dropdown-menu.show {
    display: block;
}
.my-dropdown-menu button {
    width: 100%;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.my-dropdown-menu button:hover {
    background-color: #f0f0f0;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus {
    color: #000;
}

    .flag-responsive-icon {
        margin-top: 7px !important;
        margin-right: 3px;
    }














/* RESPONSYWNOŚĆ – MOBILNE URZĄDZENIA */
@media only screen and (max-width: 600px) {
    .header {
        flex-direction: column;
        padding: 15px;
    }
    .header h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .header a.button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .notification-responsive-icon {
        margin-top: 3px !important;
        padding-left: 10px;
        display:block !important;
    }
    
    .flag-responsive-icon {
        margin-top: 10px !important;
    }
        
    .sidebar {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 10px 0;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .sidebar a {
        padding: 10px;
        border-bottom: none;
    }
    .main-content {
        margin-top: 140px;
        margin-left: 0;
        padding: 15px;
    }
    .container,
    .login-container,
    .invoice-container {
        max-width: 95%;
        margin: 70px auto 30px auto;
        padding: 20px;
    }
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form input[type="date"],
    form input[type="number"],
    form textarea,
    form select {
        padding: 10px;
        margin-bottom: 15px;
        font-size: 14px;
        width: 100%;
    }
    form input[type="submit"] {
        padding: 10px;
        font-size: 14px;
        
    }
    
input[type="date"],
select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;}
    
    
    .styled-select {
        margin-top: 15px !important;
  }    

.card {
  width:85% !important;
}

.verification-modal .modal-content {
  width: 92% !important;
margin-top: 35%;
}
    
}















/* Stylizowany select */
.styled-select {
    height: 36px;
    padding: 0 12px;
    font-size: 0.9em;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    background-color: #fff;
    color: #333;
}

/* Karta użytkownika pełnoekranowa */
.user-card-full {
    width: 100%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;

}
.user-card-header-full {
    display: flex;
    align-items: center;
    background-color: #494E53;
    color: #fff;
    padding: 20px;
}
.user-profile-pic {
    flex: 0 0 150px;
    margin-right: 20px;
}
.user-profile-pic img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid #fff;
}
.user-header-info h2 {
    margin-bottom: 5px;
    font-size: 28px;
}
.user-header-info p {
    font-size: 16px;
    opacity: 0.9;
}
.user-card-body-full {
    padding: 20px;
}
.user-basic-info {
    margin-bottom: 20px;
}
.user-card-field {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.user-card-field label {
    flex: 0 0 200px;
    font-weight: bold;
    color: #333;
}
.user-card-field span {
    flex: 1;
    color: #555;
}
.user-card-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}
.user-card-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
    border-bottom: 3px solid transparent;
}
.user-card-tab:hover {
    background-color: #f0f0f0;
}
.user-card-tab.active {
    background-color: #f0f0f0;
    border-bottom: 3px solid var(--primary-color);
    font-weight: bold;
}
.user-card-content {
    padding: 10px;
    color: #555;
}
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.back-link i {
    margin-right: 6px;
    font-size: 1.2em;
}
.back-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}
.dropzone {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    color: #aaa;
    margin-bottom: 15px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.dropzone.hover {
    border-color: #333;
    color: #333;
}
.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin: 10px 0;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #e6c3c3;
    padding: 10px;
    margin: 10px 0;
}
.container_account {
    max-width: 700px;
    margin: 20px auto 30px auto;
    background-color: #fff;
    padding: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.container_account h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}
.profile-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Style dla dropdown menu zmiany języka */
.dropdown-lang {
    position: relative;
    display: inline-block;
}

.dropdown-lang-toggle {
    cursor: pointer;
    display: inline-block;
}

.dropdown-lang-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    text-align: left;
}

.dropdown-lang-menu.show {
    display: block;
}

.dropdown-lang-menu a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #333;
}

.dropdown-lang-menu a:hover {
    background-color: #f0f0f0;
}

.dropdown-lang-menu img {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.dropdown-lang-toggle img,
.dropdown-lang-menu img {
    border: 1px solid #ECECEC;
}

/* Kontener przycisków w nagłówku */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Customizowany select */
.custom-select {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
}
.custom-select .selected-option {
    display: flex;
    align-items: center;
}
.custom-select .options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}
.custom-select .option {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.custom-select .option:hover {
    background-color: #f0f0f0;
}


.sidebar-wrapper {
    background-color: #343a40 !important; 
}

/* Nowa klasa dla tabeli w modalu, aby nie wychodziła poza modal */
.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed;
}

.modal-table th,
.modal-table td {
    padding: 10px;
    border: 1px solid #ddd;
    word-wrap: break-word;
}

.modal-table th {
    background-color: #f2f2f2;
    text-align: left;
}

tr.missing {
    color: #f56042;
}



/* PODMENU (SUB-TABS) – dla zakładki Faktury */
.sub-tabs {
    display: flex;
    background-color:white;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.sub-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #222222;
    text-decoration: none;
    transition: border-bottom 0.01s ease;
}
.sub-tab:hover {
    border-bottom: 3px solid var(--primary-dark);
    transition: border-bottom 0.1s;    
    
}
.sub-tab.active {
    font-weight: bold;
    border-bottom: 3px solid var(--primary-dark);

}






    .container_account {
      padding: 20px;
      background-color: #fff;
      margin-bottom: 20px;
    }

    .profile-container {
      position: relative;
      width: 100px;
      height: 100px;
      margin: 0 auto 10px auto;
    }
    .profile-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      cursor: pointer;
    }
    .profile-container input[type="file"] {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: pointer;
      z-index: 1;
    }
    .remove-photo {
      position: absolute;
      top: 5px;
      right: -5px;
      width: 30px;
      height: 30px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2;
    }
    .remove-photo i {
      font-size: 1.2rem;
      color: #F56042;
    }
    .upload-indicator {
      position: absolute;
      top: 5px;
      right: -5px;
      width: 30px;
      height: 30px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      pointer-events: none;
    }
    .file-name {
      text-align: center;
      margin-top: 10px;
      font-style: italic;
    }
    .user-name {
      text-align: center;
      font-size: 1.1rem;
      margin-bottom: 20px;
    }
    .form-section {
      margin-bottom: 30px;
    }








.card {
  width: 400px;
  height: 220px;
  background-color: rgb(255, 255, 255);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
}

.cookieHeading {
  font-size: 1.2em;
  font-weight: 800;
  color: rgb(26, 26, 26);
  text-align: center;
}

.cookieDescription {
  text-align: center;
  font-size: 0.7em;
  font-weight: 600;
  color: rgb(99, 99, 99);
}

.cookieDescription a {
  --tw-text-opacity: 1;
  color: rgb(59 130 246);
}

.cookieDescription a:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.buttonContainer {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.acceptButton {
  width: 100px;
  height: 30px;
  background-color: #645BFF;
  transition-duration: .2s;
  border: none;
  color: rgb(241, 241, 241);
  cursor: pointer;
  font-weight: 600;
  border-radius: 20px;
  transition: all .6s ease;
}

.declineButton {
  width: 100px;
  height: 30px;
  background-color: #dadada;
  transition-duration: .2s;
  color: rgb(46, 46, 46);
  border: none;
  cursor: not-allowed;
  font-weight: 600;
  border-radius: 20px;
  transition: all .6s ease;
}

.declineButton:hover {
  background-color: #ebebeb;
  box-shadow: 0 10px 15px -3px #bebdbd, 0 4px 6px -2px #bebdbd;
  transition-duration: .2s;
}

.acceptButton:hover {
  background-color: #9173ff;
  box-shadow: 0 10px 15px -3px #977ef3, 0 4px 6px -2px #977ef3;
  transition-duration: .2s;
}

input.error,
select.error {
  border: 1px solid #F56042;
}

/* Style dla modalu weryfikacji (verification-modal) */
.verification-modal {
    display: none; /* Ukryty domyślnie */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.verification-modal .modal-content {
    background-color: #fefefe;

    padding: 20px;
    border: 1px solid #888;
    min-width: 40%;
}
.verification-modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
.verification-modal .close:hover,
.verification-modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}








.three-body {
 --uib-size: 35px;
 --uib-speed: 0.8s;
 --uib-color: #5D3FD3;
 position: relative;
 display: inline-block;
 height: var(--uib-size);
 width: var(--uib-size);
 animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;
}

.three-body__dot {
 position: absolute;
 height: 100%;
 width: 30%;
}

.three-body__dot:after {
 content: '';
 position: absolute;
 height: 0%;
 width: 100%;
 padding-bottom: 100%;
 background-color: var(--uib-color);
 border-radius: 50%;
}

.three-body__dot:nth-child(1) {
 bottom: 5%;
 left: 0;
 transform: rotate(60deg);
 transform-origin: 50% 85%;
}

.three-body__dot:nth-child(1)::after {
 bottom: 0;
 left: 0;
 animation: wobble1 var(--uib-speed) infinite ease-in-out;
 animation-delay: calc(var(--uib-speed) * -0.3);
}

.three-body__dot:nth-child(2) {
 bottom: 5%;
 right: 0;
 transform: rotate(-60deg);
 transform-origin: 50% 85%;
}

.three-body__dot:nth-child(2)::after {
 bottom: 0;
 left: 0;
 animation: wobble1 var(--uib-speed) infinite
    calc(var(--uib-speed) * -0.15) ease-in-out;
}

.three-body__dot:nth-child(3) {
 bottom: -5%;
 left: 0;
 transform: translateX(116.666%);
}

.three-body__dot:nth-child(3)::after {
 top: 0;
 left: 0;
 animation: wobble2 var(--uib-speed) infinite ease-in-out;
}

@keyframes spin78236 {
 0% {
  transform: rotate(0deg);
 }

 100% {
  transform: rotate(360deg);
 }
}

@keyframes wobble1 {
 0%,
  100% {
  transform: translateY(0%) scale(1);
  opacity: 1;
 }

 50% {
  transform: translateY(-66%) scale(0.65);
  opacity: 0.8;
 }
}

@keyframes wobble2 {
 0%,
  100% {
  transform: translateY(0%) scale(1);
  opacity: 1;
 }

 50% {
  transform: translateY(66%) scale(0.65);
  opacity: 0.8;
 }
}

.grecaptcha-badge {
  visibility: hidden;
}



/*Checkbox animation */

.checkbox-wrapper-12 {
  position: relative;
}

.checkbox-wrapper-12 > svg {
  position: absolute;
  top: -130%;
  left: -170%;
  width: 110px;
  pointer-events: none;
}

.checkbox-wrapper-12 * {
  box-sizing: border-box;
}

.checkbox-wrapper-12 input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  margin: 0;
}

.checkbox-wrapper-12 input[type="checkbox"]:focus {
  outline: 0;
}

.checkbox-wrapper-12 .cbx {
  width: 24px;
  height: 24px;
  top: calc(100px - 12px);
  left: calc(100px - 12px);
}

.checkbox-wrapper-12 .cbx input {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid gray;
  border-radius: 50%;
}

.checkbox-wrapper-12 .cbx label {
  width: 24px;
  height: 24px;
  background: none;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transform: trasnlate3d(0, 0, 0);
  pointer-events: none;
}

.checkbox-wrapper-12 .cbx svg {
  position: absolute;
  top: 5px;
  left: 4px;
  z-index: 1;
  pointer-events: none;
}

.checkbox-wrapper-12 .cbx svg path {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 19;
  stroke-dashoffset: 19;
  transition: stroke-dashoffset 0.3s ease;
  transition-delay: 0.2s;
}

.checkbox-wrapper-12 .cbx input:checked + label {
  animation: splash-12 0.6s ease forwards;
}

.checkbox-wrapper-12 .cbx input:checked + label + svg path {
  stroke-dashoffset: 0;
}

@-moz-keyframes splash-12 {
  40% {
    background: #866efb;
    box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
  }

  100% {
    background: #866efb;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

@-webkit-keyframes splash-12 {
  40% {
    background: #866efb;
    box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
  }

  100% {
    background: #866efb;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

@-o-keyframes splash-12 {
  40% {
    background: #866efb;
    box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
  }

  100% {
    background: #866efb;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

@keyframes splash-12 {
  40% {
    background: #866efb;
    box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
  }

  100% {
    background: #866efb;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}

/*End of checkbox animation */


/* Custom Checkbox dla ikon aplikacji */
.checkbox-wrapper {
    display: block;
    position: relative;
    cursor: pointer;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    min-height: 100px;
    border: 2px solid transparent;
    border-radius: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
    border: 2px solid #b5bfd9;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.check-mark {
    font-size: 16px;
    color: #645BFF;
    display: none;
}

.checkbox-input:checked + .checkbox-tile .custom-checkbox {
    border-color: #645BFF;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.checkbox-input:checked + .checkbox-tile .check-mark {
    display: block;
}

/* Styl dla ikon pozostawiamy podobny jak wcześniej */
.checkbox-tile img {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 10px;
}

.checkbox-label {
    margin-top: 8px;
    font-size: 0.9em;
    color: #707070;
}

/*EXTERNAL EMAIL INPUTS*/

.external-email-row {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 5px;

    border-radius: 5px;
}

.external-email-icon {
    margin-right: 20px;
}

.external-email-icon img {
    width: 50px;  /* Możesz zmienić rozmiar ikony */
    height: 50px;
    border-radius: 5px;
}

.external-email-input-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.external-email-input-container input[type="email"] {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 5px;
}

.no-account-label {
    font-size: 0.9rem;
    color: #707070;
    display: flex;
    align-items: center;
}

.no-account-label input[type="checkbox"] {
    margin-right: 5px;
}

/*Contracts*/

        .contract-button {
            display: inline-flex;
            flex-direction: row;
            background-color:#f8f8fb;
            font-family:poppins;
            align-items: center;
            justify-content: center;
            width: 280px;
            height: 120px;
            text-decoration: none;
            border: 2px solid #af87ff;
            border-radius: 8px;
            color: #222222;
            font-weight: 600;
            font-size: 20px;
            transition: all 0.3s ease;
            margin-right:15px;
            margin-left:15px;
        }



        .contract-button:hover {
            background-color: #af87ff;
            color: #fff;
        }



@media (max-width: 700px) {

    .contract-button {
        width: 100%;
        margin-bottom:15px;
        margin-right:0px;
        margin-left:0px;

    }
}


/*Statement toggle*/

.statement-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.statement-checkbox .toggle {
  position: relative;
  display: block;
  width: 40px;
  height: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
  margin-right:30px;
  margin-bottom:30px;
}
.statement-checkbox .toggle:before {
  content: "";
  position: relative;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 14px;
  display: block;
  background: #9a9999;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.statement-checkbox .toggle span {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  display: block;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(154, 153, 153, 0.5);
  transition: all 0.2s ease;
}
.statement-checkbox .toggle span:before {
  content: "";
  position: absolute;
  display: block;
  margin: -18px;
  width: 56px;
  height: 56px;
  background: rgba(79, 46, 220, 0.5);
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
}

.statement-checkbox input[type="checkbox"]:checked + .toggle:before {
  background: #AF87FF;
}
.statement-checkbox input[type="checkbox"]:checked + .toggle span {
  background: #645BFF;
  transform: translateX(20px);
  transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
  box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2);
}
.statement-checkbox input[type="checkbox"]:checked + .toggle span:before {
  transform: scale(1);
  opacity: 0;
  transition: all 0.4s ease;
}

    .inline-toggle {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 15px;
    }
    .inline-toggle label.toggle-text {
      cursor: pointer;
      font-weight:400;
      margin-right:10px;
      margin-bottom:30px;
    }
    
    
    
    
    
    
    
    

    
    
    
    
    
    
    
    
    
    
    
/* Kontener nowego checkboxa z tekstem – ustawienie flex oraz wyśrodkowanie pionowe */
.checkbox-statement-agreements {
  display: flex;
  align-items: center; /* checkbox wyśrodkowany pionowo względem tekstu */
  cursor: pointer;     /* cały obszar jest klikalny */
  margin-bottom: 15px;
  gap: 10px;
  position: relative;
}

/* Stylizacja elementu na checkbox – na wzór Twojego .cbx */
.checkbox-statement-agreements .cbx {
  position: relative;
  width: 24px;
  height: 24px;
}

/* Ukrywamy domyślny wygląd checkboxa i stosujemy własny styl */
.checkbox-statement-agreements .cbx input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid gray;
  border-radius: 50%;
}

/* Styl etykiety odpowiadający checkboxowi – wykorzystywany jako „nakładka” animacyjna */
.checkbox-statement-agreements .cbx label {
  width: 24px;
  height: 24px;
  background: none;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

/* Styl svg – taki sam jak w oryginale */
.checkbox-statement-agreements .cbx svg {
  position: absolute;
  top: 5px;
  left: 4px;
  z-index: 1;
  pointer-events: none;
}

.checkbox-statement-agreements .cbx svg path {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 19;
  stroke-dashoffset: 19;
  transition: stroke-dashoffset 0.3s ease;
  transition-delay: 0.2s;
}

/* Akcja animacji – przy zaznaczeniu inputa animacja (splash) działa na label i svg */
.checkbox-statement-agreements .cbx input:checked + label {
  animation: splash-12 0.6s ease forwards;
}

.checkbox-statement-agreements .cbx input:checked + label + svg path {
  stroke-dashoffset: 0;
}

/* Kluczowe animacje – kopiowane z Twojego oryginalnego kodu */
@keyframes splash-12 {
  40% {
    background: #866efb;
    box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb,
                0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
  }
  100% {
    background: #866efb;
    box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent,
                32px 16px 0 -10px transparent, 0 36px 0 -10px transparent,
                -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
  }
}


#notification-dropdown .notification-list-scroll {
  max-height: 70vh;       /* Nie więcej niż 70% okna */
  overflow-y: auto;
  overflow-x: hidden;
  /* Możesz dodać padding, jeśli chcesz: */
  /* padding-right: 4px; */
}

#notification-dropdown .dropdown-item {
  white-space: normal;    /* Zawijaj długie teksty */
  word-break: break-word; /* Łam tekst na końcu linii */
}

#notification-dropdown {
  /* Zabezpieczenie, żeby dropdown nie urósł na szerokość przez długie słowa */
  max-width: 400px;
}
    

