/* Izmenio ovo dole */
body {
  font-family: 'Montserrat', Arial;
  background-color: #10142c;
  margin: 0;
  padding: 0;
  color: white;
}
.order-status {
    text-align: center;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 0 10px #0ea5e9, 0 0 20px #0ea5e9, 0 0 30px #0ea5e9;
    animation: pulsiraj 2s infinite;
}
.naslov {
  font-weight: bold;
  color: #0ea5e9;
  border: 1px solid #0ea5e9;
  font-size: 2.6rem;
  display: block;              /* Postaje block element */
  width: fit-content;          /* Širina prema sadržaju */
  margin: 0 auto;              /* Centriranje block elementa */
  padding: 0.05em 0.4em;          /* Razmak oko teksta */                /* Boja slova */
  border-radius: 5px;  
  margin-bottom: 30px/* Zaobljeni uglovi (opciono) */
  text-align: center; 
  background-size: contain;
  background-image: url('https://i.imgur.com/bs6OQEV.png')/* Ako imaš više redova teksta u h1 */
}
    .nav-navbar {
      color: white;
      padding: 10px 20px;
      margin-bottom: 40px;
    }
    /* Kontejner za sadržaj navbara */
    .nav-container {
      display: flex;
      justify-content: center; /* Centrira logo */
      align-items: center;
    }

    /* Logo */
    .nav-logo {
      height: 40px; /* Prilagodi po želji */
    }
.select2-search__field {
  background-color: #202c3c;
  border-radius: 3px;
  color: white;
  font-family: 'Montserrat', Arial;
  border: none !important;
}
.select2-results__option {
  padding: 8px;
}
/* Ovo onaj koji je selektovan */
.select2-results__option--selected {
  background-color: #202c3c !important;
}
.select2-selection {
    border: none !important; /* Remove border */
    box-shadow: none !important; /* Remove box shadow */
    font-weight: bold;
    font-family: 'Montserrat', Arial;
}
.select2-selection__rendered {
    background-color: rgba(14, 165, 233, 0.2);
    color: white !important; /* Maintain text color */
    border-radius: 4px; !important
}
.select2-selection__arrow {
    color: white; !important
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  color: white; !important; /* Set the arrow background color */
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #0ea5e9 !important; /* Set the text color for selected options */
  border: 1px solid #0ea5e9; !important
}

.select2-container--default .select2-selection--single {
  background-color: transparent !important; /* Set background color to black */
  color: white !important; /* Set text color to white */
  border: 1px solid #fff;
  border-radius: 5px;
}
/* Izmenio ovo dole */
.container {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  background-image: url('https://i.imgur.com/13x6Du2.png');
  border-radius: 8px;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  animation: fade-in-up-ab6f318a 0.5s ease-out forwards;
}

/* Wrapper koji drži tri kartice u jednom redu */
.unique-cards-row {
  display: flex;             /* Postavlja elemente u red */
  gap: 2rem;                 /* Razmak između kartica */
  padding: 0 2rem;           /* Ostavlja prostora levo i desno */
  justify-content: center;   /* Opcionalno centriranje (ukloni ako ne treba) */
  flex-wrap: wrap;           /* Da se kartice prelamaju ako je ekran suviše uzak */
    opacity: 0;
  transform: translateX(-50px);
  animation: slideFadeIn 1.5s ease-out forwards;
}
/* Slika (ikonica) u gornjem desnom uglu, 25x25 px */
.unique-top-right-img {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* Pojedinačna kartica */
.unique-price-comparison-container {
  position: relative;
    /* Opcionalno: fallback boja za starije browsere */
  background-color: #10142c; 
  /* Standardni linearni gradient */
  background: linear-gradient(
    to top right,  /* smer: od donjeg levog ka gornjem desnom */
    #10142c,
    #202c3c
  );
  color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  width: 300px;              /* Fiksna širina (prilagodi po potrebi) */
}

/* Badge u gornjem levom uglu */
.unique-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(14, 165, 233, 0.15);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  opacity: 1;
  color: #0ea5e9;
}

/* Naslov */
.unique-title {
  margin-top: 2rem;   /* Da se naslov ne “sudara” sa badge-om */
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Podnaslov */
.unique-subtitle {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #cccccc;
}

/* Informacija o broju marketplace-ova */
.unique-marketplaces {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #aaaaaa;
}

.unique-marketplaces-fee1 {
  margin-bottom: 0px;
    font-size: 0.9rem;
  color: #aaaaaa;
}

.unique-marketplaces-fee5 {
  margin-top: 3px;
    font-size: 0.9rem;
  color: #aaaaaa;
}
/* Dugme/link za poređenje cena */
.unique-link {
  display: inline-block;
  text-decoration: none;
  background-color: #4654ea;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.unique-link:hover {
  background-color: #5b6cf0;
}


@keyframes pulsiraj {
  0%, 100% {
    text-shadow: 0 0 0px #0ea5e9, 0 0 5px #0ea5e9, 0 0 15px #0ea5e9;
  }
  50% {
    text-shadow: 0 0 5px #0ea5e9, 0 0 0px #0ea5e9, 0 0 35px #0ea5e9;
  }
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.select2-dropdown.select2-dropdown--below {
  background-color: #10142c;
  border-radius: 8px;
  border: 0px solid #fff;
  font-family: 'Montserrat', Arial;
  font-weight: bold;
  font-size: 13px;
}
.select2-results__option {
  color: white;
  background-color: transparent;
}
/* Stilizovanje kontejnera za unos iznosa – dva bloka pored sebe */
.amount-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.amount-block {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
}

.amount-block label {
  margin-bottom: 8px;
  font-weight: bold;
}
/* Izmenio ovo dole */
.amount-block input[type="number"],
.amount-block input[type="text"] {
  font-family: 'Montserrat', Arial;
  padding: 10px;
  font-size: 20px;
  border: 2px solid #0ea5e9;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #0ea5e9;
  font-weight: bold;
}

/* Stilizovanje polja za unos adrese */
.address-container {
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial;
}

.address-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}
/* Izmenio ovo dole */
.address-container input[type="text"] {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 18px;
  border-radius: 4px;
  border: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: 'Montserrat', Arial;
  color: #FFFFFF73;
}

/* Stilizovanje malih input polja za unos valuta */
.currency-code {
  margin-bottom: 5px;
}
.currency-code label {
  font-size: 14px;
  margin-bottom: 2px;
  display: block;
}
.currency-code input {
  width: 60px;
  padding: 5px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}
    .modal {
      display: none; /* Skriven po defaultu */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
      font-family: 'Montserrat', Arial;
    }
    .modal.active {
      display: flex;
    }
    .modal-content {
      background: #fff;
      border-radius: 8px;
      padding: 20px 30px;
      max-width: 500px;
      width: 90%;
      text-align: center;
      position: relative;
      animation: fadeInDown 0.5s ease;
      color: black;
    }
    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .modal-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      color: #333;
      background: none;
      border: none;
      cursor: pointer;
    }
    .modal-btn {
      padding: 10px 20px;
      margin-top: 15px;
      background-color: #0ea5e9;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      font-family: 'Montserrat', Arial;
      font-weight: 400;
    }
    .modal-btn:hover {
      background-color: #2980b9;
    }
/* Kontejner za dugmiće – flex raspored */
.actions-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dugmići za izbor načina (Fixed / Float) */
.mode-buttons {
  display: flex;
}

.mode-btn {
  font-family: 'Montserrat', Arial;
  padding: 10px 20px;
  border: 0px solid #fff;
  background-color: rgba(0, 0, 0, 0.3);
  color: #000;
  cursor: pointer;
  margin-right: 10px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
  font-size: 16px;
  color: white;
}

.mode-btn:last-child {
  margin-right: 0;
}

.mode-btn:hover {
  background: #1e293b80;
  color: white;
}

.mode-btn.active {
  background-color: rgba(0, 0, 0, 0.3);
  color: #0ea5e9;
  border: 2.5px solid #0ea5e9;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.2), 0 0 10px rgba(14, 165, 233, 0.2);
}

/* Dugme za kreiranje order-a */
.create-order-container {
  flex-shrink: 0;
}

.create-order-btn {
  padding: 10px 20px;
  background: #0ea5e9;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Montserrat', Arial;
  font-weight: bold;
}

.create-order-btn:hover {
  background: #0056b3;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.2), 0 0 10px rgba(14, 165, 233, 0.2);
}

/* Prikaz rezultata order-a */
.order-result {
  margin-top: 0px;
  padding: 10px;
  border-radius: 4px;
  font-family: 'Montserrat', Arial;
  white-space: pre-wrap;
  color: white;
  font-weight: bold;
  font-size: 17px;
  animation: fade-in-up-ab6f318a 0.5s ease-out forwards;
}
.order-result img[alt^="QR Code"] {
   background-color: white;
   border-radius: 3px;
   display: block;
   margin: 0 auto;
}
.sender-address-value {
    margin-bottom: 7px;
}
.exchange-icon img {
   background-color: transparent;
   text-align: center;
   margin-bottom: 5px;
   margin-top: 5px;
}
.exchange-icon {
    text-align: center;
}
.send-amount img {
 background-color: transparent;
}
.receive-amount img {
    background-color: transparent;
}
.order-id {
    text-align: center;
    margin-bottom: 10px;
}
.send-amount {
    text-align: center;
}
.receive-amount {
    text-align: center;
}
.terms {
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
}
#timer {
  text-align: center;
  margin: 20px auto;
  font-size: 24px;
  font-weight: bold;
  color: #0ea5e9; /* opcionalno, možeš promeniti boju */
  margin-bottom: 10px;
}
.order-mode {
    text-align: center;
    margin: 20px auto;
    font-size: 24px;
    color: #0ea5e9;
}
.receiver-address-value {
    margin-bottom: 10px;
}
.sender-address-value, .receiver-address-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin-top: 10px;
  background-color: rgba(14, 165, 233, 0.2);
  border-radius: 4px;
  color: #0ea5e9;
    
}

.copy-address-btn {
  /* margin-left: auto; nije nužno jer justify-content postavlja razmak */
  cursor: pointer;
  color: #0ea5e9; /* primer boje, prilagodi po želji */
}

img {
    text-align: center;
}
.cards-section {
  font-family: 'Montserrat', Arial;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  gap: 120px; /* Povećan razmak između kartica */
}

.card {
  background-color: transparent;
  text-align: center;
  margin: 0; /* Bez dodatnog margina */
  width: 300px;
  border-radius: 5px;
  overflow: hidden;
  animation: fade-in-up-ab6f318a 0.5s ease-out forwards;
}

    /* Slika unutar kartice */
    .card img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* Naslov */
    .card h2 {
      font-size: 1.25rem;
      margin: 10px 0;
    }

    /* Tekst */
    .card p {
      font-size: 1rem;
      margin: 10px;
    }

@keyframes fade-in-up-ab6f318a {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Query za mobilne uređaje */
@media only screen and (max-width: 600px) {
  /* Kontejner se skalira po širini uređaja */
  .container {
    width: 95%;
    max-width: 95%;
    margin: 30px auto;
    padding: 10px;
  }
  .naslov {
    font-size: 1.5rem;
    margin-bottom: 35px;
  }
  /* Blokovi za unos iznosa se slažu vertikalno */
  .amount-container {
    flex-direction: column;
  }
  .amount-block {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }

  /* Akcije i dugmići se slažu vertikalno */
  .actions-container {
    flex-direction: column;
    align-items: stretch;
  }
  .order-result {
    padding-left: 0px;
    padding-right: 0px;
  }
.mode-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center; /* Centriranje dugmadi */
  gap: 10px;              /* Razmak između svakog dugmeta */
  margin-bottom: 15px;    /* Donji razmak kontejnera, ako je potreban */
}

.mode-btn {
  width: auto; /* Ili željena širina */
}

  .create-order-btn {
    width: 100%;
  }
  .send-address, .receive-address {
    flex-direction: column;
    align-items: flex-start;
  }
  .sender-address-value, .receiver-address-value {
    padding: 5px;
    font-size: 12px;
  }
  .sender-address-label, .receiver-address-label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 13px;
  }
        .cards-section {
        flex-direction: column;
        align-items: center;
      }

      .card {
        width: 80%;
      }
}
