/* ==========================================================================
   XESTUS BIZCRAFT - RENT RECEIPT (HRA EXEMPTION) STYLES
   Authentic Revenue Stamp, Single & 12-Month Batch Layout.
   ========================================================================== */

.rent-layout {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(500px, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 1040px) {
  .rent-layout {
    grid-template-columns: 1fr;
  }
}

/* Revenue Stamp Graphic Simulation */
.revenue-stamp-box {
  width: 95px;
  height: 110px;
  border: 2px dashed #94a3b8;
  background: #fdfefe;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.revenue-stamp-inner {
  width: 82px;
  height: 96px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px;
  color: #1e40af;
  position: relative;
  overflow: hidden;
}

.stamp-header {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1e40af;
}

.stamp-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1d4ed8;
  font-family: var(--font-mono);
  line-height: 1;
}

.stamp-sub {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #3b82f6;
}

/* Simulated diagonal cross signature */
.stamp-cross-signature {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 2px;
  background: #1e3a8a;
  transform: translate(-50%, -50%) rotate(-35deg);
  opacity: 0.65;
}

.stamp-cross-signature::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 10px;
  width: 80%;
  height: 1.5px;
  background: #1e3a8a;
}

/* Rent Receipt Card in Preview */
.rent-receipt-sheet {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 32px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  font-family: var(--font-sans);
  position: relative;
}

.rent-receipt-sheet::before {
  content: 'RENT RECEIPT';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 4px;
}

.rent-receipt-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.rent-receipt-period {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 18px;
}

.rent-receipt-body-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 24px;
  text-align: justify;
}

.rent-receipt-body-text .highlight {
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px dashed #64748b;
  padding-bottom: 1px;
}

.rent-receipt-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.rent-receipt-landlord-info {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
}

.rent-receipt-landlord-info strong {
  color: #0f172a;
  display: block;
}

.pan-warning-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--amber-500);
  margin-bottom: var(--space-md);
}
