/* =========================================================
   G&M FACILITY SERVICES · EMPLOYEE PORTAL
   Bilingual Core ES / EN · v1.0.0
   ========================================================= */

.gm-language-switcher{
  position:relative;
}

.gm-language-trigger{
  min-width:64px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 10px;
  border-radius:12px;
  background:#F4F7FA;
  color:#002D5A;
  transition:.18s ease;
}

.gm-language-trigger:hover,
.gm-language-trigger:focus{
  background:#EAF0F6;
  color:#011638;
  outline:none;
}

.gm-language-trigger > iconify-icon:first-child{
  font-size:19px;
}

.gm-language-trigger strong{
  font-size:.70rem;
  font-weight:800;
  letter-spacing:.04em;
}

.gm-language-chevron{
  font-size:12px;
}

.gm-language-menu{
  width:210px;
  margin-top:8px!important;
  border:1px solid rgba(1,22,56,.08);
  border-radius:14px;
  background:#FFFFFF;
  box-shadow:0 16px 34px rgba(1,22,56,.14);
}

.gm-language-menu-title{
  padding:8px 10px 7px;
  color:#7B8A9B;
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.gm-language-option{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:10px;
  color:#26374B;
  font-size:.76rem;
  font-weight:650;
}

.gm-language-option:hover{
  background:#F4F7FA;
  color:#002D5A;
}

.gm-language-option.is-active{
  background:rgba(0,45,90,.07);
  color:#002D5A;
}

.gm-language-option > iconify-icon{
  margin-left:auto;
  color:#3A9A35;
  font-size:18px;
}

.gm-language-code{
  width:34px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#011638;
  color:#FFFFFF;
  font-size:.60rem;
  font-weight:850;
  letter-spacing:.04em;
}

.gm-login-language-row{
  position:absolute;
  top:22px;
  right:24px;
  z-index:8;
}

.gm-login-language-row .gm-language-trigger{
  background:#FFFFFF;
  border:1px solid rgba(0,45,90,.10)!important;
  box-shadow:0 6px 18px rgba(1,22,56,.06);
}

@media(max-width:1199.98px){
  .gm-login-language-row{
    top:18px;
    right:18px;
  }
}

@media(max-width:575.98px){
  .gm-language-trigger{
    min-width:58px;
    height:40px;
    padding:0 8px;
  }

  .gm-language-trigger > iconify-icon:first-child{
    font-size:18px;
  }

  .gm-language-menu{
    width:196px;
  }

  .gm-login-language-row{
    top:12px;
    right:12px;
  }
}


/* v1.0.0-i18n.3 · flag language selector */
.gm-language-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
}
.gm-language-code{
  width:auto;
  min-width:54px;
  padding:0 7px;
  white-space:nowrap;
}
