/* Genel HTML ayarları */
html {
  font-size: 16px;
  color: black;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding-top: 70px;
  /* Navbar yüksekliği kadar boşluk */
  font-family: 'Poppins', sans-serif;
  color: black;
  margin-bottom: 60px;
}

/* Focus efektleri */
.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;
}

/* Placeholder düzenlemeleri */
.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;
}

/* Kartlar */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
  padding: 20px;
}

.card {
  width: 18rem;
  flex: 0 0 auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  border-radius: 10px 10px 0 0;
}

.card-body {
  padding: 15px;
  font-size: 18px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.card-text {
  font-size: 0.875rem;
  color: #777;
}

.card-footer {
  padding: 10px;
  text-align: center;
}

.card-footer .btn {
  background-color: #3498db;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.card-footer .btn:hover {
  background-color: #2980b9;
}

/* Kart resimleri */
.card img {
  height: 300px;
  width: 100%;
  margin-right: 50px;
  padding-top: 10px;
}

/* Container sınırlama */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Floating button */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #3498db;
  color: white;
}

.floating-btn:hover {
  background-color: #007bff;
}

/* Modal */
.modal-dialog {
  max-width: 90%;
  margin: 2rem auto;
  display: block;
}

.modal-body {
  display: flex;
  flex-direction: column;
  color: black;
  background-color: white;
}

.modal-body .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.modal-body .col-12 {
  flex: 1 1 48%;
  min-width: 250px;
}

.modal-body .col-12>strong {
  display: block;
}

/* Sekme stilleri */
.nav-tabs {
  margin-bottom: 20px;
  justify-content: space-around;
}

.nav-item {
  flex: 1;
  text-align: center;
}

.nav-link {
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
}

.tab-content {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

/* Ürün ve fiyat alanları */
#addProductBtn {
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#addProductBtn:hover {
  background-color: #2980b9;
}

.product-row {
  margin-bottom: 20px;
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 8px;
}

.product-row .col-md-4,
.product-row .col-md-3 {
  margin-bottom: 10px;
}

#offerPrice {
  background-color: #dcdcdc;
  cursor: not-allowed;
}

.form-control,
.form-select {
  font-size: 14px;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .card-container {
    justify-content: center;
  }

  .card {
    width: 45%;
    max-width: none;
  }

  .card-body,
  .card-body h5,
  .card-body p {
    font-size: 16px;
  }

  .container {
    margin-left: 0;
  }

  .notification-container {
    margin-top: 3.5em;
  }

  .modal-body .tab-content {
    padding-left: 0;
    padding-right: 0;
  }
}