/* make board table more condensed */
tr th,
tr td {
  padding: 0.05rem 1em 0.05rem 1em !important;
  margin: 0 !important;
}

/*
input[readonly].form-control{
  background-color:transparent;
  border: 0;
  font-size: 1.3em;
}
*/

.label {
  cursor: pointer;
}

.progress {
  display: none;
  margin-bottom: 1rem;
}

.alert {
  display: none;
}

.img-container img {
  display: block;
  max-width: 100%;
}

.preview {
  overflow: hidden;
  width: 100px;
  height: 100px;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  margin-right: 0.7em;
  border-radius: 4px;
  font-size: 0.95em;
  font-weight: 600;
  vertical-align: baseline;
  line-height: 1.4;
  white-space: nowrap;
}

.status-schedule {
  background-color: #d4edda;  /* light green */
  color: #155724;
  border: 1px solid #c3e6cb;
  min-width: 13ch;
  text-align: center;
}

.status-vacation {
  background-color: #fff3cd;  /* light orange */
  color: #856404;
  border: 1px solid #ffeeba;
}

/* NAVBAR STYLING */
/* Input background colors */
.schedule-input {
  background-color: #d4edda !important;  /* light green */
  border-color: #c3e6cb !important;
}

.vacation-input {
  background-color: #fff3cd !important;  /* light orange */
  border-color: #ffeeba !important;
}

/* Hover/focus effects */
.schedule-input:hover,
.schedule-input:focus {
  background-color: #c3e6cb !important;
  box-shadow: 0 0 0 0.25rem rgba(195, 230, 203, 0.25) !important;
}

.vacation-input:hover,
.vacation-input:focus {
  background-color: #ffeeba !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 223, 126, 0.25) !important;
}

/* Spacing adjustments */
.navbar-nav .nav-item {
  margin-right: 1rem !important;
}

.input-group {
  margin-right: 0.5rem;
}

/* Responsive navbar */
@media (max-width: 992px) {
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
    margin-right: 0 !important;
  }
  
  .input-group {
    margin-bottom: 0.5rem;
    width: 100%;
  }

  /* Stack inputs vertically on mobile */
  .navbar-nav .nav-item form {
    width: 100%;
  }
  
  .navbar-nav .nav-item input {
    width: 100% !important;
  }
}

/* Improve form layout in navbar */
.navbar-nav form {
  display: flex;
  min-width: 200px;
}

/* Better spacing between input groups */
.nav-item + .nav-item {
  margin-left: 5px;
}
