.wrap h1.imgzen-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.imgzen-title .imgzen-logo {
  display: block;
  max-height: 72px;
  width: auto;
}

.imgzen-title .imgzen-subtitle {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 500;
  color: #021640;
}

.imgzen-engine-check {
  padding-top: 1px;
  margin-bottom: 26px;
  font-size: 16px;

  code {
    font-size: 20px;
  }
}

td label {
  cursor: pointer;
}

.imgzen-status-container {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  border-radius: 50px;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  transition: all 0.3s ease;
}

/* 稼働中のスタイル */
.imgzen-status-container.is-active {
  background: #e7f5ed;
  border-color: #60dc97;
  box-shadow: 0 0 10px rgba(96, 220, 151, 0.2);
  position: relative;
  -webkit-animation: glow-reverse 2s ease-in-out infinite alternate;
  animation: glow-reverse 2s ease-in-out infinite alternate;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    z-index: -1;
    background: inherit;
    -webkit-box-shadow:
      0 0 1.3em #60dc97,
      0 0 0.5em rgba(141, 248, 75, 0.5) inset;
    box-shadow:
      0 0 1.3em #60dc97,
      0 0 0.5em rgba(141, 248, 75, 0.5) inset;
    animation: glow 2s ease-in-out infinite alternate;
  }
}

@keyframes glow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes glow-reverse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.imgzen-switch-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 12px 20px;
}

.imgzen-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  flex-shrink: 0;
}

.imgzen-status-text {
  margin-left: 15px;
  font-weight: 700;
  font-size: 16px;
  color: #50575e;
  transition: color 0.3s ease;
}

.is-active .imgzen-status-text {
  color: #184a2c;
}

.imgzen-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.imgzen-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.imgzen-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .imgzen-slider {
  background-color: #00a32a;
}

input:checked + .imgzen-slider:before {
  transform: translateX(26px);
}

/* 統計カードのスタイル */
.imgzen-stats-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  border-left: 6px solid #0073aa;
  max-width: 600px;
}

.imgzen-rules-box {
  padding: 14px 20px;
  width: fit-content;
  border: #0073aa 3px dashed;
}

.imgzen-rules-box ul {
  margin: 0;
}
.imgzen-rules-box .description {
  margin-top: 6px;
}

.imgzen-stats-icon {
  font-size: 48px;
  margin-right: 24px;
  line-height: 1;
}

.imgzen-stats-label {
  display: block;
  font-size: 20px;
  color: #666;
  font-weight: 600;
  margin-bottom: 14px;
}

.imgzen-stats-number {
  display: flex;
  margin: 0 auto;
  width: fit-content;
  align-items: baseline;
  color: #1d2327;
}

.imgzen-stats-value {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.imgzen-stats-unit {
  font-size: 26px;
  font-weight: 600;
  margin-left: 6px;
  color: #0073aa;
}

.imgzen-stats-description {
  margin: 8px 0 0 0;
  font-size: 13px;
  color: #888;
}

.imgzen-range-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

input[type="range"] {
  width: 200px;
  cursor: pointer;
}

output {
  font-weight: 700;
  font-size: 1.2em;
  color: #2271b1;
  min-width: 2.5em;
}

.imgzen-range-hint {
  font-size: 12px;
  color: #666;
}

.notice-warning span {
  color: #d42f2f;
  font-size: 14px;
  font-weight: 700;
}

textarea {
  margin-bottom: 10px;
}

#submit {
  font-size: 16px;
}
