/* =========================
   RESET / BASE
========================= */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  background: #f3f4f6;
}

/* =========================
   LOGIN PAGE
========================= */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: #ffffff;
  padding: 32px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.login-container label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.login-container input[type="submit"],
.login-container button {
  width: 100%;
  padding: 10px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.login-container input[type="submit"]:hover,
.login-container button:hover {
  background: #1d4ed8;
}

/* =========================
   HEADER / MENU
========================= */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #111827, #1f2937);
  padding: 12px 24px;
  width: 100%;
  border-bottom: 2px solid #f15b15;
}

.top-header .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 36px;
  width: auto;
}

.title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.menu-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.menu-list a:hover {
  text-decoration: underline;
}

.menu-list .user {
  font-size: 14px;
  opacity: 0.85;
}

.menu-list .logout {
  background: #ef4444;
  padding: 6px 12px;
  border-radius: 6px;
}

.menu-list .logout:hover {
  background: #dc2626;
}

/* =========================
   REPORT TOOLBAR
========================= */
.report-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  min-height: 64px;
  padding: 10px;;
  margin: 0px;

  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.report-info h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.report-info span {
  margin-left: 8px;
  font-weight: 500;
  color: #2563eb;
}

.report-info .muted {
  color: #6b7280;
}

.report-actions {
  display: flex;
  gap: 12px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-danger {
  background: #ef4444;
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

/* =========================
   REPORT FORM (INLINE)
========================= */
.report-form {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 0;
  padding: 0;

  background: transparent;
  box-shadow: none;
}

.report-form label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.report-form select {
  width: 220px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

/* =========================
   REPORT CONTAINER
========================= */
#reportContainer {
  margin: 0 24px 24px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);

  width: calc(100% - 48px);
  height: calc(100vh - 120px);
}

/* =========================
   TABLES (USUÁRIOS, ETC)
========================= */
table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

th {
  background: #f9fafb;
  font-weight: 600;
}





.h1-powerbi {
  text-align: center;
  margin: 32px 0 16px;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
}

.form-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.form-container form {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-container label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.form-container input[type="text"],
.form-container input[type="password"],
.form-container select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.form-container input:focus,
.form-container select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.form-container input[type="submit"],
.form-container button {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease;
}

.form-container input[type="submit"]:hover,
.form-container button:hover {
  background: #1d4ed8;
}

.form-container a {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}

.form-container a:hover {
  text-decoration: underline;
}


.h2-users-container{
    text-align: center;
  margin: 32px 0 16px;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
}