body {
    font-family: "Poppins", sans-serif;
    background-color: #f1f5f9;
}

/* ===== Header / Menu superior ===== */
.app-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.app-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.app-header__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.app-header__nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.app-header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--main-border-radius);
    color: #475569;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-header__nav-link:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.app-header__nav-link--active {
    background: rgba(91, 77, 255, 0.12);
    color: var(--color-primary);
}

.app-header__nav-link--active:hover {
    background: rgba(37, 99, 235, 0.16);
    color: var(--color-primary-hover);
}

.app-header__nav-link i {
    font-size: 1rem;
    opacity: 0.9;
}

.app-header__toolbar {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-header__user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #475569;
}

.app-header__user i {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.app-header__logout {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--main-border-radius);
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.app-header__logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.app-header__logout i {
    font-size: 0.9rem;
}

@media (max-width: 767px) {
  .app-header {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
  }
  .app-header__nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }
  .app-header__nav-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
  }
}

/* Compatibilidade: classes antigas do header */
.logo-section-menu {
    width: 40px;
    height: 40px;
}

.main-content {
    padding: 1.25rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* cards */
.card {
    padding: 12px;
    margin-top: 18px;
}

.card-info {
    font-size: 32px;
    font-weight: bold;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 14px;
}
/* end cards */

.pointer {
    cursor: pointer;
}