/* ABAS: alternam entre o chat e a agenda (index.html) */
/* ======================================================================
   ABAS (Chat | Agenda) E PAINÉIS
   ====================================================================== */

[hidden] {
  display: none!important;
}

.abas {
  display: flex;
  gap: 4px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(40,30,80,.15);
  flex: none;
}

.abas button {
  border: 0;
  background: none;
  padding: 8px 22px;
  border-radius: 7px;
  font: inherit;
  font-weight: 600;
  color: #6A6485;
  cursor: pointer;
}

.abas button[aria-selected=true] {
  background: var(--roxo);
  color: #fff;
}

.abas button:focus-visible {
  outline: 2px solid var(--rosa);
  outline-offset: 2px;
}

.painel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.painel-agenda {
  width: min(1200px,100%);
  height: calc(100vh - 80px);
  min-height: 480px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(40,30,80,.2);
}

.painel-agenda iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}

@media (max-width: 420px) {
  .abas {
    margin: 6px;
  }
}
