/* DROPS PRO 2.37.10 — conta em cards, navegação mínima e indicadores coerentes */

.app-welcome {
  margin-top: 54px;
}

.bottom-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: min(calc(100% - 24px), 380px) !important;
}

.bottom-nav button {
  min-height: 54px;
}

.compact-actions {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 8px !important;
}

.compact-actions > .action-card,
.compact-actions > .action-card:last-child:nth-child(3n + 1) {
  display: flex !important;
  flex: initial !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 88px !important;
  padding: 8px 4px !important;
  border-radius: 14px;
  text-align: center;
}

.compact-actions .action-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px;
  font-size: 17px !important;
}

.compact-actions .action-card strong {
  margin-top: 6px !important;
  font-size: 10px !important;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.settings-user-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.settings-user-row,
.settings-user-row:last-child {
  display: block;
  min-height: 104px;
  padding: 13px;
  border: 1px solid #dce7f4 !important;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 72, 122, .07);
}

.settings-user-row dt {
  display: flex;
  align-items: center;
  gap: 9px;
}

.settings-user-row dd {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.settings-management-action {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 64px;
  margin: 0 0 10px;
  padding: 10px 13px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0871db, #074da8);
  box-shadow: 0 10px 22px rgba(7, 95, 199, .2);
  text-align: left;
  cursor: pointer;
}

.settings-management-action > .settings-icon {
  grid-row: 1 / span 2;
  width: 23px;
  height: 23px;
}

.settings-management-action strong,
.settings-management-action small {
  display: block;
}

.settings-management-action small {
  margin-top: 2px;
  color: #dceeff;
}

@media (max-width: 520px) {
  .app-welcome {
    margin-top: 48px;
  }

  .bottom-nav {
    width: calc(100% - 18px) !important;
  }

  .compact-actions {
    gap: 6px !important;
  }

  .compact-actions > .action-card,
  .compact-actions > .action-card:last-child:nth-child(3n + 1) {
    min-height: 82px !important;
    padding: 7px 3px !important;
  }

  .compact-actions .action-icon {
    width: 29px !important;
    height: 29px !important;
    font-size: 15px !important;
  }

  .compact-actions .action-card strong {
    font-size: 9px !important;
  }

  .settings-user-table {
    grid-template-columns: 1fr;
  }

  .settings-user-row,
  .settings-user-row:last-child {
    min-height: 92px;
  }
}

@media (max-width: 370px) {
  .compact-actions {
    gap: 4px !important;
  }

  .compact-actions > .action-card,
  .compact-actions > .action-card:last-child:nth-child(3n + 1) {
    min-height: 78px !important;
  }

  .compact-actions .action-card strong {
    font-size: 8px !important;
  }
}
