.talu-payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 31, 29, 0.58);
  backdrop-filter: blur(3px);
}

.talu-payment-dialog {
  width: min(100%, 540px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid #d9e3e0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(16, 31, 29, 0.24);
  color: #173432;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}

.talu-payment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.talu-payment-header h2 {
  margin: 0 0 5px;
  font-size: 24px;
  line-height: 1.25;
}

.talu-payment-header p {
  margin: 0;
  color: #58706d;
  font-size: 14px;
}

.talu-payment-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef3f2;
  color: #173432;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.talu-payment-close:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.talu-payment-element { min-height: 110px; }

.talu-payment-express[hidden] { display: none; }

.talu-payment-express { margin-bottom: 20px; }

.talu-payment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #71827f;
  font-size: 12px;
  text-transform: uppercase;
}

.talu-payment-divider::before,
.talu-payment-divider::after {
  height: 1px;
  flex: 1;
  background: #d9e3e0;
  content: '';
}

.talu-payment-error {
  min-height: 20px;
  margin: 14px 0 0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.45;
}

.talu-payment-submit {
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: #0f7f74;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.talu-payment-submit:hover { background: #0b6f66; }
.talu-payment-submit:disabled { cursor: wait; opacity: 0.65; }

.talu-payment-security {
  margin: 14px 0 0;
  color: #71827f;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 600px) {
  .talu-payment-overlay { padding: 12px; }
  .talu-payment-dialog { padding: 22px 18px; border-radius: 18px; }
}
