.versvee-wrap {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  color: #e7f2ec;
  font-family: Arial, Helvetica, sans-serif;
}

.versvee-card {
  background: #111722;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 0 0 1px rgba(120, 180, 150, 0.10) inset;
}

.versvee-header h2 {
  margin: 0 0 6px;
  color: #f2faf5;
  font-size: 34px;
  line-height: 1.1;
}

.versvee-header p,
.versvee-note {
  margin: 0;
  color: #a8b7b0;
  font-size: 14px;
}

.versvee-label {
  display: block;
  margin-bottom: 8px;
  color: #98edb5;
  font-weight: 700;
  font-size: 18px;
}

.versvee-request,
.versvee-output {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #0a0f17;
  color: #edf7f1;
  padding: 12px;
  box-sizing: border-box;
  font-size: 16px;
  resize: vertical;
}

.versvee-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.versvee-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.versvee-primary {
  background: #497f62;
  color: #fff;
}

.versvee-secondary {
  background: #293240;
  color: #f2faf5;
}

.versvee-line,
.versvee-status {
  font-size: 15px;
  line-height: 1.5;
  margin: 4px 0;
  overflow-wrap: anywhere;
}

.versvee-status {
  color: #dceae2;
  margin-bottom: 12px;
}

.versvee-status.versvee-error {
  color: #ffb7b7;
}

.versvee-image-wrap {
  min-height: 40px;
}

.versvee-generated-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .versvee-header h2 {
    font-size: 27px;
  }

  .versvee-request,
  .versvee-output {
    font-size: 15px;
  }

  .versvee-btn {
    width: 100%;
  }
}


/* v1.0.7 visibility fix: force readable text in dark fields across themes */
.versvee-wrap textarea,
.versvee-wrap input,
.versvee-request,
.versvee-output {
  color: #f4fff8 !important;
  -webkit-text-fill-color: #f4fff8 !important;
  caret-color: #98edb5 !important;
}

.versvee-request::placeholder,
.versvee-output::placeholder {
  color: #9cafaa !important;
  opacity: 1 !important;
}

.versvee-request:focus,
.versvee-output:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline: 2px solid rgba(152, 237, 181, 0.35);
  outline-offset: 2px;
}
