.qrogin-inner {
  position: relative;
  display: inline-block;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.qrogin-qr-wrap {
  position: relative;
  display: inline-block;
}

.qrogin-qr-img {
  width: 300px;
  height: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: filter .3s;
}

.qrogin-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25%;
  height: 25%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 6%;
}

.qrogin-overlay.has-logo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.qrogin-refresh {
  position: absolute;
  bottom: 6px;
  right: 6px;
  border: none;
  background: rgba(255,255,255,0.8);
  padding: 4px 7px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
}

.qrogin-expiry,
.qrogin-status {
  display: none !important;
}

.qrogin-link-wrap {
  margin-top: 10px;
}

/* ===== Make the button big & bold ===== */
.qrogin-link-btn {
  display: inline-block;
  min-width: 240px;        /* ensure it’s wide */
  padding: 12px 24px;      /* more vertical & horizontal space */
  font-size: 18px;         /* larger text */
  font-weight: 500;        /* nice and bold */
  border: none;            /* no grey borders */
  border-radius: 8px;      /* smooth corners */
  background-color: rgba(240,196,25,0.25); /* solid brand yellow */
  color: #000;             /* black text for contrast */
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* subtle lift */
  transition: background-color 0.2s ease;
}

/* Hover state */
.qrogin-link-btn:hover {
  background-color: #e0b510; /* slightly darker on hover */
}

/* ===== Progress-bar overlay ===== */
.qrogin-link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(240,196,25,0.85),
    rgba(240,196,25,0.25)
  );
  transform-origin: left;
  transform: scaleX(var(--progress-scale, 1));
  transition: transform 1s linear;
  pointer-events: none;
  z-index: -1;
  border-radius: 8px;       /* match the button’s corners */
}

/* Make the label sit above the bar */
.qrogin-link-btn > * {
  position: relative;
  z-index: 5;
}

/* Ensure your “QROGIN” span still pops */
.qrogin-link-btn .qrogin-brand {
  font-family: 'Fira Mono','Courier New',monospace;
  font-weight: 460;
  font-size: 20px;
  z-index: 5;
}
