#secimListe ul,
#eklerListe ul {
  margin: 3px 0 0 5px;   /* üst boşluk az, soldan biraz içeri */
  padding: 0;
  font-size: 13px;        /* küçük font */
  line-height: 1.2;       /* satır aralığı sıkı */
}

#secimListe li,
#eklerListe li {
  margin: 1px 0;          /* li’ler arası çok az boşluk */
}




.stamp-container {
  position: relative;
  width: 200px; /* İsteğe bağlı boyut */
  height: 120px;
  margin: 0;
  padding: 0;
  /* Kaşenin sayfa üzerinde istediğiniz yere yerleşmesi için wrapper; mPDF içinde absolute ile konumlandırılır */
}
.stamp {
  position: relative;
  font-family: "DejaVu Sans", sans-serif;
  font-size: 12pt;
  text-align: center;
  line-height: 1.1;
  padding: 8px 10px;
  border: 3px double #a00;
  background: rgba(255, 230, 230, 0.4);
  color: #700;
  box-shadow: 0 0 8px rgba(0,0,0,0.2) inset;
  transform: rotate(-7deg);
  display: inline-block;
  opacity: 0.85;
  border-radius: 8px;
  letter-spacing: 0.5px;
}
.stamp .line {
  margin: 2px 0;
  font-weight: bold;
}




html, body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: white;
}

    .pdf-style-wrapper {
      max-width: 850px;
      margin: 30px auto;
      padding: 10px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    h2 {
      color: #2a7b2a;
      text-align: center;
      margin-bottom: 30px;
    }
    label {
      font-weight: bold;
      display: block;
      margin-bottom: 5px;
      color: #333;
    }
    select {
      width: 100%;
      padding: 8px;
      font-size: 14px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
    /* Dosya seçme + butonlar aynı satır */
    .file-upload-row {
      display: flex;
      gap: 10px;
      max-width: 600px;
      margin-bottom: 20px;
      align-items: center;
    }
    .file-upload-row input[type="file"] {
      flex-grow: 1;
      height: 40px;
      background-color: #EFEBE9;
      padding: 0 10px;
      box-sizing: border-box;
      border: 1px solid #ccc;
      border-radius: 4px;
      cursor: pointer;
    }
    .btn-upload {
      height: 40px;
      width: 120px;
      border-radius: 4px;
      border: none;
      cursor: pointer;
      color: white;
      font-size: 15px;
      display: none;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
    #uploadLogoBtn {
      background-color: #d9534f; /* kırmızı */
    }
    #uploadLogoBtn:hover {
      background-color: #c9302c;
    }
    #uploadKapakBtn {
      background-color: #337ab7; /* mavi */
    }
    #uploadKapakBtn:hover {
      background-color: #286090;
    }
    .btn-upload img {
      height: 18px;
    }

    /* Önizleme alanları satır altı */
    .preview-row {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
      margin-bottom: 15px;
    }
.preview-block {
      text-align: center;
    }
    .preview-block img {
      width: 80mm;
      height: 50mm;
      border: 1px solid #333;
      object-fit: contain;
      display: none;
      margin-top: 5px;
    }

    /* İstenen boyutlar */
    #logoPreview {
      width: 90%;
      aspect-ratio: 3 / 2;
      object-fit: contain;
    }
    #kapakPreview {
      width: 90%;
      aspect-ratio: 3 / 2;
      object-fit: contain;
    }



    .mygrid-form {
      display: grid;
      grid-template-columns: 1.5fr 1.5fr 1fr;
      grid-template-rows: auto auto auto auto;
      gap: 15px 20px;
      max-width: 800px;
      margin: 20px auto;
      font-family: Arial, sans-serif;
    }
    .mygrid-form label {
      display: block;
      margin-bottom: 6px;
      font-weight: 600;
      color: #333;
    }
    .mygrid-form select,
    .mygrid-form input[type="date"] {
      width: 100%;
      padding: 8px 10px;
      box-sizing: border-box;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 4px;
      transition: border-color 0.3s ease;
    }
    .mygrid-form select:focus,
    .mygrid-form input[type="date"]:focus {
      border-color: #5cb85c;
      outline: none;
    }
    .firma-select {
      grid-column: 1 / 4;
    }
    .sol-sutun > div {
      margin-bottom: 10px;
    }
    .sol-sutun {
      display: flex;
      flex-direction: column;
      grid-column: 1 / 3;
    }
    .sag-sutun {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 12px;
      grid-column: 3 / 4;
    }
    .sag-sutun button {
      padding: 10px 15px;
      font-size: 15px;
      cursor: pointer;
      border-radius: 4px;
      border: none;
      transition: background-color 0.3s ease;
    }
    .sag-sutun button.btn-primary {
      background-color: #337ab7;
      color: white;
    }
    .sag-sutun button.btn-primary:hover {
      background-color: #286090;
    }
    .sag-sutun button.btn-success {
      background-color: #5cb85c;
      color: white;
    }
    .sag-sutun button.btn-success:hover {
      background-color: #449d44;
    }

    /* Liste toggle butonu */
    #toggleListBtn {
      display: block;
      margin: 20px auto;
      padding: 8px 12px;
      max-width: 800px;
      cursor: pointer;
      background-color: #5cb85c;
      color: white;
      border: none;
      border-radius: 4px;
      font-weight: 600;
      user-select: none;
      transition: background-color 0.3s ease;
      text-align: center;
    }
    #toggleListBtn:hover {
      background-color: #4cae4c;
    }

    /* Liste div */
    #egitimTarihListesi {
      max-width: 800px;
      margin: 0 auto 40px auto;
      border: 1px solid #ccc;
      border-radius: 4px;
      display: none;
      background: white;
    }

    #egitimTarihListesi table {
      width: 100%;
      border-collapse: collapse;
    }

    #egitimTarihListesi th, #egitimTarihListesi td {
      padding: 8px;
      border: 1px solid #ccc;
      text-align: left;
    }

    #egitimTarihListesi th {
      background-color: #5cb85c;
      color: white;
    }






.radyo-pozitif {
  background-color: #c6f6c6 !important; /* açık yeşil */
}
.radyo-negatif {
  background-color: #f6c6c6 !important; /* açık pembe */
}
.radyo-notr {
  background-color: #e0e0e0 !important; /* açık gri */
}





.itemContainer{
float:left;
margin:20px;
padding: 25px;
width: 155px;
height: 80px;
border-radius:20px;
text-align:center;
font-weight:bold;

box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



  .file-input-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    margin-left: 5px; /* Dosya seçme butonuna soldan margin */
  }
  .file-input-wrapper input[type=file] {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 100px;
    opacity: 0;
    cursor: pointer;
  }
  #filename {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .btn-upload {
    margin-left: 10px;
    margin-right: 5px; /* Yükle butonuna sağdan margin */
    vertical-align: middle;
  }
  .form-group-inline {
    display: flex;
    align-items: center; /* Dikey ortala */
  }

.kapsayici-div {
  width: 65%;         /* sabit genişlik veya max-width */
  overflow: hidden;     /* taşmayı tamamen engeller */
  position: relative;   /* gerekirse absolute öğeler için bağlayıcı */
}
.kapsayici-div select {
  width: 100%;          /* div’in iç genişliği kadar */
  max-width: 100%;      /* taşmayı engelle */
  box-sizing: border-box; /* padding dahil */
}



.row-giris-buton {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.left-giris {
  width: calc(70% - 5px); /* Sağdaki boşluk 10px olduğu için bunu ikiye böldük */
}

.right-buton {
  width: calc(30% - 5px);
}


/* Tüm elemanlar için scroll barları gizle */
* {
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE 10+ */
}

*::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari, Edge */
}








.btn {
  font-size: 16px;
  padding: 8px 16px;
  gap: 10px;
  margin-right: 10px;
  margin-left: 10px;
  width: 120px;
  height:35px;
  vertical-align: middle;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Giriş Butonu */
.btn1 {
  width: 150px;
  height: 40px;
  border: 2px solid black;
  font-weight: bold;
  background-color: #4CAF50;
  color: white;
  border-radius: 6px;
  font-size: 18px;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.btn1:hover {
  background-color: #45a049;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-fixed {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  flex: 0 0 100px !important;
}


.btnbase {
  border: 3px solid black;
  background-color: #f44336;
  margin: 3px;
  border-radius: 3px;
  width: 130px;
}
.urn1 {
  background-color: #4CAF50;
}
.urn1:hover {
  background-color: #46a049;
}







/* Flex Yapılar */
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap:8px;
  margin-bottom: 10px;
}
.flex-row > * {
  flex: 1;
  min-width: 120px;
}

/* Konteynerler */
.custom-container {
  display: flex;
  flex-wrap: wrap;
  height: 95vh;
  width: 100vw;
}
.box1, .box2 {
  width:100%;
  background-color: white;
  padding: 10px;
  overflow-y: auto;
}


@media (orientation: portrait) {
  .box1, .box2 {
    width: 100%;
    height: 47vh;
  }
}
@media (orientation: landscape) {
  .box1, .box2 {
    width: 50%;
    height: 98vh;
  }
}

/* Iframe */
iframe {
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  min-height: 600px;
  height: auto;
}

/* Kart ve Form Satırı */
.card {
  padding: 10px;
  margin-bottom: 3px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: white;
}
.form-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  align-items: flex-end;
}


/* Header */
@media screen and (min-width: 768px) and (orientation: landscape) {
  .navbar {
    visibility: hidden !important;
    position: absolute !important;
    top: -9999px !important;
  }
}

/* Firma Bilgi Tablosu */
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}
th, td {
  padding: 5px;
}

/* Fotorisk */
#divtdetaylar {
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* CRE Saha Denetim */
#mainContainer {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}


select.form-control {
  font-size: 18px;
  background-color: white;
  width:70%; 
  font-size:18px; 
  font-weight: bold
}
.form-label {
  font-weight: bold;
  margin-top: 10px;
}

.onelinewtbuton{
    
}

select,
input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



.firma-col {
    flex: 1 1 100%;    
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
  width:100%;
}
.tarih-col {
  flex-grow: 0;
  flex-basis: 20%;
  min-width: 0;
}
.bolge-select {
  flex: 1 1 70%;
  width:100%;
}
.button-group {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

/* Collapse Toggle */
#iframeToggleBar {
  background-color: #337ab7;
  color: white;
  padding: 8px 15px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  user-select: none;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}
#pdfCollapse {
  position: relative;
  overflow: visible !important;
}

/* CRE Sözleşme */
.form-group { margin-bottom: 15px; }
label { font-weight: bold; }
.checkbox-group label { display: block; margin-bottom: 5px; }

.form-control {
  width: 100%;
  padding: 6px 8px;
  font-size: 14px;
  box-sizing: border-box;
  margin-top: 4px;
  margin-bottom: 10px;
}
input[type="checkbox"] {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin-right: 5px;
  vertical-align: middle;
}
.form-input-block {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.form-input-block input {
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

/* Seçim Listesi */
.selection-section {
  display: flex;
  gap: 15px;
  width: 100%;
}
.teblig-select {
  flex: 1 1 70%;
  min-width: 0;
}
#secimListe {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: #333;
}

/* Tuş Takımı */
.keypad {
  margin: 0 auto;
  width: 80%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}
.row {
  display: flex;
  gap: 10px;
  flex: 1;
}
.row .tus {
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: 28px;
  border: 2px solid black;
  background-color: #e0e0e0;
  color: black;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: none;
}
.row .tus:hover {
  background-color: #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.row .tus:active {
  background-color: #aaa;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}


.loginselect {
  margin-top: 15px;
  width: 80%;
  padding: 16px 20px;
  font-size: 20px;
  border: none;
  border-radius: 4px;
  background-color: #e0e0e0;
}
.login {
  background-color: white;
  position: relative;
  margin: 30px auto 0;
  padding: 5px;
  width: 350px;
  height: 650px;
  border: 3px solid black;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Navbar*/
.navbar-nav > li > a {
  font-size: 20px !important;
  font-weight: 600;
}
.navbar-nav .dropdown-menu > li > a {
  font-size: 20px !important;
  font-weight: 600;
}
.navbar-nav.navbar-right > li > a,
.navbar-nav.navbar-right h5 {
  font-size: 15px !important;
}
.navbar-brand {
  font-size: 20px !important;
  font-weight: bold;
}
.navbar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}




.olasilik, .siddet {
  width: 45%;
  height: 100px;
  text-align: center;
}


/* Slider Switch */
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: background-color 0.4s;
  border-radius: 17px;
}
.slider::before {
  content: "";
  position: absolute;
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: transform 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider::before {
  transform: translateX(13px);
}

/* Firma Bilgi Tablosu */
#bilgiler {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
#bilgiler td {
  border: 1px solid #ddd;
  padding: 8px;
  font-weight: bold;
}
#bilgiler th {
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}
#bilgiler tr:nth-child(even) {
  background-color: #f2f2f2;
}
#bilgiler tr:hover {
  background-color: #33ff66;
}

/* Autocomplete */
.autocomplete {
  position: relative;
  display: inline-block;
}
input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}
.autocomplete-active {
  background-color: DodgerBlue;
  color: #fff;
}

/* Aktif Eleman */
.active {
  background-color: #4CAF50;
}



.zebra-even {
  background-color: #ffffff !important;
  font-weight: bold;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.zebra-odd {
  background-color: #f2f2f2 !important;
  font-weight: bold;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}



/* Scroll Menü */
.fullsayfa {
  padding: 0px 10px 10px 0px;
  width: 100%; 
  white-space: nowrap;
  display: block;
  overflow-y: auto;
}






.headbar {
  display: none;
  height: 8px;
  width: 100%;
  background-color: #33333; /* navbar-inverse rengi */
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.headbar:hover {
  opacity: 1;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}

/* Navbar için animasyonlu gizleme/gösterme sınıfları 
.navbar {
  transition: transform 0.22s ease, opacity 0.22s ease;
  z-index: 10000;
}
*/
.navbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  position: absolute !important;
  top: -9999px !important;
}
.navbar.visible-fixed {
  position: fixed !important;
  top: 3 !important;
  left: 0 !important;
  right: 0 !important;
  visibility: visible !important;
  transform: translateY(0);
  opacity: 1;
}



.dbbar {
  background-color: green;
  width: auto;
  height: 3px;
}



/* Tuş Takımı Full */
.tustakimifull {
  position: relative;
  margin: auto;
  background-color: green;
  width: 220px;
  height: 210px;
}

.tus {
  background-color: #e7e7e7;
  color: black;
  border: 3px solid black;
}
.tus:hover {
  background: gray;
  border: 3px solid black;
}

/* Anahtarlı Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Özel Checkbox */
.containerMy {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  user-select: none;
}
.containerMy input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
.containerMy:hover input ~ .checkmark {
  background-color: #ccc;
}
.containerMy input:checked ~ .checkmark {
  background-color: #2196F3;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.containerMy input:checked ~ .checkmark:after {
  display: block;
}
.containerMy .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Tuş Takımı Ekranı */
.girisalan {
  margin: 0 auto;
  width: 50%;
  font-size: 25px;
  text-align: center;
  border: 2px solid black;
  border-radius: 4px;
  background-color: lightgreen;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.fotogirisfile {
  border-radius: 4px;
  background-color: #EFEBE9;
  font-weight: bold;
  font-size: 12px;
  margin: 5px 0 5px 5px;
}
.fotogirisyukle {
  border-radius: 4px;
  font-weight: bold;
  width: 100px;
  margin: 5px 0 5px 5px;
  background-color: red;
}
.sozlesme-input {
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  padding: 6px 10px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box;
  color: #000 !important;
}
.sozlesme-input:focus {
  border-color: #4CAF50 !important;
  outline: none;
}
