/* assets/style.css */

/* Osnovni stilovi */
body {
  background: #FFFDF8;
  color: #333;
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 880px;
  margin: 36px auto;
  background: #F5F0E6;
  border-radius: 15px;
  padding: 36px 44px 44px 44px;
  box-shadow: 0 6px 36px 0 rgba(74, 111, 165, 0.07);
}

h2, h3 {
  color: #4A6FA5;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 24px;
}

nav .nav-link {
  color: #4A6FA5 !important;
  font-weight: 600;
  margin-right: 4px;
  transition: background .12s;
  border-radius: 6px;
  padding: 6px 14px;
}

nav .nav-link.active, nav .nav-link:hover {
  background: #EDE9E3 !important;
  color: #333 !important;
}

section {
  margin-bottom: 36px;
}

label {
  font-weight: 500;
  display: block;
  margin-bottom: .35rem;
}

.form-control, .form-select, textarea {
  border-radius: 8px;
  border: 1px solid #EDE9E3;
  background: #FFFDF8;
  color: #333;
  transition: border .13s;
  padding: 10px 12px;
}

.form-control:focus, .form-select:focus, textarea:focus {
  border: 1.8px solid #4A6FA5;
  box-shadow: 0 0 0 0.08rem #EDE9E3;
  outline: none;
}

button.btn-primary {
  background: #4A6FA5;
  border: none;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 7px;
  padding: 12px 0;
  transition: background .15s;
}

button.btn-primary:hover, button.btn-primary:focus {
  background: #333333;
  color: #ede9e3;
}

/* Tablice */
.table-responsive {
  margin-top: 12px;
  margin-bottom: 20px;
}

table {
  border-radius: 10px;
  overflow: hidden;
  background: #FFFDF8;
  box-shadow: 0 3px 16px rgba(0,0,0,0.05);
}

th {
  background: #EDE9E3;
  color: #4A6FA5;
  font-weight: 700;
  border-bottom: 2px solid #4A6FA5;
}

td, th {
  text-align: center;
  padding: 14px 10px;
  border-bottom: 1px solid #EDE9E3;
  vertical-align: middle;
  font-size: 15px;
}

tr:nth-child(even){
  background: #F5F0E6;
}

.actions a, .actions button {
  color: #4A6FA5;
  font-size: 16px;
  margin: 0 6px;
}

.badge-icon {
  padding: 5px 14px;
  border-radius: 12px;
  background: #4A6FA5;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
}

.colorcell {
  width: 36px;
  min-width: 36px;
}

.mini {
  font-size: 90%;
  color: #4A6FA5;
}

.note {
  color: #4A6FA5;
  font-size: 1rem;
}

/* Flex utilities for time inputs + 'Sada' buttons */
.time-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  h2, h3 {
    font-size: 1.4rem;
  }
  table, th, td {
    font-size: 14px;
  }
  .form-control, .form-select, textarea {
    font-size: 14px;
  }
  button.btn-primary {
    font-size: 15px;
    padding: 10px 0;
  }
}
