/* Modal content */
.modern-modal {
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.3);
  border: none;
  font-family: 'Roboto', sans-serif;
}

/* Header ve Footer */
.modern-modal .modal-header {
  border-bottom: 1px solid #dee2e6; /* Alt border eklendi */
  background-color: #f8f9fa;
  padding: 1rem 1.5rem;
}
.modern-modal .modal-footer {
  border-top: 1px solid #dee2e6; /* Üst border eklendi */
  padding: 1rem 1.5rem;
  justify-content: flex-end;
}

/* Arkaplan blur ve transparency */
.modal-backdrop.show {
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

/* Fade animasyonu */
.modal.fade .modal-dialog {
  transform: translateY(-50px);
  transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
  transform: translateY(0);
}

.modern-modal .modal-header {
  border-bottom: 1px solid #dee2e6;
  background-color: #f8f9fa;
  padding: 1rem 1.5rem;
}

.modern-modal .modal-footer {
  border-top: 1px solid #dee2e6;
  padding: 1rem 1.5rem;
}

.modern-modal .modal-body {
  font-family: 'Roboto', sans-serif;
}

#ibanText, #unvanText {
  user-select: all;
}



/* Kopyalandı butonunun ikonu hizalı kalsın */
.modern-modal .btn-sm i {
  font-size: 1rem;
  vertical-align: middle;
}

/* Dilersen outline butonun kenar rengini yumuşat */
.btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
}
.btn-outline-primary:hover {
  background-color: #007bff;
  color: #fff;
}



.icon-only {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.icon-only:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  transition: all 0.2s ease-in-out;
}

.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
}


.tamamlandi {
  background-color: #f7f7f7!important;
  border:1px solid #e0dcdc!important;
}

.ok-ribbon{

  top: 20px;
  right: -30px;
  width: 120px;
  transform: rotate(45deg);
  font-size: 11px;
  padding: 4px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
  opacity: 0.9;
  letter-spacing: 0.3px;
}

.nok-ribbon{

  top: 20px;
  right: -28px;
  width: 120px;
  transform: rotate(45deg);
  font-size: 11px;
  padding: 4px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
  opacity: 0.9;
  letter-spacing: 0.3px;
}








/* Dersler  */

.lesson-content {
  background-color: #ffffff; /* ARTIK BEYAZ */
  color: #212529;
  font-size: 0.96rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lesson-section {
  margin-bottom: 1.5rem;
}

.lesson-title {
  font-weight: 600;
  color: #0d6efd;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 6px;
  margin-bottom: 1rem;
  letter-spacing: 0.2px;
}

.lesson-text {
  margin-bottom: 0.75rem;
  color: #343a40;
}

.lesson-text b {
  color: #000;
  font-weight: 600;
}

@media (max-width: 576px) {
  .lesson-content {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
}

.h6-white{
  color:white;
}

.header-var{
  z-index: 9996; 
  background-color: #014cc4!important;
}

.subject-bottom-border{
  padding-bottom: 5px!important; 
  border-bottom: 1px solid #e6e2e2!important;
}

#icerik h6{

  font-weight: 600!important;
  margin-top: 1.5rem!important;
  margin-bottom: 0.5rem!important;
  padding-bottom: 5px;
}

#icerik h3{
  font-size: 20px!important;
  margin-top: 1rem!important;
  font-size: calc(1.275rem + .3vw);
  font-weight: 700 !important;
  color:#0d6efd!important;
  padding-bottom: 8px;
}

#icerik h4{
  font-size: 18px!important;
  margin-top: 3rem!important;
  font-size: calc(1.275rem + .3vw);
  font-weight: 700 !important;
  color:#0d6efd!important;
  padding-bottom: 8px;
}

#icerik hr{
  padding-bottom: 20px;
}

#icerik img{
  margin-top: 8px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}




/* Lightbox container'ı dikeyde ortala */
.lightbox {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 100% !important;
  text-align: center !important;
  z-index: 999999 !important;
}

/* Görselin ekranın ortasında kalmasını sağlar */
.lb-image {
  max-height: 90vh !important;
  max-width: 90vw !important;
}

/* Lightbox arka plan overlay sabitleniyor */
.lightboxOverlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 100% !important;
  z-index: 999998 !important;
}

