/* Tema 3 — app.css'e ek: modal, ödeme sağlayıcı (bootstrap sınıflı) çıktı uyumu */

/* Basit modal */
.t3-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.t3-modal.is-open { opacity: 1; visibility: visible; }
.t3-modal__panel {
  width: min(460px, 100%);
  border-radius: 10px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}

/* Ürün kartı: gerçek görsel */
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product:hover .product__media img { transform: scale(1.05); }

/* Ürün galerisi küçük görselleri */
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* Sanal POS modülleri bootstrap sınıflarıyla çıktı verir — temel karşılıklar */
.alert {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.alert-success { background: #e8f5ee; border-color: #bfe3cf; color: #1c7b4b; }
.alert-danger, .alert-error { background: #fdecea; border-color: #f5c6c3; color: #b02a20; }
.alert-warning { background: #fff8e6; border-color: #f0dfae; color: #8a6d1a; }
.alert-info { background: #e8f1fb; border-color: #c4dbf3; color: #1f5a96; }
.alert .btn-close { display: none; }

.form-control, .form-select {
  width: 100%;
  border: 1px solid rgba(127, 35, 28, .3);
  border-radius: 5px;
  background: #fff;
  padding: 9px 12px;
  font-size: 16px;
  color: #343434;
}
.form-control:focus, .form-select:focus { border-color: #7f231c; outline: none; }
.form-label, label { font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1px solid #7f231c;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s;
  background: #7f231c;
  color: #fff;
}
.btn:hover { background: #641a15; color: #fff; }
.btn-outline-dark, .btn-outline-secondary, .btn-light { background: #fff; color: #7f231c; }
.btn-outline-dark:hover, .btn-outline-secondary:hover, .btn-light:hover { background: #7f231c; color: #fff; }
.w-100 { width: 100%; }
.d-none { display: none; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.row { display: block; }

/* POS iframe/form kapsayıcısı */
.t3-odeme-alani iframe { width: 100%; min-height: 480px; border: 0; border-radius: 10px; }
.t3-odeme-alani table { width: 100%; }
