body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 320px; /* Adjust based on actual height of .k-static */
}

.k-hide {
  display: none !important;
}

.k-btn {
  padding: 5px 10px; 
  font-size: 1em; 
  background-color: #0078D7; 
  color: white; 
  border: none; 
  border-radius: 5px; 
  cursor: pointer;
}

.k-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: space-between; /* Spread tabs and button */
  align-items: center;
}

.k-tab-group {
  display: flex;
  gap: 10px;
}

.k-tab {
  font-weight: bold;
  font-size: 1em;
  padding: 10px 20px;
  background-color: #0078D7;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.k-tab.k-active {
  background-color: #005a9e;
}

.k-tabContent {
  display: none;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.k-tabContent.k-active {
  display: block;
}

.k-activity {
  font-size: 1em;
  font-weight: bold;
  margin-top: 10px;
  color: #333;
}

.k-type {
  font-size: 0.95em;
  font-style: italic;
  margin-bottom: 10px;
  color: #666;
}

.k-row {
  display: flex;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.k-row > .k-cell-fixed {
  width: 50px;
  flex: 0 0 50px;
  padding: 0 10px;
}

.k-row > div:not(.k-cell-fixed) {
  flex: 1;
  padding: 0 10px;
}

.k-title {
  font-size: 1.2em;
  color: #005a9e;
}

input[type="checkbox"] {
  transform: scale(1.2);
}

.checks-info {
  margin-bottom: 20px;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #eef;
}

.checks-info h2 {
  margin-top: 0;
  font-size: 1.2em;
  color: #005a9e;
}

.checks-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.checks-fields label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  color: #333;
}

.checks-fields input {
  padding: 5px;
  font-size: 1em;
  border: 1px solid #aaa;
  border-radius: 4px;
  width: 200px;
}

.k-static {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1000;
  padding: 10px 10px 0px 10px;
}

.k-scroll {
	margin: 0px 10px 10px 10px;
}

.k-logo {
	border: 1px solid #ccc;
	border-radius: 5px;
}

.k-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background-color: white;
  overflow: auto;
  padding: 20px;
  margin: 0;
  border-radius: 0;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.key-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  font-size: 0.95em;
  margin: 20px 0;
  padding: 10px 15px;
  background-color: #eef;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.key-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #333;
}

.key-box {
  width: 12px;
  height: 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  display: inline-block;
}

.color-popup {
  position: absolute;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.color-option {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  cursor: pointer;
}

/* Color definitions */
.satisfactory { background-color: #4CAF50; }      /* green */
.monitored    { background-color: #FFEB3B; }      /* yellow */
.attention    { background-color: #F44336; }      /* red */
.not-applicable { background-color: #9E9E9E; }    /* Grey */
.not-complete { background-color: #FFFFFF; }      /* white */