@charset "utf-8";
/* Isolated Payment Offcanvas Drawer Styles */

/* Isolated Reset for Modal Elements */
.gtech-bank-modal,
.gtech-bank-modal *, 
.gtech-bank-modal *::before, 
.gtech-bank-modal *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

/* Offcanvas Backdrop */
.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;
}

/* Main Drawer Container */
.gtech-bank-modal.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-bank-modal.gtech-offcanvas.open {
  right: 0 !important;
}

/* Header */
.gtech-bank-modal .gtech-header {
  background-color: #004c8f;
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gtech-bank-modal .gtech-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
  padding: 2px;
}

.gtech-bank-modal .gtech-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Body Layout */
.gtech-bank-modal .gtech-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 46px);
  overflow-y: auto;
}

/* -----------------------------------------------------------------
   GLOBAL FIX: Force Left Alignment for All Offcanvas Labels & Texts
   ----------------------------------------------------------------- */
.gtech-bank-modal .gtech-copy-label,
.gtech-bank-modal label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6c757d;
  display: block;
  margin-bottom: 2px;
  text-align: left !important; /* Overrides any external CSS */
  white-space: nowrap;
}

/* Copy Card Input Boxes */
.gtech-bank-modal .gtech-copy-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  padding: 3px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gtech-bank-modal .gtech-btn-copy {
  background: transparent;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  white-space: nowrap;
}

.gtech-bank-modal .gtech-btn-copy:hover {
  background: #0d6efd;
  color: #ffffff;
}

/* QR Code Display */
.gtech-bank-modal .gtech-qr-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  margin: 2px 0;
}

.gtech-bank-modal .gtech-qr-card img {
  max-width: 115px !important;
  max-height: 115px !important;
  height: auto;
}

/* Action Buttons */
.gtech-bank-modal .gtech-action-container {
  display: flex;
  gap: 8px;
}

.gtech-bank-modal .gtech-btn-upi {
  flex: 3;
  background: #0d6efd;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.82rem;
  white-space: nowrap;
}

.gtech-bank-modal .gtech-btn-wa {
  flex: 1;
  background: #198754;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Toast Component */
.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;
}