/* Custom CoreUI DNS Panel Enhancements */
:root {
  --dns-primary-gradient: linear-gradient(135deg, #321fdb 0%, #1f1498 100%);
  --dns-accent-gradient: linear-gradient(135deg, #39f 0%, #2982cc 100%);
}

.sidebar-brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--cui-primary, #321fdb);
  color: #fff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.status-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background-color: var(--cui-success, #2eb85c);
  box-shadow: 0 0 0 0 rgba(46, 184, 92, 0.7);
  animation: status-pulse-anim 2s infinite;
}

.status-pulse.suspended {
  background-color: var(--cui-warning, #f9b115);
  box-shadow: 0 0 0 0 rgba(249, 177, 21, 0.7);
}

@keyframes status-pulse-anim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 184, 92, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(46, 184, 92, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 184, 92, 0);
  }
}

.badge-dns-type {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35em 0.65em;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.badge-type-A, .badge-type-AAAA { background-color: #2eb85c; color: #fff; }
.badge-type-ALIAS { background-color: #321fdb; color: #fff; }
.badge-type-CNAME { background-color: #3399ff; color: #fff; }
.badge-type-MX { background-color: #f9b115; color: #000; }
.badge-type-TXT { background-color: #636f83; color: #fff; }
.badge-type-NS { background-color: #9da5b1; color: #000; }
.badge-type-SRV { background-color: #6f42c1; color: #fff; }
.badge-type-CAA { background-color: #20c997; color: #fff; }

.copy-btn {
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all 0.15s ease-in-out;
}

.copy-btn:hover {
  background-color: var(--cui-tertiary-bg);
}

.table-records tbody tr td {
  vertical-align: middle;
}

.record-content-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  word-break: break-all;
  background: var(--cui-tertiary-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: var(--cui-body-color);
}

.stat-card-icon {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  opacity: 0.2;
  font-size: 2.5rem;
  line-height: 1;
}

.fqdn-preview {
  font-size: 0.8rem;
  color: var(--cui-secondary-color);
  font-family: monospace;
}

.toast-container-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1080;
}

.table-hover tbody tr {
  transition: background-color 0.15s ease-in-out;
}

.card {
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
  font-weight: 600;
}
