body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #000000;
  background-color: #ffffff;
}

.container {
  width: 920px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
}

.form-box {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

label {
  width: 200px;
  font-weight: bold;
}

input {
  padding: 6px;
  width: 200px;
}

.captcha-row img {
  height: 40px;
  border: 1px solid #ccc;
}

button {
  padding: 6px 12px;
  background: #0d6efd;
  color: #fff;
  border: none;
  cursor: pointer;
}

.search-btn {
  margin-top: 10px;
}

.file-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.file-table th,
.file-table td {
  border: 1px solid #ccc;
  padding: 10px;
}

.file-table th {
  background: #eee;
}

/* LOADING */
.loading {
  display: none;
  text-align: center;
  margin: 30px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #ccc;
  border-top: 5px solid #0d6efd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* PDF */
.pdf-section {
  display: none;
  border: 1px solid #ccc;
}

.pdf-toolbar {
  background: #333;
  color: #fff;
  padding: 8px;
  display: flex;
  gap: 8px;
}

.pdf-frame {
  width: 100%;
  height: 600px;
  border: none;
}

.info-text {
  margin-top: 10px;
  color: green;
}


/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  body {
    font-size: 13px;
  }

  .container {
    width: 100%;
    margin: 0;
    padding: 10px;
  }

  h1 {
    font-size: 16px;
    text-align: center;
  }

  table {
    width: 97%;
  }

  /* Form table mobil uyğunluğu */
  .formstyle1 td {
    display: block;
    width: 100%;
  }

  .formstyle1 tr {
    display: block;
    margin-bottom: 10px;
  }

  /* CAPTCHA */
  #rcKarakter {
    text-align: center;
  }

  #rcKarakter_CaptchaImage {
    margin: 0 auto;
  }

  #captchaInput {
    width: 95% !important;
  }

  /* Kod inputları */
  #txtKod1,
  #txtKod2,
  #txtKod3,
  #rtxtBelgeSayisi {
    width: 100%;
    margin: 0 auto;
    /* margin-bottom: 5px; */
  }

  /* Sorgula düyməsi */
  button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  /* Dosya cədvəli scroll */
  .file-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* PDF */
  .pdf-frame {
    height: 400px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {

  h1 {
    font-size: 14px;
  }

  .pdf-frame {
    height: 320px;
  }
}
