
*
{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

::-webkit-scrollbar
{
  display: none;
}

.navbar-brand
{
  color: #000;
}
.navbar .navbar-nav .nav-item .nav-link
{
  color: #000;
}

/* Osnovna prilagođenost forme i tabele */

  
  .table-responsive {
    overflow-x: auto;
  }
  
  /* Ikonice da budu veće i dovoljno razmaknute na mobilnim uređajima */
  
  /* Input polja da se protegnu u širinu na manjim ekranima */
  @media (max-width: 768px) {
    .form-inline {
      flex-direction: column;
      align-items: stretch;
    }
  
    .form-inline .form-group {
      width: 100%;
      margin-bottom: 10px;
    }
  
    .form-inline .btn {
      width: 100%;
    }
  
    .table td,
    .table th {
      font-size: 0.9rem;
      white-space: nowrap;
    }
  
    .action-icons {
      text-align: right;
    }
  }
  
  /* Dodatni padding za mobilne */
  @media (max-width: 576px) {
    .table th,
    .table td {
      padding: 10px 8px;
    }
  }
  
  #editBtn
  {
    padding: 10px 15px;
    background-color: red;
    border-radius: 0px;
  }
  #editBtn img
  {
    width: 16px;
  }

  #deleteBtn
  {
    padding: 10px 15px;
    background-color: #101010;
    border-radius: 0px;
  }
  #deleteBtn img
  {
    width: 16px;
  }
  #save
  {
    background-color: red;
    border-radius: 0px;
  }
  #save img
  {
    width: 16px;
  }
  #print
  {
    background-color: red;
  }
  #select
  {
    background-color: red;
  }
  #select img
  {
    width: 16px;
    display: block;
    margin: auto;
    margin-top: 12px;
  }
  #print img
  {
    width: 16px;
    display: block;
    margin: auto;
    margin-top: 12px;
  }
  #productForm input
  {
    border-radius: 0px;
  }
  .product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Postavljanje 2 kolone */
    gap: 5mm; /* Razmak između proizvoda */
    width: 100%;
    max-width: 100%;
    margin-bottom: 10mm;
}





.product {
    width: 8cm;
    height: 5cm;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    display: block;
    margin: auto;
    position: relative;
}

.product-name {
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;

}

.product-price {
    font-size: 55px;
    font-weight: 700;
    text-align: center;
    align-items: baseline;
    position: absolute;
    top:60%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 100%;
}

.company-name {
    text-align: center;
    font-size: 18px;
}

@media print {
    body {
        margin: 0;
        padding: 0;
    }

    /* Postavljanje proizvoda u dve kolone pri štampanju */
    .product-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Dve kolone */
        gap: 10mm;
    }

    /* Stilizovanje proizvoda za štampanje */
    .product {
        width: 8cm;  /* Zadrži istu širinu */
        height: 5cm; /* Zadrži istu visinu */
        border: 1px solid #000;
        margin: 0mm 0;
    }

    /* Sakrij dugme za štampanje na štampanom dokumentu */
    #dugme {
        display: none !important;
        color: white;
    }
    button
    {
      display: none !important;
      color: white;

    }
}







/* printPage start */
#printPage
{
    padding: 20px 0px;
}
#printPage button
{
    display: block;
    margin: auto;
    background-color: red;
    padding: 10px 35px;
    color: white;
    border: 0px;
    font-weight: 600;
    border-radius: 0px;
}
/* printPage end */


/* main start */
#main
{
    padding: 100px 0px 20px 0px;
}
#main h2
{
    text-align: center;
    margin-bottom: 30px;
}
/* main end */

/* selectPage start */
#selectPage
{
    padding: 100px 0px;
}
/* selectPage end */

.product-code 
{
  text-align: center;
  font-size: 10px;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);

}
.product-price .decimals {
  font-size: 16px; /* Manji font za decimale */
}
.product-price .whole
{
  font-size: 60px;
  font-weight: 700;
  text-align: center;
}




