.login-wrap {
  max-width: 500px;
  margin: 6rem auto;
  padding: 0 1rem;
}

.login-prompt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.login-label {
  color: var(--phosphor);
  font-size: 0.75rem;
  white-space: nowrap;
  text-shadow: 0 0 8px var(--phosphor);
}

.login-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,255,65,0.3);
  color: var(--phosphor);
  font-family: var(--font-body);
  font-size: 0.75rem;
  flex: 1;
  outline: none;
  padding: 0.4rem 0;
  caret-color: var(--phosphor);
}

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--phosphor);
  box-shadow: 0 0 8px var(--phosphor);
  animation: blink 1s infinite;
  vertical-align: middle;
}

.auth-error {
  margin-top: 1rem;
  color: var(--red-alert);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.auth-warning {
  color: var(--amber);
  margin-left: 0.5rem;
}

/* Self-destruct sequence */
.self-destruct {
  margin-top: 1.5rem;
  text-align: center;
}

.self-destruct-line {
  color: var(--red-alert);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-shadow: 0 0 12px var(--red-alert);
  margin-bottom: 0.5rem;
  animation: flicker 0.15s infinite alternate;
}

.self-destruct-countdown {
  color: var(--red-alert);
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  text-shadow: 0 0 20px var(--red-alert), 0 0 40px rgba(255,0,0,0.3);
  margin-top: 1.5rem;
  min-height: 3rem;
}

.self-destruct-countdown.flash {
  animation: countFlash 0.2s ease-out;
}

.self-destruct-final {
  color: var(--red-alert);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  text-shadow: 0 0 15px var(--red-alert);
  margin-bottom: 1rem;
}

.self-destruct-sub {
  color: rgba(255,0,0,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

.sidebar-title.destroyed {
  color: var(--red-alert);
  text-shadow: 0 0 12px var(--red-alert);
  animation: flicker 0.15s infinite alternate;
}

@keyframes flicker {
  0% { opacity: 1; }
  100% { opacity: 0.88; }
}

@keyframes countFlash {
  0% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Feed table */
.feeds-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feeds-table {
  width: 100%;
  border-collapse: collapse;
}

.feeds-table th {
  text-align: left;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--phosphor-dim);
  border-bottom: 1px solid rgba(0,255,65,0.3);
}

.feeds-table th:last-child { text-align: right; }

.feeds-table td {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,255,65,0.08);
}

.feed-url {
  font-size: 0.85rem;
  color: rgba(0,255,65,0.3);
  margin-top: 2px;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-status--active { color: var(--phosphor); font-size: 0.8rem; letter-spacing: 0.1em; }
.feed-status--offline { color: var(--red-alert); font-size: 0.8rem; letter-spacing: 0.1em; }

.feed-actions {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.feed-action-link {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.feed-action-delete {
  background: none;
  border: none;
  color: var(--red-alert);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* Feed form */
.feed-form { max-width: 500px; }

.form-group { margin-bottom: 1.2rem; }

.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--phosphor-dim);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select {
  width: 100%;
  background: var(--alien-surface);
  border: 1px solid rgba(0,255,65,0.3);
  color: var(--phosphor);
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 0.5rem;
  outline: none;
}

.form-select { cursor: pointer; }

.form-label--checkbox { cursor: pointer; }

.form-checkbox {
  margin-right: 0.5rem;
  accent-color: var(--phosphor);
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.form-cancel {
  color: var(--phosphor-dim);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.form-errors {
  border: 1px solid var(--red-alert);
  padding: 0.6rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--red-alert);
  letter-spacing: 0.1em;
}
