@charset "utf-8";
/* CSS Document */

/* Custom Isolated Offcanvas Drawer */
.gtech-offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99998;
  display: none;
}

/* Container adjustments */
.gtech-offcanvas {
  position: fixed;
  top: 0;
  right: -390px;
  width: 350px;
  max-width: 100vw;
  height: 100%;
  background-color: #f8fafc;
  box-shadow: -8px 0 24px rgba(0,0,0,0.2);
  z-index: 99999;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.gtech-offcanvas.open {
  right: 0;
}

.gtech-header {
  background-color: #004c8f;
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;            /* Forces title and X onto single line */
  white-space: nowrap;
}

.gtech-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
  padding: 2px;
}

.gtech-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Compact body spacing */
.gtech-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;    /* Stacks elements tightly top-to-bottom */
  gap: 10px;                      /* Controls exact spacing between elements */
  height: calc(100% - 44px);
  overflow-y: auto;
}

/* Tighter copy cards */
.gtech-copy-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  padding: 3px 8px; /* Compact padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gtech-btn-copy {
  background: transparent;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
}

.gtech-btn-copy:hover {
  background: #0d6efd;
  color: #ffffff;
}

/* Scaled-down QR card */
.gtech-qr-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  margin-bottom: 0;               /* Eliminates margin under QR card */
}

.gtech-qr-card img {
  max-width: 95px !important; /* Reduced QR size to fit button row */
  height: auto;
}

/* Action buttons */
.gtech-btn-upi {
  flex: 3;
  background: #0d6efd;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.8rem;
  white-space: nowrap;
}

.gtech-btn-wa {
  flex: 1;
  background: #198754;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.gtech-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #212529;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: none;
  z-index: 100000;
}



.gtech-btn-wa {
  flex: 1;
  background: #198754;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.gtech-btn-wa:hover {
  background: #146c43;
  color: #ffffff;
}