/* [74-prison] Prison du Manoir et caution */
/* -------------------------------------------------------------------------
   PRISON DU MANOIR & CAUTION (Jail & Bailout Panel)
   ------------------------------------------------------------------------- */
.jail-panel-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 4px;
}

.jail-header-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(26, 22, 18, 0.95), rgba(15, 13, 11, 0.95));
  border: 1px solid #423728;
  border-left: 4px solid var(--gold-classic);
  border-radius: 4px;
}
.jail-hero-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 6px rgba(182, 140, 85, 0.4));
}
.jail-hero-text h3 {
  margin: 0 0 4px;
  font-family: 'Limelight', serif;
  font-size: 15px;
  font-weight: 700;
  color: #e0c39d;
  letter-spacing: 1px;
}
.jail-hero-text p {
  margin: 0;
  font-size: 11px;
  color: #bbb;
  line-height: 1.4;
}

.jail-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.jail-metric-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: linear-gradient(180deg, #161412, #0c0b09);
  border: 1px solid #372e23;
  border-radius: 4px;
  text-align: center;
}
.jail-metric-lbl {
  font-size: 11px;
  color: #8e8070;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.jail-metric-val {
  font-family: 'Limelight', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.jail-metric-sub {
  font-size: 10px;
  color: #999;
}

.jail-cap-progress-bar {
  width: 100%;
  height: 6px;
  background: #111;
  border: 1px solid #26211a;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.jail-cap-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-classic), #bc8844);
  transition: width 0.3s ease;
}

.jail-content-box {
  min-height: 180px;
}

.jail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed #342d23;
  border-radius: 6px;
  text-align: center;
}
.jail-empty-bars {
  font-size: 40px;
  margin-bottom: 10px;
  opacity: 0.8;
}
.jail-empty-state h4 {
  margin: 0 0 8px;
  font-family: 'Limelight', serif;
  font-size: 14px;
  color: #d5ae7b;
  letter-spacing: 1px;
}
.jail-empty-state p {
  margin: 0;
  max-width: 520px;
  font-size: 11.5px;
  color: #aaa;
  line-height: 1.5;
}

.jail-troops-table-wrapper {
  background: #0e0d0b;
  border: 1px solid #322a20;
  border-radius: 4px;
  overflow: hidden;
}
.jail-troops-table {
  width: 100%;
  border-collapse: collapse;
}
.jail-troops-table th {
  background: #181512;
  color: #a79071;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #322a20;
}
.jail-troops-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
.jail-unit-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jail-unit-cell img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--gold-classic);
  border-radius: 3px;
  background: #000;
}
.jail-unit-name {
  font-weight: 600;
  color: #eee;
  font-size: 12px;
}
.jail-count-cell strong {
  font-size: 14px;
  color: #ea776a;
  font-family: 'Limelight', serif;
}

.btn-jail-bail-cash {
  padding: 6px 12px;
  background: linear-gradient(180deg, #2b4528, #182816);
  border: 1px solid #487866;
  border-radius: 4px;
  color: #c7eee0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-jail-bail-cash:hover {
  background: linear-gradient(180deg, #365c32, #20351d);
  border-color: #609f88;
  box-shadow: 0 0 8px rgba(72, 120, 102, 0.4);
}

.btn-jail-bail-diamonds {
  padding: 6px 12px;
  background: linear-gradient(180deg, #442a5c, #261636);
  border: 1px solid #7c4aa8;
  border-radius: 4px;
  color: #e5c8ff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-jail-bail-diamonds:hover {
  background: linear-gradient(180deg, #573676, #321d46);
  border-color: #a46be0;
  box-shadow: 0 0 8px rgba(124, 74, 168, 0.4);
}

.jail-actions-footer {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #2d261c;
}
.jail-actions-footer button {
  flex: 1;
}

/* Notice de prison dans les rapports de bataille */
.rep-jail-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(44, 36, 26, 0.85), rgba(27, 23, 18, 0.85));
  border: 1px solid #927248;
  border-left: 4px solid var(--gold-bright);
  border-radius: 4px;
}
.rep-jail-icon {
  font-size: 24px;
}
.rep-jail-txt strong {
  display: block;
  font-size: 12px;
  color: var(--gold-bright);
  margin-bottom: 2px;
}
.rep-jail-txt p {
  margin: 0;
  font-size: 11px;
  color: #ccc;
  line-height: 1.4;
}
