@font-face {
    font-family: "GoogleSans";
    src: url("google-sans.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "GoogleSans";
    src: url("google-sans.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

.rzp-container { font-family: "GoogleSans", Sans-serif; max-width: 920px; margin: 24px auto; padding: 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; }
.rzp-section { margin-bottom: 16px; }
.rzp-title { font-family: "GoogleSans", Sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.rzp-label { font-family: "GoogleSans", Sans-serif; font-weight: 600; margin-bottom: 6px; display:block; }
.rzp-row { display:flex; flex-wrap:wrap; gap:12px; }
.rzp-input, .rzp-select { font-family: "GoogleSans", Sans-serif; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; min-width: 220px; }
.rzp-btn { font-family: "GoogleSans", Sans-serif; display:inline-block; background:#0ea5e9; color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:600; }
.rzp-btn.secondary { background:#10b981; }
.rzp-btn.warning { background:#ef4444; }
.rzp-table { width:100%; border-collapse: collapse; }
.rzp-table th, .rzp-table td { font-family: "GoogleSans", Sans-serif; border:1px solid #e5e7eb; padding:8px 10px; text-align:left; }
.rzp-badge { font-family: "GoogleSans", Sans-serif; display:inline-block; padding:4px 8px; border-radius:999px; font-size:13px; font-weight:700; }
.status-unpaid { background:#fde68a; color:#92400e; }
.status-paid { background:#dcfce7; color:#166534; }
.status-partial { background:#fef3c7; color:#92400e; }
.status-overdue { background:#fee2e2; color:#991b1b; }
.rzp-help { font-family: "GoogleSans", Sans-serif; background:#f9fafb; border:1px dashed #d1d5db; padding:10px; border-radius:8px;  }
.rzp-help-warning { background:#fee2e2; border-color:#fecaca; }
.rzp-note { font-family: "GoogleSans", Sans-serif; color:#374151; }

/* Two-column payment grid */
.rzp-payment-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}

.rzp-iframe-column {
    flex: 0 0 40%;
    order: 1;
}

.rzp-help-column {
    flex: 0 0 calc(60% - 16px);
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rzp-iframe-wrap {
    background: #eff6ff;
    border: 1px dashed #bfdbfe;
    border-radius: 8px;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rzp-iframe {
    width: 100%;
    flex: 1;
    min-height: 183px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .rzp-payment-grid {
        flex-direction: column;
    }
    
    .rzp-iframe-column,
    .rzp-help-column {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .rzp-iframe-column {
        order: 1;
    }
    
    .rzp-help-column {
        order: 2;
    }
    
    .rzp-iframe {
        min-height: 183px;
    }
}

.rzp-inline-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.rzp-link {
    font-family: "GoogleSans", Sans-serif;
    color: #0ea5e9;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.rzp-link:hover {
    color: #0284c7;
}

.rzp-inline-format {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.rzp-prefix, .rzp-sep {
  font-family: "GoogleSans", Sans-serif;
  font-weight: 600;
  color: #111827;
}
.rzp-input-inline, .rzp-select-inline {
  min-width: auto;
  width: auto;
}
.rzp-input-inline {
  width: 140px;
}
.rzp-select-inline {
  width: 170px;
}
