:root {
  --primary: #004c8f; /* HDFC Blue */
  --secondary: #ed232a; /* HDFC Red */
  --text-main: #333333;
  --text-muted: #666666;
  --bg-page: #f4f7f9;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
  --font-mono: 'Courier New', Courier, monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  padding: 40px 20px;
}

.statement-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  min-height: 100vh;
  position: relative;
}

/* Header Section */
.statement-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.bank-brand {
  display: flex;
  flex-direction: column;
}

.bank-logo-placeholder {
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  letter-spacing: -1px;
}

.bank-logo-placeholder span {
  background: var(--primary);
  color: white;
  padding: 2px 6px;
  margin-right: 4px;
  border-radius: 2px;
}

.tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

.page-num {
  font-size: 12px;
  color: var(--text-muted);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  font-size: 13px;
}

.customer-address-box {
  border: 1px solid var(--border-color);
  padding: 15px;
  min-height: 180px;
}

.address-line {
  display: block;
  margin-bottom: 2px;
}

.account-details-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 4px;
}

.label {
  color: var(--text-muted);
  font-weight: 500;
}

.value {
  font-weight: 600;
}

/* Statement Metadata */
.statement-meta {
  margin-bottom: 20px;
  font-size: 13px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.meta-row {
  display: flex;
  gap: 40px;
}

.bank-name {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 5px;
}

.hold-funds-notice {
  font-style: italic;
  margin-bottom: 8px;
}

/* Table Design */
.transaction-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.transaction-table th {
  background-color: var(--primary);
  color: white;
  text-align: left;
  padding: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.transaction-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
}

.transaction-table tr:nth-child(even) {
  background-color: #fafafa;
}

.transaction-table .amount {
  text-align: right;
}

.transaction-table .negative {
  color: var(--secondary);
}

/* Highlights (matching the red/orange blocks from image) */
.highlight-row {
  background-color: rgba(237, 35, 42, 0.05) !important;
}

/* Footer */
.statement-footer {
  margin-top: auto;
  border-top: 2px solid var(--primary);
  padding-top: 20px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.footer-bottom {
  text-align: center;
  line-height: 1.6;
}

.footer-links {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.stamp-placeholder {
  position: absolute;
  bottom: 120px;
  right: 60px;
  width: 120px;
  height: 120px;
  border: 3px double rgba(0, 76, 143, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(0, 76, 143, 0.2);
  transform: rotate(-15deg);
  font-weight: 900;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .statement-container {
    padding: 20px;
  }
  
  .transaction-table {
    display: block;
    overflow-x: auto;
  }
}
