/* display.php — QR ekranı tam sayfa stilleri */

.display-body {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.display-wrap {
  text-align: center;
  color: white;
  max-width: 500px;
  width: 100%;
  padding: 24px;
}

.display-wrap h1 { font-size: 2rem; margin-bottom: 8px; }
.display-wrap .subtitle { opacity: 0.85; margin-bottom: 32px; }

.qr-box {
  background: white;
  border-radius: 20px;
  padding: 24px;
  display: inline-block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#qrCanvas { display: block; }

.timer { margin-top: 20px; font-size: 0.875rem; opacity: 0.8; }

.timer-bar {
  width: 280px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 8px auto 0;
  overflow: hidden;
}

.timer-fill {
  height: 100%;
  background: #4ade80;
  width: 100%;
  transition: width 1s linear;
}

.pulse { animation: pulse 2s infinite; }

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

.network-info {
  margin-top: 16px;
  font-size: 0.75rem;
  opacity: 0.6;
}

.recent {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}

.recent h3 { font-size: 0.875rem; opacity: 0.8; margin-bottom: 12px; }

.recent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.recent-item:last-child { border-bottom: none; }

.recent-tag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.recent-tag.giris { background: #4ade80; color: #1e3a5f; }
.recent-tag.cikis { background: #fbbf24; color: #1e3a5f; }

.recent-empty { opacity: 0.6; font-size: 0.875rem; }
