body {
  background-color: #f0f0f0;
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.card {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.header {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.header a {
  color: black;
  text-decoration: none;
  font-size: 14px;
}

.header-right a {
  color: #7A8593;
}

.header a.logo {
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}

.header-left {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-right {
  text-decoration: none;
  display: flex;
  gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  color: #7a9391;
}

.header a.breadcrumb {
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  color: #1A2332;
}

.header a:hover {
  opacity: 0.6;
}

.main {
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 40px;
}

.main-left h1 {
  font-size: 36px;
  font-weight: bold;
  margin: 8px 0 0 0;
}

.breadcrumb-sub-home {
  display: block;
  font-size: 13px;
  color: #5B9BD5;
}

.breadcrumb-sub-projects {
  display: block;
  font-size: 13px;
  color: #7A8593;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: -20px;
}

.breadcrumb-sub-recent-logs {
  display: block;
  font-size: 13px;
  color: #7A8593;
  margin-top: 10px;
  margin-left: 20px;
  margin-bottom: 20px;
}

.main-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 320px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.stat-label {
  color: #888;
}

.stat-value {
  display: flex;
  align-items: center;
  gap: 6px;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px 20px 20px;
}

.box {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.box:hover {
  border-color: #aaa;
}

.box-top {
  flex: 1;
}

.box-title {
  font-size: 15px;
  font-weight: bold;
  color: #111;
  margin-bottom: 8px;
}

.box-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.box-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.box-tags {
  font-size: 12px;
  color: #888;
}

.box-status {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
}

.box-status.running {
  background-color: #e6f4ea;
  color: #2a7a3b;
}

.box-status.stopped {
  background-color: #f0f0f0;
  color: #888;
}

.box-manifest {
  background-color: #E8F1F8;
}

.box-manifest .box-title {
  color: #5B9BD5;
}

.box-manifest .box-tags {
  color: #5B9BD5;
}

.box-recent-logs {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 16px 20px;
  margin: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.log-row {
  display: grid;
  grid-template-columns: 48px 160px 1fr;
  align-items: center;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}

.log-row:last-child {
  border-bottom: none;
}

.log-time {
  color: #aaa;
}

.log-service {
  font-weight: 500;
}

.log-msg {
  color: #bbb;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}



.footer {
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 12px 20px;
  text-align: right;
  font-size: 13px;
  color: #888;
}

@media (max-width: 640px) {
  .main {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .main-right {
    min-width: unset;
  }

  .main-left h1 {
    font-size: 24px;
  }

  .container {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 12px;
  }

  .log-row {
    grid-template-columns: 44px 1fr;
  }

  .log-service {
    display: none;
  }
}
