/* RENGANURA_LOGIN_DROPDOWN_REPAIR_V107 */

/* Remove any old bottom mock-credential cards */
.rg-v105-login-credentials,
[data-renganura-marker="RENGANURA_NEW_CLIENT_CATEGORIES_LOGIN_V105"]{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

/* Make the mock credential dropdown visible and selectable */
select[data-rg-v107-credential-select="1"],
.rg-v107-credential-select{
  border:3px solid #dc2626 !important;
  outline:2px solid rgba(220,38,38,.16) !important;
  box-shadow:
    0 0 0 5px rgba(220,38,38,.08),
    0 8px 24px rgba(127,29,29,.12) !important;
  position:relative !important;
  z-index:50 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
  background:#fff !important;
}

label:has(+ select[data-rg-v107-credential-select="1"]),
select[data-rg-v107-credential-select="1"] + label{
  color:#991b1b !important;
}

/* Red visual frame around the select parent where possible */
.rg-v107-credential-frame{
  border:2px solid rgba(220,38,38,.70) !important;
  border-radius:18px !important;
  padding:4px !important;
  background:rgba(254,242,242,.35) !important;
  position:relative !important;
  z-index:40 !important;
  overflow:visible !important;
}

/* Prevent hidden overlays from blocking dropdown interaction */
.rg-v107-credential-frame *{
  pointer-events:auto !important;
}

/* Keep old V106 hidden-card style if cached */
.rg-v105-login-card,
.rg-v105-login-grid{
  display:none !important;
}
