@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* GERAL */
* {
  font-family: "Inter", sans-serif;
}

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

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

footer {
  border-top: 1px solid #ddd;
  color: #444;
  text-align: center;
  padding: 15px;
}

body {
      background-color: #f8f9fa;
      color: #333;
    }

    /* Header */
    header {
      background: linear-gradient(to right, #f7f7f7, #fff);
      padding: 0.75rem 1.5rem;
      border-bottom: 1px solid #dee2e6;
    }

    header .navbar-brand img {
      height: 56px; /* Logo maior */
      transition: height 0.3s;
    }

    @media (max-width: 768px) {
      header .navbar-brand img {
        height: 42px;
      }
    }

    header .nav-link {
      color: #008A7C;
      font-weight: 500;
      margin-right: 1rem;
    }

    header .nav-link:hover {
      color: #00AC4A;
    }

    .user-info {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: #008A7C;
    }

    /* Sidebar */
    .sidebar {
      background: #fff;
      border: 1px solid #dee2e6;
      padding: 1rem;
      border-radius: 0.5rem;
    }

    /* Documentos */
    .document-card {
      background: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 0.5rem;
      padding: 1rem;
      margin-bottom: 0.5rem;
      transition: box-shadow 0.2s;
    }

    .document-card:hover {
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .document-card h5 {
      font-size: 1.1rem;
      color: #008A7C;
      margin-bottom: 0.4rem;
    }

    .document-meta {
      font-size: 0.875rem;
      color: #555;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1rem;
      margin-bottom: 0.4rem;
    }

    .document-meta i {
      color: #00AC4A;
      margin-right: 4px;
    }

    .document-info {
      font-size: 0.875rem;
      color: #555;
    }

    .btn-download {
      background-color: #008A7C;
      color: #fff;
      border: none;
      font-size: 0.875rem;
      transition: 0.3s;
    }

    .btn-download:hover {
      background-color: #00AC4A;
      color: #fff;
      text-decoration: none;
    }

    .document-card {
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      border-left: 4px solid #dc3545;
    }

    .document-meta {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .document-files {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 10px 15px;
      margin-top: 10px;
      transition: 0.2s;
      border: 1px solid #eee;
    }

    .document-files:hover {
      background: #f1f3f5;
    }

    .file-title {
      font-weight: 500;
      font-size: 14px;
    }

    .file-info small {
      font-size: 12px;
    }

    .pagination .page-link {
      border-radius: 6px;
      margin: 0 2px;
    }

    .pagination .active .page-link {
      background-color: #dc3545;
      border-color: #dc3545;
    }

    footer {
      text-align: center;
      padding: 1rem;
      font-size: 0.875rem;
      color: #666;
    }

    /* Mobile adjustments */
    @media (max-width: 992px) {
      aside.sidebar {
        display: none;
      }
      .filters-dropdown {
        display: block;
      }
    }

    @media (min-width: 993px) {
      .filters-dropdown {
        display: none;
      }
    }

    header .container-fluid {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .filters-dropdown button {
      font-weight: 500;
      border-color: #00AC4A;
      color: #008A7C;
    }

    .filters-dropdown button:hover {
      background-color: #00AC4A;
      color: #fff;
    }

    .collapse.show {
      margin-top: 0.75rem;
    }