/* License Warning Banner */
.license-warning-banner {
  position: fixed;
  top: 230px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ff3b30 0%, #ff6b6b 100%);
  color: #fff;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4);
  z-index: 10000;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.license-warning-banner.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}
.license-warning-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.license-warning-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.license-warning-text {
  flex: 1;
  min-width: 0;
}
.license-warning-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}
.license-warning-desc {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.license-warning-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
  background: #fff;
  color: #ff3b30;
}

/* License Modal */
.license-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
}
.license-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.license-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.license-modal-content {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.license-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.license-modal-close:hover {
  background: var(--bg-tertiary);
}
.license-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.license-modal-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

@media (max-width: 768px) {
  .license-warning-content {
    flex-wrap: wrap;
  }
  .license-warning-icon {
    font-size: 24px;
  }
  .license-warning-title {
    font-size: 16px;
  }
  .license-warning-desc {
    font-size: 13px;
  }
  .license-warning-banner .btn {
    width: 100%;
    margin-top: 8px;
  }
  .license-modal-content {
    padding: 24px;
  }
}
