/* Trusted Device Registration Styles */

/* Introduction/Description Section */
.td-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(10, 132, 174, 0.08);
  border-left: 3px solid #0a84ae;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 24px;
}

.td-intro i {
  font-size: 24px;
  color: #0a84ae;
  flex-shrink: 0;
  margin-top: 2px;
}

.td-intro p {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* Security Warning Section */
.td-warning {
  display: flex;
  gap: 12px;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.td-warning i {
  font-size: 24px;
  color: #f57c00;
  flex-shrink: 0;
}

.td-warning p {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #333;
}

.td-warning p:last-child {
  margin-bottom: 0;
}

.td-warning-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .td-intro,
  .td-warning {
    padding: 12px;
    gap: 10px;
  }

  .td-intro i,
  .td-warning i {
    font-size: 20px;
  }

  .td-intro p,
  .td-warning p {
    font-size: 13px;
  }
}

input#kc-cancel {
  background-color: #8a92a7;
  color: #fff !important;
  width: 100%;
  line-height: 48px;
  font-size: 16px;
  transition: all 0.2s ease;
  margin-top: 7px;
}

/* Trusted device form error message (top alert) */
.td-form-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid #c00;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  color: #c00;
}

.td-form-error .pf-c-alert__icon {
  flex-shrink: 0;
}

.td-form-error span:last-child {
  flex: 1;
}

/* Field-level error text under device name input */
.td-field-error {
  display: block;
  color: #c00;
  font-size: 14px;
  margin-top: 6px;
}
