* {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  background-color: #f8f9fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.main-container {
  max-width: 900px;
  width: 100%;
}

.card {
  border: 1px solid #dee2e6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
}

.token-code {
  font-family: "Courier New", monospace;
  background-color: #f8f9fa;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  word-break: break-all;
  user-select: all;
}

.dns-table tbody tr {
  transition: background-color 0.2s;
}

.dns-table tbody tr:hover {
  background-color: #f8f9fa;
}

#new-record-name::placeholder {
  font-style: italic;
}

code {
  font-size: 0.875rem;
}

#dns-overview {
  display: none;
}

.stats-card {
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.stats-card .card-body {
  padding: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid #e9ecef;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #212529;
}

.stat-label {
  font-size: 0.875rem;
  color: #6c757d;
}

.hero-section {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #5c2e5c;
}

.hero-section p {
  color: #6c757d;
  font-size: 1.1rem;
}

.domain-badge {
  display: inline-block;
  background-color: #e9ecef;
  color: #495057;
  padding: 0.375rem 0.75rem;
  margin: 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  border: 1px solid #dee2e6;
}

.info-section {
  background-color: #fff;
  border: 1px solid #dee2e6;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.info-section h2 {
  color: #5c2e5c;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.info-section p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.info-section ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.info-section ul li {
  padding: 0.35rem 0;
  color: #495057;
  font-size: 0.9rem;
}

.info-section ul li i {
  color: #5c2e5c;
  margin-right: 0.5rem;
}

#footer {
  background-color: transparent;
  color: #6c757d;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #dee2e6;
}

#footer a {
  color: #5c2e5c;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

.modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
  .modal-dialog {
    min-height: calc(100% - 3.5rem);
  }
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}
