/* Positivliste widget styling — alle klasser prefixes med aktietip-pl- */

.aktietip-pl-root {
  font-family: inherit;
  margin: 1.5em 0;
}

.aktietip-pl-loading {
  padding: 1em;
  color: #666;
  font-style: italic;
}

.aktietip-pl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: stretch;
}

.aktietip-pl-label {
  width: 100%;
  font-weight: 600;
  margin-bottom: 0.25em;
}

.aktietip-pl-input {
  flex: 1 1 240px;
  padding: 0.6em 0.8em;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 0;
}

.aktietip-pl-input:focus {
  outline: 2px solid #1d4ed8;
  outline-offset: -1px;
  border-color: #1d4ed8;
}

.aktietip-pl-button {
  padding: 0.6em 1.2em;
  font-size: 1rem;
  font-weight: 600;
  background: #1d4ed8;
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.aktietip-pl-button:hover {
  background: #1741b0;
}

.aktietip-pl-hint {
  margin: 0.6em 0 0;
  color: #666;
  font-size: 0.9em;
}

.aktietip-pl-result {
  margin-top: 1.2em;
}

.aktietip-pl-card {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 1em 1.2em;
  background: #fafafa;
}

.aktietip-pl-status-on,
.aktietip-pl-status-off {
  font-weight: 700;
  font-size: 1.05em;
  margin-bottom: 0.4em;
}

.aktietip-pl-status-on { color: #166534; }
.aktietip-pl-status-off { color: #991b1b; }

.aktietip-pl-fund-title {
  margin: 0.4em 0 0.3em;
  font-size: 1.1em;
}

.aktietip-pl-isin,
.aktietip-pl-years,
.aktietip-pl-tax,
.aktietip-pl-caveat,
.aktietip-pl-explain,
.aktietip-pl-intro,
.aktietip-pl-extlink,
.aktietip-pl-learnmore {
  margin: 0.4em 0;
  line-height: 1.5;
}

.aktietip-pl-caveat {
  color: #666;
  font-size: 0.9em;
}

.aktietip-pl-cand-list {
  list-style: none;
  padding: 0;
  margin: 0.6em 0 0;
}

.aktietip-pl-cand-item {
  padding: 0.4em 0;
  border-bottom: 1px solid #eee;
}

.aktietip-pl-cand-item:last-child {
  border-bottom: 0;
}

.aktietip-pl-cand-link {
  text-decoration: none;
}

.aktietip-pl-cand-link:hover {
  text-decoration: underline;
}
