html.amafit-no-scroll,
body.amafit-no-scroll {
  height: 100%;
  overflow: hidden;
}

/* Estructura general */
.af-app {
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #ffffff;
}

.af-content {
  display: grid;
  gap: 1rem;
  grid-template-columns: 360px 1fr;
  align-items: stretch;
  padding: 1rem;
}
@media (max-width: 992px) {
  .af-content {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

/* Tarjetas */
.af-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.af-card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.af-scroll {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 200px;
}
.af-lines > div {
  border-bottom: 1px solid #e5e7eb;
  height: 1.65rem;
}
.af-task {
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid #e5e7eb;
  padding: .5rem 0;
}

/* Calendario */
.af-cal {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  padding: .75rem;
}
.af-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .25rem .25rem .5rem .25rem;
}
.af-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: .35rem;
}
.af-dot.debt { background: #22c55e; }
.af-dot.pay { background: #3b82f6; }
.af-dot.evt { background: #ef4444; }
.af-all-day {
  background: #fde68a;
  border-radius: 6px;
  padding: .15rem .35rem;
  display: inline-block;
}

/* Barra inferior */
.af-bottombar {
  padding: .75rem 1rem 1rem 1rem;
}
.btn-af {
  background: #f3d200;
  color: #111827;
  border: none;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}
.btn-group {
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.af-logo {
  font-weight: 800;
  letter-spacing: .2px;
}

.main_title {
    display: none;
}

.container {
    padding: 0 !important;
}