html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.app-navbar {
  background: #ffffff;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-navbar a, .app-navbar a:hover {
  text-decoration: none;
  color: inherit;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-icon svg {
  width: 100%;
  height: 100%;
}

/* Caso queira usar PNG: substitua o SVG por <img src="icone.png" alt="Logo" width="20" height="20"> */

.brand-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

/* ── Avatar Dropdown ── */
.avatar-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.avatar-dropdown .dropdown-toggle:hover {
  background: #f1efe8;
}

.avatar-dropdown .dropdown-toggle::after {
  display: none;
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6f1fb;
  color: #185fa5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.avatar-label {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-chevron {
  width: 14px;
  height: 14px;
  stroke: #888780;
  flex-shrink: 0;
}

.avatar-dropdown .dropdown-menu {
  min-width: 180px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 6px;
  background: #ffffff;
  margin-top: 6px;
}

.avatar-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #1a1a1a;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}

.avatar-dropdown .dropdown-item:hover {
  background: #f1efe8;
  color: #1a1a1a;
}

.avatar-dropdown .dropdown-item.text-danger {
  color: #a32d2d !important;
}

.avatar-dropdown .dropdown-item.text-danger:hover {
  background: #fcebeb;
}

.avatar-dropdown .dropdown-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.avatar-dropdown .dropdown-divider {
  border-color: rgba(0,0,0,0.08);
  margin: 4px 0;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  padding: 0 1.5rem;
  height: 40px;
  display: flex;
  align-items: center;
}

.breadcrumb {
  background: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5f5e5a;
}

.breadcrumb-item a {
  color: #5f5e5a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.12s;
}

.breadcrumb-item a:hover {
  color: #1a1a1a;
}

.breadcrumb-item.active {
  color: #1a1a1a;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: none;
}

.bc-sep {
  width: 13px;
  height: 13px;
  stroke: #888780;
  opacity: 0.5;
  flex-shrink: 0;
}

.bc-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  flex-shrink: 0;
}

.app-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111;
}
.app-link:hover { text-decoration: none; color: #111; }
.app-link:hover .app-icon { border-color: rgba(0,0,0,0.25); background: #f0f0f0; }
.app-link:active .app-icon { transform: scale(0.95); }
.app-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 0.5px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  background-color: transparent;
}
.app-icon svg { width: 60%; height: 60%; }
.app-name {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  color: #555;
}
.col-app { margin-bottom: 1.25rem; }

footer{
  padding: 2rem 0;
  background-color: #f0f0f0;
  border-top: 1px solid rgba(0,0,0,0.12);
  text-align: center;
}

footer .cc-primary {
  color: #111;
  font-size: 1rem;
  font-weight: 500;
}
footer .cc-secondary {
  color: #555;
  font-size: .875rem;
  margin-top: 0.25rem;
}

.container.box{
  background-color: #fff;
  border: 0.5px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  margin-top: 1rem;
  padding: 0;
  padding-bottom: 1rem;
}
.container.box .info{
  font-size: 1.25rem;
  color: #1a1a1a;
  padding: .5rem 1rem;
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
  margin-bottom: .5rem;
}