* {
    box-sizing: border-box;
    transition: .1s linear;
}

body {
    background-color: #fff;
    font-family: "Inter", sans-serif;
}

.preheader {
    background: #30336b;
    color: #eee;
    padding: 10px 30px;
    text-align: center;
    font-size: 13px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.header {
    padding: 30px 100px;
    background: #4a69bd;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 9px 28px, rgba(0, 0, 0, 0.22) 0px 5px 12px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    gap: 30px;
    height: 15vh;
}

.header-logo-section {
    padding: 0;
    margin: 0;
}

.logo {
    height: 30px;
    width: auto;
}

.header-nav-section {
    display: flex;
    justify-content: flex-end;
}

.navigation {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 15px;
}

.navigation li a {
    display: flex;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 16.5px;
    font-weight: 400;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: .1s linear;
    flex-flow: row nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.navigation li a svg {
    width: auto;
    height: 18px;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(96%) sepia(4%) saturate(16%) hue-rotate(142deg) brightness(104%) contrast(105%);
}

.navigation li a:hover {
    background-color: #fff;
    color: #000;
}

.navigation li a:hover svg {
    filter: brightness(0) saturate(100%) invert(0%) sepia(100%) saturate(15%) hue-rotate(91deg) brightness(95%) contrast(103%);
}

.wrapper {
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    padding: 70px 100px;
    min-height: 79vh;
}

.footer {
    background: #eee;
    padding: 20px;
    text-align: center;
    width: 100%;
    height: 6vh;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 13px;
}

.header-info-section {
    background: #fff;
    display: flex;
    border-radius: 3px;
    flex-flow: row nowrap;
}

.info-section-left {
    border-radius: 6px;
    padding: 25px 40px 25px 30px;
    background: #fff;
    display: flex;
    gap: 15px;
    flex-flow: column wrap;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
}

.current-account-name,
.current-account-tokens {
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.current-account-name svg {
    font-size: 10px;
    width: 18px;
    margin-right: 8px;
}

.current-account-name > span {
    font-weight: 400;
    margin-left: 5px;
}

.current-account-tokens svg {
    font-size: 10px;
    width: 18px;
    margin-right: 8px;
}

.current-account-tokens > span {
    font-weight: 400;
    background-color: #27ae60;
    border-radius: 50px;
    padding: 4px 8px;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    margin-left: 5px;
}

.current-account-tokens-none > span {
    background-color: #c0392b;
}

.info-section-right {
    border-radius: 6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 20px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.info-change-account-btn {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    background-color: #30336b;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    padding: 15px 25px;
    text-transform: capitalize;
}












.modal-overlay {
    position: fixed;
    z-index: 100;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    visibility: hidden;
    opacity: 0;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.modal-overlay--visible {
    display: flex;
    visibility: visible;
    opacity: 1;
}

.modal-box {
    padding: 40px 50px;
    min-width: 900px;
    min-height: 600px;
    max-height: 800px;
    overflow-y: scroll;
    border-radius: 12px;
    background: #fff;
    position: relative;
}

.modal-box::-webkit-scrollbar,
.container__textarea::-webkit-scrollbar {
    width: 8px;
  }
  
  .modal-box::-webkit-scrollbar-track,
  .container__textarea::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
   

  .modal-box::-webkit-scrollbar-thumb,
  .container__textarea::-webkit-scrollbar-thumb {
    background: #4a69bd; 
  }
  
  .modal-box::-webkit-scrollbar-thumb:hover,
  .container__textarea ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

.response-code {
    text-align: center;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 20px;
    cursor: pointer;
}

.modal-close-btn:hover {
    opacity:0.7;
}

.modal-box-header {
    text-align: center;
    font-size: 22px;
    margin-bottom: 40px;
}

.modal-box-list {
    border-radius: 12px;
    border: 1px solid #eee;
}

.modal-box-item {
    background: #eee;
    padding: 30px;
    display: flex;
    gap: 40px;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.modal-box-item:nth-child(1) {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-box-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}


.modal-box-item:nth-child(2n) {
    background: #fff;
}

.modal-item-left {
    display: flex;
    gap: 8px;
    flex-flow: column wrap;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
    min-width: 600px;
}

.modal-item-info {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    gap: 7px;
}

.modal-item-info-label svg {
    width: 20px;
}

.modal-item-right {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.modal-item-counter,
.modal-item-tokens {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.modal-item-tokens {
    flex-flow: column wrap;
    gap: 13px;
    margin-right: 50px;
}

.modal-item-tokens b {
    font-weight: bold;
}

.modal-item-counter > span {
    font-size: 17px;
    font-weight: bold;
    border-radius: 50%;
    background: #30336b;
    width: 35px;
    height: 35px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.modal-item-tokens > span {
    font-weight: 400;
    background-color: #27ae60;
    border-radius: 50px;
    padding: 4px 8px;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    margin-left: 5px;
}


.modal-item-info {
}

.modal-item-info-label {
    font-weight: bold;
}

.modal-item-info-highlight {

}

.modal-item-info-highlight-name {
    font-weight:600;
}

.modal-item-choose-btn {
    background: #30336b;
    display:flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    cursor: pointer;
    outline: none;
    gap: 8px;
    border: none;
    padding: 15px 25px 15px 20px;
    min-width: 135px;
}

.modal-item-choose-btn:hover {
    background-color: #373b7a;
}

.btn-acc-active {
    background: transparent;
    color: #fff;
    box-shadow: none;
    border: 0;
    min-width: 165.41px;
    width: auto;
    background-color: #c0392b;
    cursor: not-allowed;
}

.btn-acc-active:hover {
    background: #111;
    color: #fff;
}


.modal-item-choose-btn svg {
    width: 12px;
    margin-left: 10px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(116deg) brightness(103%) contrast(102%);
}


.page-content-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    position: relative;
}

.page-content-header:after {
    content: '';
    width: 50px;
    position: absolute;
    height: 3px;
    top: 45px;
    left: calc(50% - 25px);
    background-color: #000;
}

.app-table {
    margin-top: 40px;
    width: 100%;
    max-width: 1400px;
    border-collapse: collapse;
    font-size: 16px;
    text-align: left;
    border: 2px solid #4a69bd;
}

.app-table th {
    background-color: #4a69bd;
    color: white;
    padding: 25px 20px;
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

.app-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.app-table td svg {
    width: 22px;
    margin-bottom: -5px;
}

.app-table td:last-child {
    text-align: center;
}

.app-table td:not(:last-child) {
    line-height: 200%;
}

.app-table tr:nth-child(even) {
    background-color: #efefef;
}

.app-table td:first-child {
    font-weight: bold;
    text-align: center;
}

.app-table tr:hover {
    background-color: #d1e7ff;
    cursor: pointer;
}

.app-table-logs td:nth-child(3),
.app-table-logs td:nth-child(4) {
    text-align: center;
}










.loading-icon {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}




.modal-invoke-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 10px;
}

.modal-invoke-btn svg {
    width: 15px;

}








.container {
    display: flex;
    border: 5px double #3498db;
    box-shadow: #110c2e26 0px 48px 100px 0px;
    overflow: hidden;
    max-height: 32rem;
    border-radius: 4px;
    min-height: 32rem;
    font-family: "Inter", sans-serif !important;
}

.container__textarea {
    border: none;
    font-family: "Inter", sans-serif !important;
    color: #222;
    outline: none;
    padding: 0.65rem 0.5rem 0.65rem 0.5rem;
    font-size: 15px;
    line-height: 170%;
    font-weight: 500;
    width: 100%;
    min-width: 900px;
}

.container__lines {
    border-right: 1px solid rgb(203 213 225);
    padding: 0.5rem;
    min-width: 43px;
    text-align: center;
    font-weight: bold !important;
    color:#fff;
    overflow: hidden;
    background:#4a69bd;
}

.container-buttons {
    display: flex;
    justify-content: center;
    flex-flow: row nowrap;
    gap: 20px;
    padding: 20px 40px;
    width: fit-content;
    border-radius: 5px;
    border: 5px double #3498db;
    background-color: #fff;
    margin: 30px auto 0 auto !important;
}

#clear-textarea,
#send-to-api-btn {
    font-family: "Inter", sans-serif !important;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 20px;
    min-width: 120px;
    outline: none;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

#send-to-api-btn[disabled] {
    cursor: not-allowed !important;
    background: #16a085;
}

#send-to-api-btn[disabled] {
    background: #16a085 !important;
}

#clear-textarea svg {
    width: 17px;
}

#send-to-api-btn svg {
    width: 20px;
}

#clear-textarea {
    background-color: #c0392b;
}

#send-to-api-btn {
    min-width: 200px;
    background-color: #27ae60;
}

#clear-textarea:hover {
    background-color: #a33327;
}

#send-to-api-btn:hover {
    background-color: #2ecc71;
}

#url-form {
    position: relative;
}


.loading-icon2 {
    width: 25px !important;
}





































#notification-container {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
  }

  .notification {
    margin-bottom: 30px;
    padding: 25px 40px;
    padding-right: 60px;
    border-radius: 50px;
    min-width: 350px;
    color: white;
    font-size: 15px;
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row nowrap;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  }

  .notification svg.ico {
    width: 25px;
  }

  .notification .close {
    position: absolute;
    top: calc(100% / 2 - 8px);
    right: 22px;
    width: 12px;
    cursor: pointer;
  }

  .notification .close:hover {
    opacity: 0.7;
  }

  .notification.success {
    background-color: #28a745;
  }

  .notification.error {
    background-color: #c0392b;
  }

  .notification.info {
    background-color: #17a2b8;
  }

  /*
  .notification::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100px;
    transform: scaleX(0);
    transform-origin: left;
    animation: progress 5s linear forwards;
  }



  @keyframes progress {
    0% {
      transform: scaleX(0);
    }
    100% {
      transform: scaleX(1);
    }
  }

  */

  #export-csv-btn {
    margin-top: 25px;
    background-color: #30336b;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    padding: 15px 25px;
    width: 170px;
    outline: none;
    border: 0;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    align-content: center;
    gap: 10px;
    text-transform: capitalize;
  }

  #export-csv-btn:hover {
    background-color: #282b5e;
  }

  #export-csv-btn svg {
    filter: invert(100%) sepia(7%) saturate(26%) hue-rotate(225deg) brightness(105%) contrast(106%) !important;
  }
  
  #export-csv-btn svg {
    width: 17px;
    height: auto;
  }

  #export-csv-btn[disabled] {
    background: #bdc3c7;
    color: #888;
    cursor: not-allowed;
  }

  #export-csv-btn[disabled] svg {
    filter: invert(62%) sepia(0%) saturate(20%) hue-rotate(158deg) brightness(87%) contrast(91%) !important;
  }

.account-table-elem {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    gap: 15px;
}

.accounts-table-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: #4a69bd;
    height: 35px;
    gap: 5px;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 3px;
    color: #fff;
    padding: 0 10px;
    margin: 0;
}

.accounts-table-btn:hover {
    background-color: #2c3e50;
}

.accounts-table-svg {
    height: 18px;
    width: auto;
    margin: 0 !important;
    padding: 0;
}

.accounts-table {
    max-width: 1400px;
}

/* Stylizacja głównego wrappera paginacji */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: 900px;
    flex-flow: column wrap;
    gap: 25px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 40px;
}

.pagination-info {
    font-size: 14px;
    color: #555;
}

.pagination {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 12px 12px;
    font-size: 14px;
    color: #111;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.pagination-btn:hover {
    color: #fff;
    background-color: #4a69bd;
    border-color: #4a69bd;
}

.pagination-btn.active {
    color: #fff;
    background-color: #435eaa;
    border-color: #435eaa;
    cursor: default;
}

.pagination-btn:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    padding: 30px 0;
}

.filter-form div {
    display: flex;
    flex-flow: column wrap;
    gap: 15px;
    border-right: 1px solid #eee;
    padding: 0 50px;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.filter-form div:last-child {
    border: none;
}

.filter-form label {
    font-weight: 500 !important;
    font-size: 15px;
}

.filter-form input,
.filter-form button {
    padding: 10px 20px;
    font-size: 15px;
}

.filter-form input {
    border-radius: 50px;
    outline: 0;
    border: 1px solid #999;
}

.filter-form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filter-form button:hover {
    background-color: #0056b3;
}
