/* Belge Sorgu Genel Alan */
.belge-sorgu-wrapper {
  max-width: 400px;
  margin: 40px auto;
  padding: 25px;
  border: 2px solid #127ea5;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}
.belge-sorgu-wrapper h2 {
  color: #127ea5;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
}

/* Form Elemanları */
.belge-sorgu-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.belge-sorgu-form label {
  text-align: left;
  font-weight: 600;
  color: #127ea5;
}
.belge-sorgu-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}
.belge-sorgu-form button {
  background: #127ea5;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}
.belge-sorgu-form button:hover {
  background: #0d5a78;
}

/* Sonuç Butonları */
.belge-linkleri {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.belge-linkleri a {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}
.btn-view { background: #127ea5; }
.btn-view:hover { background: #0d5a78; }
.btn-download { background: #25d366; }
.btn-download:hover { background: #1da851; }

/* Hata Mesajı */
.belge-error {
  margin-top: 15px;
  color: #e53935;
  font-weight: bold;
}
.belge-preview {
  margin-top: 20px;
}

.belge-preview iframe {
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Doğrulama Alanı */
#dogrulama-alani {
  margin-top: 15px;
  padding: 15px;
  border: 2px dashed #127ea5;
  border-radius: 8px;
  background: #f9fcff;
}

#dogrulama-alani p {
  font-size: 15px;
  margin-bottom: 8px;
}

#uretilen-kod {
  font-size: 20px;
  font-weight: bold;
  color: #127ea5;
  background: #e0f4ff;
  padding: 5px 10px;
  border-radius: 5px;
  letter-spacing: 3px;
}

#geri-sayim {
  font-size: 14px;
  font-weight: bold;
  color: red;
}

/* Kod girişi kutusu */
#girilen_kod {
  width: 180px;
  padding: 10px;
  border: 2px solid #127ea5;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 2px;
  font-weight: bold;
  color: #127ea5;
  transition: border-color 0.3s ease;
}

/* Yanlış kodda titreme efekti */
.shake {
  animation: shake 0.4s ease;
  border-color: #e53935 !important; /* Hata anında kırmızı çerçeve */
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}
#uretilen-kod {
  display: block;
  font-size: 18px;        /* Daha küçük */
  font-weight: bold;
  color: #127ea5;
  background: #e0f4ff;
  padding: 4px 8px;
  border-radius: 5px;
  letter-spacing: 3px;
  margin-bottom: 6px;     /* Altına süre için boşluk */
  text-align: center;
}

#geri-sayim {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #e53935;         /* Kırmızı */
  margin-bottom: 10px;
  text-align: center;
}
/* Belge Sorgulama sayfasında sabit butonları gizle */
.page-id-2659 .fixed-contact-buttons,
.page-id-2659 .map-banner,
.page-id-2659 .mh-back-to-top,
.page-id-2659 .back-to-top,
.page-id-2659 .scroll-to-top,
.page-id-2659 #back-top,
.page-id-2659 .to-top {
  display: none !important;
}
.belge-kutu {
  text-align: center;
  margin: 30px auto;
}
.belge-kutu img {
  max-width: 300px;
  border: 3px solid #127ea5;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.belge-kutu img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.belge-kutu p {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #127ea5;
}
