/* IntegriSec Secret — Tool-spezifische Styles (nutzt die Design-Tokens aus styles.css) */

.tool-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.tool-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--sh);
  padding: 32px;
}
@media (max-width: 600px) {
  .tool-card { padding: 22px; }
  .tool-wrap { padding: 36px 16px 56px; }
}

.tool-field { margin-bottom: 22px; }
.tool-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}
.tool-field .hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

.tool-input,
.tool-textarea,
.tool-select {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tool-textarea {
  min-height: 150px;
  resize: vertical;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
}
.tool-input:focus,
.tool-textarea:focus,
.tool-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-lt);
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15.5px;
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.tool-btn:hover { background: #1640b0; }
.tool-btn:active { transform: translateY(1px); }
.tool-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.tool-btn-secondary {
  width: auto;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 10px 18px;
  font-size: 14px;
}
.tool-btn-secondary:hover { background: #d8e4fb; }

.tool-cf { margin: 22px 0; min-height: 65px; }

/* Hinweis-/Warnboxen */
.tool-note {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 20px;
}
.tool-note .ico { flex: 0 0 auto; }
.tool-note-info { background: var(--blue-lt); color: #14306e; }
.tool-note-warn { background: #fff6e6; color: #8a5a00; border: 1px solid #ffe2ad; }

.tool-error {
  background: #fdecec;
  color: #a11212;
  border: 1px solid #f6c9c9;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 14px;
  margin-bottom: 18px;
}

/* Ergebnis: Einmal-Link */
.tool-link-row {
  display: flex;
  gap: 8px;
  margin: 8px 0 4px;
}
.tool-link-row .tool-input {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  background: var(--bg2);
}
@media (max-width: 540px) {
  .tool-link-row { flex-direction: column; }
  .tool-btn-secondary { width: 100%; }
}

/* Angezeigtes Geheimnis */
.tool-secret-out {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 14.5px;
  line-height: 1.6;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  max-height: 320px;
  overflow: auto;
}

.st-msg {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  padding: 18px 0;
}
.st-error { color: #a11212; }

.tool-expiry {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.tool-meta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.tool-meta-row .tool-field { flex: 1; min-width: 180px; }
