

.akis-timeline,
.rota-timeline {
  position: relative;
  padding-bottom: 20px;
}
.akis-step,
.rota-step {
  border-left: 2px solid #4caf50;
  position: relative;
  padding-left: 20px;
  margin-bottom: 20px;
}
.akis-step::before,
.rota-step::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #4caf50;
  left: -9px;
  top: 0;
}
.akis-date,
.rota-name {
  font-weight: bold;
  color: #4caf50;
}
@media (max-width: 576px) {
  .akis-timeline,
  .rota-timeline {
  }
  .akis-step,
  .rota-step {
    padding-left: 15px;
  }
}

.entry-content > .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-right: 10px !important;
  padding-left: 10px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
@media (max-width: 576px) {
  .entry-content > .container-fluid {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

.has-global-padding {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.card {
  height: 100%;
}

.card-body {
  padding: 10px;
}

.card-body .row {
  margin: 0;
}

.card-body .col-6,
.card-body .col-12 {
  padding: 10px;
}

.border-right {
  border-right: 1px solid #dee2e6;
}

.border-top {
  border-top: 1px solid #dee2e6;
}

.btn-group {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-group .btn {
  flex: 1;
}

.rota-step {
  transition: all 0.3s ease;
}

.active-step {
  border-left-color: #28a745;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.active-step .card-header {
  background-color: #28a745;
  color: white;
}

.active-step::before {
  background-color: #28a745;
}

.quality-switch {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    margin: auto;
}

.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
  margin-bottom: 10px;
}

.custom-range:hover {
  opacity: 1;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #4caf50;
  cursor: pointer;
  border-radius: 50%;
}

.custom-range::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #4caf50;
  cursor: pointer;
  border-radius: 50%;
}

.switch-labels {
  font-size: 14px;
}

.switch-labels span {
  transition: font-weight 0.3s ease;
}

.quality-note {
  cursor: pointer;
  text-decoration: underline;
  color: blue;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1060 !important; /* Değeri artırdık */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}


.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

#qualityNoteText {
  width: 100%;
  margin-bottom: 10px;
}

#saveQualityNote {
  background-color: #4caf50;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

#saveQualityNote:hover {
  background-color: #45a049;
}

.rota-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.rota-summary-item {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  padding: 8px 16px;
  text-decoration: none;
  color: #495057;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.rota-summary-item:hover {
  background-color: #e9ecef;
  color: #212529;
}

.rota-summary-item.active {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.rota-name {
  font-weight: 500;
  margin-right: 8px;
}

.rota-count {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8em;
  font-weight: bold;
}

.rota-summary-item.active .rota-count {
  background-color: rgba(255, 255, 255, 0.2);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #007bff;
  color: white;
}

#elementTable {
  width: 100%;
  border-collapse: collapse;
}

#elementTable th,
#elementTable td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

#elementTable th {
  background-color: #f8f9fa;
  font-weight: bold;
}

#elementTable tr:hover {
  background-color: #f5f5f5;
}


.photo-thumbnail {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: relative;
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.photo-thumbnail button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 100%;
    font-size: 0.8rem;
    padding: 2px;
}

#photoUploadForm {
    flex-grow: 1;
    margin-right: 10px;
}

.custom-file-label::after {
    content: "Gözat";
}

@media (max-width: 576px) {
    .d-flex.justify-content-between.mt-3 {
        flex-direction: column;
    }

    #photoUploadForm {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .btn-secondary {
        width: 100%;
    }
}

.quality-control .btn {
    flex: 1;
}

.quality-control .btn-outline-danger.active {
    background-color: #dc3545;
    color: white;
}

.quality-control .btn-outline-warning.active {
    background-color: #ffc107;
    color: black;
}

.quality-control .btn-outline-success.active {
    background-color: #28a745;
    color: white;
}

#photoModal {
    touch-action: none; /* Tarayıcı varsayılan dokunma davranışlarını engeller */
}

#modalImage {
    user-select: none; /* Görüntü seçimini engeller */
    -webkit-user-drag: none; /* iOS'ta sürüklemeyi engeller */
}

.p {
    margin-top: 0;
    margin-bottom: 0.6rem;
}


.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.bg-primary {
    background-color: #007bff !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

 ::-webkit-scrollbar {
            width: 16px;
            -webkit-appearance: none;
        }
        ::-webkit-scrollbar-thumb {
            background: #ffffff;
            border: 3px solid #439dfb;
            height: 100px;
            border-radius: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #439dfb;
            border: 0px solid #ccc;
            border-radius: 10px;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-right: 5px;
        }
