/* GA USER MODULE ACCESS V2 */

#appView.hidden {
  display: none !important;
}

body:not(.ga-access-ready)
#appView:not(.hidden)
.sidebar {
  visibility: hidden !important;
}


/* CRIACAO */

.ga-user-module-selector {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid
    rgba(255,255,255,.08);
  border-radius: 12px;
  background:
    rgba(255,255,255,.025);
}

.ga-user-module-heading {
  margin-bottom: 12px;
}

.ga-user-module-heading strong,
.ga-user-module-heading small {
  display: block;
}

.ga-user-module-heading strong {
  color: #f5f6f8;
  font-size: 11px;
}

.ga-user-module-heading small {
  margin-top: 4px;
  color: #7e8793;
  font-size: 9px;
}

.ga-user-module-grid {
  display: grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap: 8px;
}

.ga-user-module-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid
    rgba(255,255,255,.07);
  border-radius: 9px;
  background:
    rgba(255,255,255,.025);
  color: #d8dce2;
  font-size: 10px;
  cursor: pointer;
}

.ga-user-module-grid label:hover {
  border-color:
    rgba(255,255,255,.15);
}

.ga-user-module-grid input {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex: 0 0 auto;
}


/* BOTAO NA TABELA */

.ga-user-access-button {
  margin-left: 7px;
  padding: 8px 11px;
  border: 1px solid
    rgba(255,255,255,.10);
  border-radius: 8px;
  background:
    rgba(255,255,255,.04);
  color: #dce8f6;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.ga-user-access-button:hover {
  background:
    rgba(255,255,255,.09);
}


/* MODAL */

.ga-access-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.ga-access-overlay {
  position: absolute;
  inset: 0;
  background:
    rgba(0,0,0,.76);
  backdrop-filter:
    blur(6px);
}

.ga-access-dialog {
  position: relative;
  width:
    min(650px,calc(100vw - 30px));
  max-height:
    calc(100vh - 50px);
  margin: 25px auto;
  overflow: auto;
  border: 1px solid
    rgba(255,255,255,.11);
  border-radius: 16px;
  background: #111419;
  box-shadow:
    0 35px 100px
    rgba(0,0,0,.65);
}

.ga-access-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid
    rgba(255,255,255,.07);
}

.ga-access-head small {
  color: #747d89;
  font-size: 8px;
  letter-spacing: .08em;
}

.ga-access-head h2 {
  margin: 5px 0 3px;
  color: #fff;
  font-size: 20px;
}

.ga-access-head p {
  margin: 0;
  color: #7d8590;
  font-size: 10px;
}

.ga-access-close {
  border: 0;
  background: transparent;
  color: #a5abb3;
  font-size: 26px;
  cursor: pointer;
}

.ga-access-content {
  padding: 20px;
}

.ga-access-info {
  margin-bottom: 15px;
  color: #9299a3;
  font-size: 10px;
  line-height: 1.5;
}

.ga-access-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding: 14px 20px;
  border-top: 1px solid
    rgba(255,255,255,.07);
}

.ga-access-save {
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  color: #111419;
  font-weight: 800;
  cursor: pointer;
}

#gaAccessMessage.success {
  color: #5ed59a;
}

#gaAccessMessage.error {
  color: #ff7777;
}

@media(max-width:650px) {

  .ga-user-module-grid {
    grid-template-columns: 1fr;
  }

  .ga-access-dialog {
    width:
      calc(100vw - 20px);
    margin: 10px auto;
    max-height:
      calc(100vh - 20px);
  }
}
