/* ==========================
   BASE
   ========================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #eef0f3;
  margin: 0;
  padding: 0;
  color: #2d3436;
}

/* ==========================
   SIDEBAR (Estilo Administrativo)
   ========================== */
.sidebar {
  width: 240px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #1f2937;
  padding: 20px 15px;
  color: #fff;
  border-right: 1px solid #111827;
  display: flex;
  flex-direction: column;
  z-index: 2000;
}

.sidebar h4 {
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #f3f4f6;
}

.sidebar a {
  color: #d1d5db;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  display: block;
  transition: background 0.2s, color 0.2s;
}

.sidebar a:hover {
  background-color: #374151;
  color: #ffffff;
}

    /* Cartão totalmente responsivo */
    .login-card {
        width: 100%;
        max-width: 380px;       /* aumenta um pouco no desktop sem quebrar no mobile */
        padding: 20px;
        border-radius: 12px;
    }

    .login-logo {
        width: 140px;
        max-width: 60%;         /* 🔥 garante que não estoure no mobile */
        height: auto;
    }

/* ==========================
   CONTENT
   ========================== */
.content {
  margin-left: 250px;
  padding: 30px 25px;
  min-height: 100vh;
  overflow: visible;
}

/* ==========================
   TITULOS PAGINAS
   ========================== */
.page-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
}

/* ==========================
   TABLE (Design Administrativo)
   ========================== */
.table {
  width: 100%;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  border-collapse: collapse !important;  /* 👈 OBRIGATÓRIO */
}


.table thead {
  background-color: #e5e7eb;
  color: #111827;
  font-weight: 600;
  border-bottom: 1px solid #c7ccd2;
}

.table th, .table td {
  padding: 12px 14px;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  position: relative;
  overflow: visible !important;
}

.table tbody tr:hover {
  background-color: #f3f4f6;
}

/* ==========================
   DROPDOWN
   ========================== */
.dropdown-menu {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 9999 !important;
}

.table-responsive {
  overflow: visible !important;
}

/* ==========================
   BUTTONS – Estilo corporativo
   ========================== */
.btn-venda {
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 4px;
  background-color: #2563eb;
  color: #fff;
  border: 1px solid #1e40af;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}

.btn-venda:hover {
  background-color: #1d4ed8;
  border-color: #1e3a8a;
}

.badge-lg {
    font-size: 1.2rem; /* maior que o padrão */
    padding: 0.5rem 0.75rem; /* padding maior */
}


/* ==========================
   CARDS (quando usar)
   ========================== */
.card-admin {
  background: white;
  padding: 18px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  margin-bottom: 20px;
}

  .card-icon {
      font-size: 40px;
      opacity: 0.3;
    }


    th.sortable {
    cursor: pointer;
    position: relative;
}

th.sortable.asc::after {
    content: " ▲";
    font-size: 12px;
}

th.sortable.desc::after {
    content: " ▼";
    font-size: 12px;
}


