*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: #f6f7fb;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

:root {
    --feed-blue-900: #003366;
    --feed-blue-700: #0055a5;
    --feed-blue-500: #1e5c99;
    --feed-blue-50:  #e6f0fa;
    --feed-bg:       #f6f7fb;
    --feed-card:     #ffffff;
    --feed-ink:      #374151;
    --feed-muted:    #6b7280;
    --feed-line:     #e5e9f2;
    --feed-orange:   #e8833a;
}

.header {
    

    display: grid;
    align-items: center;
    padding: 0px 0px 0px;
    background: linear-gradient(135deg, var(--feed-blue-900) 0%, var(--feed-blue-700) 100%);
}
.logoSistema {
    display: flex;
    align-items: center;
    cursor: default;
}.cabecalho {
    
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
}

.cabecalho-esquerda {
    display: flex;
    align-items: center;
    gap: 20px;
}

.titulo-header-link {
    text-decoration: none;
    cursor: pointer;
}

.titulo-header-link:hover .titulo-header {
    opacity: 0.85;
}

.titulo-header {
    font-size: 1.5em;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.btn-header--primary {
    background-color: var(--feed-orange, #e8833a);
    color: #fff;
}

.btn-header--primary:hover {
    background-color: #d4742f;
}

.btn-header--ghost {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-header--ghost:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.dropdown-wrap {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 6px;
    z-index: 50;
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9em;
}

.dropdown-item:hover {
    background-color: #05239b75;
}

.dropdown-item--empty {
    color: #01358e;
    cursor: default;
}

.user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ola-usuario {
    color: #fff;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
}

.logout-form {
    display: inline;
}

[x-cloak] {
    display: none !important;
}

@media (max-width: 768px) {
    .cabecalho {
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.footer-conteudo {
  background-color: #003366;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.footer-esquerda {
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
}

.footer-esquerda img {
  width: 80px;
}

.linha-vertical {
  width: 2px;
  height: 80px;
  background-color: white;
}

.info-texto h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: white;
  line-height: 1.4;
}

.footer-direita {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-conteudo {
    padding: 30px 20px;
  }

  .footer-esquerda {
    gap: 15px;
  }

  .info-texto h2 {
    font-size: 13px;
  }

  .footer-direita {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-conteudo {
    padding: 20px 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-esquerda {
    justify-content: flex-start;
  }

  .linha-vertical {
    display: none;
  }

  .info-texto h2 {
    font-size: 12px;
  }

  .footer-direita {
    justify-content: flex-start;
    margin-top: 15px;
  }
}

.alert.alerta {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: auto;
    max-width: 350px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 1;
    animation: slideUpFadeOut 3.5s ease-out forwards;
    text-align: center;
    justify-content: center;
}

.alert.alert-error {
    background-color: #dc3545;
}

.alert.alert-success {
    background-color: #28a745;
}

.alert.alerta::before {
    font-size: 18px;
}

.dropdown-menu--right {
    left: auto;
    right: 0;
}

.dropdown-item--btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}