.license-page {
  box-sizing: border-box;
  padding: 0 28px 80px;
  min-height: 760px;
}

.license-hero {
  padding: 28px 0 24px;
  border-bottom: 5px solid #083643;
  margin-bottom: 28px;
}

.license-hero h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 7px 0 10px;
  font-weight: 400;
}

.license-hero p {
  line-height: 1.8;
}

.license-kicker,
.license-eyebrow {
  color: #68b6c8;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 500;
}

.license-auth-grid,
.license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.license-panel {
  background: #191919;
  border: 1px solid #2b4349;
  padding: 28px;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .24);
}

.license-panel h2 {
  margin: 8px 0 13px;
  font-weight: 400;
}

.license-description,
.license-muted {
  color: #aaa;
  line-height: 1.7;
}

.license-privacy-note {
  color: #777;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}

.license-form {
  margin-top: 24px;
}

.license-form label {
  display: block;
  margin: 16px 0 7px;
  color: #ddd;
}

.license-form input {
  width: 100%;
  box-sizing: border-box;
  background: #0d0d0d;
  border: 1px solid #36545b;
  color: #eee;
  border-radius: 2px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  user-select: text;
  -webkit-user-select: text;
}

.license-form input:focus {
  border-color: #68b6c8;
  box-shadow: 0 0 0 2px rgba(104, 182, 200, .15);
}

.license-form small {
  display: block;
  margin-top: 5px;
  color: #888;
}

.license-button,
.license-link-button {
  border: 1px solid #2d7889;
  background: #083843;
  color: #fff !important;
  padding: 12px 18px;
  margin-top: 22px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

.license-button:hover,
.license-link-button:hover {
  background: #0c4d5b;
}

.license-button.secondary {
  margin: 0;
  white-space: nowrap;
}

.license-message {
  padding: 14px 16px;
  margin-bottom: 22px;
  border-left: 4px solid;
  line-height: 1.6;
}

.license-error {
  background: #2b1717;
  border-color: #a54b4b;
}

.license-success {
  background: #13251e;
  border-color: #4b9b73;
}

.license-panel-head,
.license-key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.license-panel-head .license-link-button {
  margin-top: 0;
}

.license-key-box {
  margin: 28px 0;
  padding: 22px;
  background: #0e0e0e;
  border-left: 5px solid #0d5b6c;
}

.license-key-box code {
  display: block;
  color: #fff;
  margin-top: 9px;
  font-size: 21px;
  letter-spacing: .05em;
  user-select: text;
  -webkit-user-select: text;
  word-break: break-all;
}

.license-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 28px;
}

.license-stat {
  background: #101010;
  border: 1px solid #242424;
  padding: 18px;
}

.license-stat span,
.license-stat strong {
  display: block;
}

.license-stat span {
  color: #888;
  margin-bottom: 7px;
  font-size: 12px;
}

.status-active {
  color: #79cf9d;
}

.status-disabled {
  color: #d77b7b;
}

.license-info-box {
  background: #11191b;
  border: 1px solid #21373c;
  padding: 18px 20px;
  line-height: 1.75;
  margin-top: 18px;
}

.license-info-box h3 {
  margin-bottom: 10px;
  line-height: 1.3;
}

.license-info-box p + p {
  margin-top: 8px;
}

.license-info-box.compact {
  color: #aaa;
  font-size: 13px;
}

.license-device-section {
  margin-top: 32px;
}

.license-device-section h2 {
  margin-bottom: 14px;
}

.license-device-list {
  border-top: 1px solid #303030;
}

.license-device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid #303030;
}

.license-device-item strong,
.license-device-item span {
  display: block;
}

.license-device-item > div > span {
  color: #777;
  margin-top: 4px;
  font-size: 11px;
  word-break: break-all;
}

.license-device-meta {
  text-align: right;
  color: #999;
  font-size: 12px;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .license-page {
    padding: 0 14px 120px;
  }

  .license-hero {
    padding-top: 16px;
  }

  .license-hero h1 {
    font-size: 28px;
  }

  .license-auth-grid,
  .license-grid,
  .license-status-grid {
    grid-template-columns: 1fr;
  }

  .license-panel {
    padding: 20px 16px;
  }

  .license-panel-head,
  .license-key-box,
  .license-device-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .license-key-box code {
    font-size: 16px;
  }

  .license-device-meta {
    text-align: left;
  }

  .license-button.secondary {
    width: 100%;
  }

  .license-form .license-button {
    width: 100%;
  }
}

/* Multi-product selector */
.license-back-link,
.license-text-link {
  color: #68b6c8;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.license-back-link:hover,
.license-text-link:hover {
  text-decoration: underline;
}

.license-account-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #11191b;
  border: 1px solid #21373c;
  padding: 18px 22px;
  margin-bottom: 26px;
}

.license-account-strip .license-link-button {
  margin-top: 0;
}

.license-product-section h2 {
  margin: 6px 0 18px;
  font-weight: 400;
}

.license-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.license-product-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 26px;
  background: #191919;
  border: 1px solid #2b4349;
  color: #eee !important;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0,0,0,.24);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.license-product-card:hover {
  border-color: #68b6c8;
  background: #1c2021;
  transform: translateY(-2px);
}

.license-product-card h3 {
  margin: 10px 0 12px;
  font-size: 24px;
  font-weight: 400;
}

.license-product-card p {
  color: #aaa;
  line-height: 1.75;
}

.license-product-mark {
  color: #68b6c8;
  font-size: 11px;
  letter-spacing: .14em;
}

.license-product-card-footer {
  margin-top: 25px;
  border-top: 1px solid #303030;
  padding-top: 15px;
  color: #68b6c8;
}

.license-owned {
  color: #79cf9d;
  font-weight: 500;
  letter-spacing: .08em;
}

.license-product-note {
  margin-top: 18px;
}

.license-selected-banner,
.license-selected-product {
  background: #11191b;
  border-left: 5px solid #0d5b6c;
  padding: 18px 22px;
  margin-bottom: 24px;
}

.license-selected-banner strong,
.license-selected-product strong,
.license-selected-product span {
  display: block;
}

.license-selected-banner strong,
.license-selected-product strong {
  font-size: 20px;
  margin: 5px 0 7px;
}

.license-selected-banner p:last-child {
  color: #aaa;
  line-height: 1.7;
}

.license-selected-product span {
  color: #888;
  font-size: 11px;
  letter-spacing: .1em;
}

.license-issue-panel {
  max-width: 720px;
}

@media screen and (max-width: 768px) {
  .license-product-grid {
    grid-template-columns: 1fr;
  }

  .license-account-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .license-account-strip .license-link-button {
    width: 100%;
    text-align: center;
  }
}

/* Email verification */
.license-verify-panel {
  max-width: 760px;
}

.license-verify-panel strong {
  color: #fff;
}

.license-verification-pending {
  color: #e3bc6b;
  font-size: 12px;
  letter-spacing: .08em;
}
