:root {
  --blue-color: #043151;
  --color-dark: #2d2d2d;
  --color-light: #3b3b3b;
  --text-grey: #8390a2;
  --text-light: #959494;
  --color-grey: #efefef;
  --color-lightes: #ffffff;
  /* Vars */
  --Blue-Darkest: #142233;
  --Blue-Lightest: #f5f7fa;
  --Medium-blue: #7a92af;
  --bs-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  --bs-body-font-family: Noto-Sans, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji,
    Segoe UI Symbol, Noto Color Emoji;
  --bs-blue: #236cc4;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-body-bg: #fff;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #405063;
}

body {
  font-family: "Noto Sans";
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
  box-sizing: border-box;
  color: var(--color-dark);
}

p {
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 28px;
  font-weight: 400;
}

.bg-light {
  background-color: #f5f7fa !important;
}

.btn-primary,
.btn-secondary,
.btn-light {
  font-size: 12px;
  padding: 16px;
  font-weight: 700;
}

.mw-button {
  min-width: 220px;
  padding: 14px 10px;
}

@media (max-width: 1024px) {
  .mw-button {
    min-width: 140px;
  }
}


.alert {
  padding: 16px;
  font-size: 14px;
  color: var(--Blue-Darkest);
  border: 0;
}

.alert-primary {
  background-color: #dae5f2;
}

.alert-success {
  background-color: #edfaf5;
  color: #489d7d;
}

.dropdown-menu {
  left: auto !important;
  right: 0;
}

.table-button {
  padding: 9px 22px;
}

a.link {
  font-size: 14px;
  color: #000;
  font-weight: 700;
}

a.btn-primary,
button.btn-primary,
input.btn-primary {
  background-color: #ed1a3b;
  border-color: #ed1a3b;
  --bs-btn-border-color: #ed1a3b;
  border-radius: 6px;
}

a.btn-primary:hover,
button.btn-primary:hover,
input.btn-primary:hover {
  background-color: #ff1c40;
  --bs-btn-border-color: #ff1c40;
  border-color: #ff1c40;
}

.btn-secondary {
  border-radius: 6px;
  border: 1px solid #7a92af;
  background-color: transparent;
  color: #000;
}
.btn-success-custom {
  border-radius: 44px;
  border: 1px solid #7a92af;
  background-color: #6c757d;
  color: #fff;
}
.btn-success-custom:hover {
  background-color: #60656a;
  color: #fff;
}
.poslata {
  background-color: #6c757d;
  color: #fff;
}
.btn-light {
  border-radius: 44px;
  background-color: var(--color-lightes);
  border-color: #000;
}
.btn-light:hover {
  border-color: #000;
}

.text-muted {
  color: #7a92af;
  font-size: 12px;
}

body .mw-600 {
  max-width: 600px;
}

.text-blue {
  color: var(--blue-color);
}

.text-light-blue {
  color: #2470dc;
}

.ta-r {
  text-align: right;
}

.alert-success {
  color: #006e2c;
  background-color: #ccf1db;
  border-color: #b3e9c9;
  padding: 0.75rem;
}

.alert-danger {
  color: #951d32;
  background-color: #fed6dd;
  border-color: #fdc1cc;
  padding: 0.75rem;
}

.content-card {
  border-radius: 0.5rem;
}

.border-blue {
  border: 1px solid #1947a861;
}

.box-shadow {
  box-shadow: -2px 6px 16px 0px #0000001a;
}

/* Inputs */
input:focus {
  outline: none;
  border-color: white;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-control:focus {
  border-color: #fff;
  box-shadow: none;
}

.form-label {
  float: left;
  font-size: 14px;
  padding-left: 0.8rem;
}

.form-control {
  border-color: white;
  padding: 16px;
  font-size: 12px;
  /* IZMENA */
  border-radius: 6px;
  color: var(--blue-color);
}

.form-control::placeholder {
  color: #7a92af;
}

/* TAGOVI */

.tags-status-box {
  flex-direction: column;
  gap: 8px;
}

/* PROLASCI */
.tag-info {
  display: flex;
  justify-content: space-between;
}

.tag-info-name,
.tag-info-amount {
  display: flex;
  flex-direction: column;
}

.tag-info-amount {
  text-align: end;
}

.tag-label {
  font-size: 12px;
  color: #7a92af;
}

.tag-name {
  color: #405063;
  font-size: 20px;
}

@media (max-width: 576px) {
  .tag-info {
    flex-direction: column;
  }

  .tag-info-amount {
    text-align: left;
  }
}

/* MODAL */
.modal-content {
  background-color: var(--Blue-Lightest);
  border: 0; 
}

.modal-title {
  font-size: 28px;
}

.modal-header {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  border-bottom: 0;
}

.modal-body {
  padding: 0 1.5rem 0.5rem 1.5rem;
}

.modal-footer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 0;
}

.bullet-list li {
  font-size: 20px;
  color: var(--bs-body-color);
}

/* KARTICE */

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-item {
  font-size: 12px;
  font-weight: 700;
  padding: 9px 22px;
  border: 1px solid #7a92af;
  border-radius: 8px;
  cursor: pointer;
}

.tab-item.active,
.tab-item:hover {
  color: white;
  background-color: #405063;
  border-color: #405063;
}

.cards {
  max-width: 550px;
}

.card-item {
  max-width: 550px;
  background-color: white;
  padding: 28px 16px;
  border-radius: 8px;  
  border: 1px solid #DAE5F2;
}

.item-inactive{
  background-color: #b0b3b8!important;
}

.card-item.default {
  box-shadow: 0px 0px 9px 0px #fc9c9c94;
}

.card-header {
  display: flex;
  justify-content: space-between;
}

.card-no {
  font-size: 20px;
  color: #405063;
}

.card-divider {
  margin-top: 12px;
  margin-bottom: 12px;
  color: #DAE5F2;
}

.card-details {
  display: flex;
  justify-content: space-between;
}

.card-default-label {
  font-size: 12px;
  color: #405063;
  font-weight: 700;
}

.card-non-default-label {
  font-size: 12px;
  color: var(--blue-color);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.inactive-card{
  text-decoration: none!important;
  cursor: none!important;
  color: red!important;
}

.card-label {
  font-size: 12px;
  color: #7A92AF;
}

.card-item img {
  border-radius: 3px;
}

/* DASHBOARD START */

/* IZMENA */
.dashboard-body header {
  background-color: var(--bs-white);
}

/* IZMENA */
.logo-image {
  width: 150px;
  padding: 10px 0;
}

/*
   * Sidebar
   */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
    right: 0;
    */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar-icon {
  background-repeat: no-repeat;
  display: inline-block;
  background-size: cover;
}

/* Sidebar menu icons */
.sidebar-icon.profile {
  background-image: url(../img/icons/account_circle.svg);
  width: 32px;
  height: 32px;
}

.active .sidebar-icon.profile {
  background-image: url(../img/icons/account_circle-active.svg);
}

.sidebar-icon.bills {
  background-image: url(../img/icons/receipt_long.svg);
  width: 30px;
  height: 30px;
}

.active .sidebar-icon.bills {
  background-image: url(../img/icons/receipt_long-active.svg);
}

.sidebar-icon.history {
  background-image: url(../img/icons/history.svg);
  width: 30px;
  height: 30px;
}

.active .sidebar-icon.history {
  background-image: url(../img/icons/history-active.svg);
}

.sidebar-icon.cards {
  background-image: url(../img/icons/credit_card.svg);
  width: 30px;
  height: 30px;
}

.active .sidebar-icon.cards {
  background-image: url(../img/icons/credit_card-active.svg);
}

.sidebar-icon.tags {
  background-image: url(../img/icons/directions_car.svg);
  width: 30px;
  height: 30px;
}

.active .sidebar-icon.tags {
  background-image: url(../img/icons/directions_car-active.svg);
}

.sidebar-icon.refund {
  background-image: url(../img/icons/refund.svg);
  width: 30px;
  height: 30px;
}

.active .sidebar-icon.refund {
  background-image: url(../img/icons/refund-active.svg);
}

.sidebar-icon.logout {
  background-image: url(../img/icons/logout.svg);
  width: 30px;
  height: 30px;
}

.active .sidebar-icon.logout {
  background-image: url(../img/icons/logout-active.svg);
}

/* Header */
@media (max-width: 768px) {
  .language-switcher {
    position: absolute;
    right: 70px;
  }
}

.language-switcher-icon {
  background-image: url(../img/language-icon.svg);
  background-repeat: no-repeat;
  width: 39px;
  height: 39px;
}

.recapitulation-table {
  width: 500px;
}

.total-card {
  display: flex;
  gap: 8px;
  background-color: #605f5f;
  padding: 6px 9px;
  border-radius: 32px;
  align-items: center;
}

.total-card .label {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-left: 5px;
  margin-right: 5px;
}

.total-card .currency-total-box {
  background-color: #8d8d8d;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 20px;
}

.total-card .currency-amount {
  color: white;
}

.total-card .currency-symbol {
  color: white;
  font-size: 12px;
}

@media (max-width: 768px) {
  .total-card {
    flex-direction: column;
    width: 100%;
    padding: 12px;
  }
}

table.racuni {
  font-size: 14px;
}

table.racuni td,
.recapitulation-table td {
  vertical-align: middle;
}

table.tagovi td{
  vertical-align: top;
}

.table-header-text {
  color: var(--Blue-Darkest);
  font-size: 12px;
  font-weight: 700;
}

.text-blue-medium {
  color: #7a92af;
}

.text-blue-large {
  color: var(--blue-color);
  font-size: 1rem;
}

.payment-status {
  background-color: grey;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
  text-align: center;
  display: block;
}

@media (max-width: 1024px) {
  .payment-status {
    display: inline;
  }
}

.payment-status.success,
.tag-item .status.success {
  color: #489d7d;
  background-color: #edfaf5;
}

.payment-status.failed,
.tag-item .status.failed {
  color: #d73732;
  background-color: #faeeed;
}

.payment-status.waiting,
.tag-item .status.waiting {
  color: #e5852d;
  background-color: #faf3ed;
}

@media (max-width: 1024px) {

  table.racuni thead {
    display: none;
  }

  table.racuni td {
    display: block;
    border-bottom: none;
    text-align: right;
  }

  table.tagovi td {
    text-align: left !important;
  }

  table.racuni tr {
    border-bottom: 1px solid #dadada;
  }

  table.racuni td::before {
    content: attr(data-title);
    float: left;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9rem;
    color: black;
  }

  .recapitulation-table {
    width: 100%;
  }

  .card-item.other-card .non-default-label {
    display: block;
    font-size: 0.8rem;
  }
}

.action-button {
  background-color: #e4e5e6;
  border-radius: 8px;
}

.action-button:hover {
  background-color: var(--blue-color);
  color: white;
}

.action-button:hover i {
  color: white;
}

.action-button i {
  color: var(--blue-color);
}

.sidebar-sticky {
  height: calc(100vh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar .nav-item {
  padding: 0.25rem 0;
}

.sidebar .nav-link {
  font-weight: 400;
  font-size: 16px;
  color: #333;
  display: flex;
  gap: 5px;
  align-items: center;
}

@media (max-width: 1280px) {
  .sidebar .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .sidebar .nav-link {
    font-size: 14px;
  }
}

.sidebar .nav-link i {
  margin-right: 4px;
  color: #333;
}

.sidebar .nav-link.active,
.sidebar .nav-link.active i {
  color: var(--blue-color);
}

.sidebar .nav-link:hover,
.sidebar .nav-link:hover i,
.sidebar .nav-link.active i {
  color: var(--blue-color);
}

.sidebar-heading {
  font-size: 0.75rem;
}

/*
   * Navbar
   */

.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.navbar .navbar-toggler {
  top: 0.75rem;
  right: 1rem;
}

.navbar .form-control {
  padding: 0.75rem 1rem;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.helper-hover:hover  .hidden-div {
  display: block;
}

.hidden-div {
  display: none;
}

.helper-serial {
  margin-left: 15px;
}

.popup-hover-custom {
  position: relative;
}

.pay-text {
  display: none;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-hover-custom:hover .pay-text {
  display: block;
}

.input-group-text {
  cursor: pointer;
}

.has-admin {
  top:30px;
}

.admin-top-header {
  width: 100%;
  position:fixed;
  top:0;
  left: 0;
  margin:0;
  height: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  z-index: 1030;
  padding: 0 30px 0 30px;
  background: red;
}

.admin-top-header > div > a {
  color: yellow;
}

.admin-top-header > div:first-child {
  color:yellow;
}

.admin-top-header > div:last-child {
  display: grid;
  justify-self: end;
  text-align: right;
}

.mt-20 {
  margin-top:20px;
}

.link-return-to-admin {
  text-decoration: none;
}
.tab-item.disabled {
  color: #7a92af;
  background-color: #f5f7fa;
  border-color: #7a92af;
}
.t.tab-item.disabled:hover {
  color: #7a92af;
  background-color: #f5f7fa;
  border-color: #7a92af;
}

.scrollable-tags {
  max-height: 300px;
  overflow-y: auto;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Blaga senka */
}

/* Scrollbar stilizacija za WebKit */
.scrollable-tags::-webkit-scrollbar {
  width: 8px;               /* širina scrollbara */
}

.scrollable-tags::-webkit-scrollbar-track {
  background: #f0f0f0;      /* pozadina scroll trake */
  border-radius: 10px;
}

.scrollable-tags::-webkit-scrollbar-thumb {
  background-color: #bbb;   /* boja skrol dugmeta */
  border-radius: 10px;
  border: 2px solid #f0f0f0; /* "prazan" prostor oko thumb-a */
}

.scrollable-tags::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

/*** tabs ***/
.custom-tabs {
  display: flex;
  background-color: #f3f3f3;
  padding: 8px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.custom-tabs:first-child {
  padding-left: 20px;
}

.custom-tabs li {
  width: auto;
}

.custom-tabs::-webkit-scrollbar {
  display: none;
}

.custom-tabs .nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: sans-serif;
  font-size: 16px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: auto;
}

.custom-tabs .nav-link.active {
  background-color: #ffffff;
  color: #007bff;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
  margin-top: 20px;
}
