/*
 * Styles for TMN License Unlocker frontend. Designed with dark / neon
 * aesthetics in mind, matching the Mushroom Network theme. Adjust colors as
 * desired to better integrate with your site.
 */

.tmnlu-unlock-form-wrapper,
.tmnlu-locked-wrapper {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  background: #0b0e1f;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.18);
  line-height: 1.5;
}

.tmnlu-unlock-form-wrapper h2,
.tmnlu-locked-wrapper h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.tmnlu-unlock-form label,
.tmnlu-unlock-form-inline label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.tmnlu-unlock-form input[type="text"],
.tmnlu-unlock-form-inline input[type="text"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 200, 0.4);
  background: #13193a;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.tmnlu-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.tmnlu-btn-primary {
  background: linear-gradient(135deg, #00f0ff, #9d00e4);
  color: #0b0e1f;
}

.tmnlu-btn-primary:hover {
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.tmnlu-btn-secondary {
  background: #1f2a4b;
  color: #ffffff;
  border: 1px solid rgba(0, 255, 200, 0.4);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.3rem;
}

.tmnlu-btn-secondary:hover {
  background: #293865;
}

.tmnlu-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(0, 255, 200, 0.12);
  color: #ffffff;
}

.tmnlu-unlocked-list ul,
.tmnlu-history ul {
  list-style: none;
  padding-left: 0;
}

.tmnlu-unlocked-list ul li,
.tmnlu-history ul li {
  margin-bottom: 0.5rem;
}

.tmnlu-history {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 255, 200, 0.3);
}

.tmnlu-history-item + .tmnlu-history-item {
  margin-top: 1.5rem;
}

.tmnlu-license-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  display: block;
}

.tmnlu-alt-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.tmnlu-checkpoint {
  text-align: center;
}