/* MMO11 — Top Eleven Tarzı 3 Sütunlu Transfer İhale Paneli (transferBidModal.css) */
/* Pencere İçi Panel Kuralı (§4.2): position absolute, inset 0, gameViewport'a monteli */
/* BEYAZ TEMA (Clean Modern White Theme) */

.transfer-bid-modal {
  position: absolute;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2%, 24px);
}

.transfer-bid-card {
  width: 100%;
  max-width: 1080px;
  height: min(640px, 94%);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: tbmPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
}

@keyframes tbmPop {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.tbm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.tbm-header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbm-badge {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.tbm-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #0f172a;
  margin: 0;
}

.tbm-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.tbm-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* 3 SÜTUNLU YAPI */
.tbm-grid {
  display: grid;
  grid-template-columns: 310px 1fr 320px;
  gap: 16px;
  padding: 16px 20px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #f1f5f9;
}

/* 1. SOL SÜTUN: OYUNCU PROFİLİ */
.tbm-col-player {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.tbm-player-card-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
}

.tbm-ovr-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.tbm-player-details {
  display: flex;
  flex-direction: column;
}

.tbm-player-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
}

.tbm-player-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.tbm-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.tbm-stat-row:last-child {
  border-bottom: none;
}

.tbm-stat-row span {
  color: #64748b;
  font-weight: 600;
}

.tbm-stat-row strong {
  color: #0f172a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
}

/* 2. ORTA SÜTUN: CANLI İHALE VE TEKLİF GEÇMİŞİ */
.tbm-col-feed {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.tbm-timer-hero {
  background: linear-gradient(135deg, #f0f9ff, #f8fafc);
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.tbm-round-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tbm-countdown-timer {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #d97706;
}

.tbm-current-leader-card {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.tbm-leader-label {
  font-size: 11px;
  color: #047857;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tbm-leader-club {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
}

.tbm-leader-bid {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #16a34a;
  text-align: right;
}

.tbm-bids-history-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  flex-shrink: 0;
}

.tbm-bids-list {
  flex: 1;
  min-height: 120px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

.tbm-bid-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid #e2e8f0;
}

.tbm-bid-item-club {
  font-weight: 600;
  color: #334155;
}

.tbm-bid-item-amount {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: #0284c7;
}

/* 3. SAĞ SÜTUN: TEKLİF VERME VE ARTTIRMA */
.tbm-col-action {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.tbm-wallet-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  flex-shrink: 0;
}

.tbm-wallet-val {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #d97706;
}

.tbm-next-bid-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  flex-shrink: 0;
}

.tbm-next-bid-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.tbm-next-bid-val {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #0284c7;
}

.tbm-token-cost {
  font-size: 12px;
  color: #d97706;
  font-weight: 700;
}

.tbm-btn-submit-bid {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border: none;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
}

.tbm-btn-submit-bid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.5);
}

.tbm-btn-submit-bid:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tbm-bot-chip {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 5px;
}

.tbm-wizard-summary {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 4px;
  text-align: center;
  font-weight: 600;
}
