/* T-KON egyedi stílusok — Tailwind CDN kiegészítése */

/* Loading spinner */
.spinner {
  border: 3px solid rgba(0, 121, 191, 0.2);
  border-top-color: #0079BF;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Tab active state */
.tab-btn {
  border-bottom: 3px solid transparent;
  color: #5E6C84;
  font-weight: 500;
  transition: color 0.15s, border-color 0.15s;
  padding: 0.5rem 1rem;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-btn:hover {
  color: #0079BF;
}

.tab-active {
  border-bottom: 3px solid #0079BF !important;
  color: #0079BF !important;
  font-weight: 600;
}

/* Card preview (AI eredmények) */
.card-preview {
  border-left: 4px solid #0079BF;
  transition: transform 0.1s;
}

.card-preview:hover {
  transform: translateX(2px);
}

/* Status badges */
.badge-success {
  background: #E3FCEF;
  color: #006644;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-error {
  background: #FFEBE6;
  color: #BF2600;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-skip {
  background: #F4F5F7;
  color: #5E6C84;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Health status indicator */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status-dot.online  { background: #61BD4F; }
.status-dot.offline { background: #EB5A46; }
.status-dot.checking {
  background: #F2D600;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Smooth transitions */
* { box-sizing: border-box; }

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Result table */
.result-table th {
  background: #F4F5F7;
  color: #5E6C84;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-table tr:hover td {
  background: #F9FAFB;
}
