body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #002316;
  color: #000;
}

.layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  align-items: start;
}

.sidebar {
  padding: 20px;
  width: 240px;
  background-color: #002316;
  color: #ffffff;
}

.logo {
  width: 180px;
  max-width: 100%;
  margin-bottom: 10px;
}

.intro-text {
  color: #ffffff;
  font-size: 1.2em;
  margin-top: 10px;
  line-height: 1.4;
}

.container {
  flex: 1;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.identifier {
  font-size: 1.1em;
  color: #555;
  margin-top: 8px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin: 30px 0 20px 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.tab {
  padding: 4px 8px;
  font-size: 0.8em;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
  text-align: left;
  color: #002316;
  border: 1px solid #002316;
}

.tab:hover {
  background: #002316;
  color: #ffffff;
}

.tab.active {
  background: #002316;
  color: #ffffff;
  font-weight: bold;
}

.content {
  padding: 10px 0;
  border-top: 1px solid #ddd;
  text-align: left;
}

.collection-title {
  margin: 8px 0;
  font-size: 14px;
  font-weight: bold;
}

.property-line {
  margin: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.aas-image {
  width: auto;
  max-height: 120px;
  margin: 0 0 10px 0;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-code {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.file {
  cursor: pointer;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.file:hover {
  background: #002316;   /* dark green hover */
  color: #fff;
}

.file.active {
  background: #002316;   /* same as hover */
  color: #fff;
  font-weight: bold;
}


#header {
  position: sticky;
  top: 0;
  background: #fafafa;
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

#buttonGroup {
  display: flex;
  gap: 8px;
}
#buttonGroup button {
  min-width: 100px;
  padding: 6px 10px;
  cursor: pointer;
  border: 1px solid #002316;
  border-radius: 4px;
  background: #fff;
  transition: background 0.3s;
}
#buttonGroup button:hover {
  background: #002316;
  color: #fff;
}

#prompt {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background: #f9f9f9;
}
#inputBox {
  flex: 1;
  padding: 8px;
  margin-right: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#sendButton {
  padding: 8px 12px;
  cursor: pointer;
  border: 1px solid #002316;
  border-radius: 4px;
  background: #002316;
  color: #fff;
}
#sendButton:hover {
  background: #004d36;
}

.big-image {
  width: 100%;      
  max-width: 100vw;
  height: auto;
  display: block;
  margin: 20px auto; 
}
