body {
    font-family: 'Roboto', sans-serif; /* Promijenjen font */
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* Svetlo plava pozadina */
    color: #333;
    line-height: 1.6;
    
}

.container {
    max-width: 1100px; /* Povećan max-width containera za veće ekrane */
    margin: 20px auto;
    padding: 40px; /* Povećan padding */
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 15px; /* zaobljeni uglovi kontejnera */
}

h1, h2, h3 {
    color: #1a4873; /* Tamno plava za naslove */
    margin-bottom: 1.5rem;
     text-align: center;
}

/* Stil za tabele */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #ddd;
     table-layout: fixed; /* Dodato */
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
   word-break: break-word;
}
/* Centriranje samo za kolone osim predmeta */
table th:not(:nth-child(2)),
table td:not(:nth-child(2)) {
    text-align: center;
    vertical-align: middle;
}

th {
    background-color: #eee;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Stilovi za forme */
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form select,
form textarea {
    width: 100%;
    padding: 12px; /* Povećan padding */
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #ccc;
     border-radius: 30px; /* zaobljeni uglovi inputa */
    transition: border-color 0.3s ease; /* tranzicija */
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="number"]:focus,
form select:focus,
form textarea:focus{
      border-color: #428bca; /* Plava boja fokusa */
}


form button, a.button {
    background-color: #428bca; /* Plava dugmad */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
     display: inline-block; /* dugmad se ponaša kao blok element */
     text-decoration: none;
}

form button:hover, a.button:hover {
    background-color: #3071a9;
}


/* Stil za linkove */
a {
    color: #428bca;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Stil za error message */
.error-message {
    color: red;
    margin-top: 10px;
}

/* Stil za admin sekcije */
.admin-section {
    background-color: #f0f8ff; /* Svetlo plava pozadina sekcija */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}
/* Responzivni dizajn */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
      table th:nth-child(1),
    table td:nth-child(1) {
        width: 40px;
     }
    table th:nth-child(3),
    table td:nth-child(3),
    table th:nth-child(5),
    table td:nth-child(5)
     {
        width: 120px;
    }
    table th:nth-child(4),
    table td:nth-child(4),
    table th:nth-child(6),
    table td:nth-child(6),
    table th:nth-child(7),
    table td:nth-child(7) {
         width: 60px;
      }
}
/* Stil za navigaciju */
 .container > p {
  display: inline-block;
   margin-right: 15px;
}
.container > a {
  float: right;
}
ul {
     padding: 0;
    margin: 0;
   list-style: none;
}
ul li {
    margin-bottom: 10px;
}

ul li a {
      display: inline-block;
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
     text-decoration: none;
     color: #333;
     border: 1px solid #ddd;
}

ul li a:hover {
    background-color: #e0e0e0;
}
table th:nth-child(2),
 table td:nth-child(2) {
      white-space: nowrap;
  }