html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.img-zoom-container {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #f9f9f9;
    cursor: zoom-in;
}

.zoom-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* "Tümünü Gör" green pulse glow animation */
@keyframes greenGlow {
  0%   { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);   color: inherit; }
  10%  { box-shadow: 0 0 12px 4px rgba(40, 167, 69, 0.5); color: #28a745; border-color: #28a745; }
  15%  { box-shadow: 0 0 18px 6px rgba(40, 167, 69, 0.65); color: #28a745; border-color: #28a745; }
  40%  { box-shadow: 0 0 8px 2px rgba(40, 167, 69, 0.25); color: #28a745; border-color: #28a745; }
  60%  { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);   color: inherit; border-color: inherit; }
  100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);   color: inherit; border-color: inherit; }
}

.btn-glow {
  animation: greenGlow 5s ease-in-out infinite;
  transition: all 0.2s ease;
}

.btn-glow:hover {
  animation: none;
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(40, 167, 69, 0.4);
}

/* Floating back button */
#floatingBackBtn:hover {
  background: #28a745 !important;
  border-color: #28a745 !important;
  transform: scale(1.1);
}