.main-sidebar .nav-sidebar .nav-link {
  font-size: 18px !important;
}

.main-sidebar .nav-sidebar .nav-link .nav-icon {
  font-size: 22px !important;
}

.sidebar-menu > li {
  margin-top: 10px !important;
}

.clickable-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.clickable-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(61, 171, 36, 0.3);
}

.clickable-card .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.clickable-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#login-error { 
  color: #dc3545; 
  font-size: 16px; 
  font-weight: 600;
  margin-bottom: 15px; 
  text-align: center;
}

#painel_loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background-color: #f8f9fa;
  position: fixed;
  top: 0; left: 0;
  z-index: 9998; 
}

.modern-spinner {
  width: 55px;
  height: 55px;
  border: 4px solid rgba(61, 171, 36, 0.15); 
  border-left-color: #3DAB24; 
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite; 
  margin-bottom: 24px;
}

.loading-text {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #4b5563;
  letter-spacing: 0.5px;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
    
@keyframes pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

#painel_login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f0f2f5;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
}

.gb-card {
  display: flex;
  width: 860px;
  max-width: 95vw;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.gb-card-left {
  background: #ffffff;
  padding: 52px 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gb-logo {
  width: 25%;             
  max-width: 400px;        
  height: auto;            
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  border-radius: 15px;
  overflow: hidden; 
}

.gb-title {
  font-size: 38px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 8px;
}

.gb-subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.gb-card-left .form-group label { display: none !important; }

.gb-card-left .form-group { margin-bottom: 14px !important; }

.gb-card-left .form-control {
  height: 50px !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  padding: 0 16px !important;
  color: #374151 !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color 0.2s !important;
}

.gb-card-left .form-control:focus {
  border-color: #3DAB24 !important;
  box-shadow: 0 0 0 3px rgba(61,171,36,0.12) !important;
}

.gb-card-left .form-control::placeholder { color: #adb5bd !important; }

#login-message { color: #dc3545; font-size: 13px; margin-bottom: 10px; min-height: 18px; }

#login-button {
  width: 100% !important;
  height: 50px !important;
  background-color: #3DAB24 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: background-color 0.2s !important;
}
#login-button:hover { background-color: #2e851b !important; }

.gb-card-right {
  width: 420px;
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 0 20px 20px 0;
}

.gb-card-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gb-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.05) 100%);
  color: white;
}

.gb-overlay-logo  { height: 26px; margin-bottom: 14px; display: block; }
.gb-overlay-text  { font-size: 14px; color: #e5e7eb; line-height: 1.55; margin-bottom: 4px; }
.gb-overlay-value { font-size: 38px; font-weight: 900; color: white; margin: 0; line-height: 1.1; }
.gb-overlay-bonus { margin-top: 10px; font-size: 11px; color: #3DAB24; font-weight: 700;
                        text-transform: uppercase; letter-spacing: 0.4px; line-height: 1.6; }

@media (max-width: 768px) {
.gb-card-right { display: none; }
.gb-card-left  { padding: 40px 28px; }
}

/* Card de cada usuário na lista */
.user-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.user-list-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.user-list-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 42px;
  height: 42px;
  background-color: #3DAB24;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.user-name {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  margin-bottom: 6px;
}

.user-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.badge-info {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  font-family: monospace;
}

.badge-admin {
  background-color: #fef3c7;
  color: #d97706;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.user-date {
  color: #9ca3af;
  font-size: 13px;
  margin-left: 5px;
}

.btn-delete-user {
  color: #dc3545;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-delete-user:hover {
  transform: scale(1.15);
  color: #b02a37;
}

.dark-mode .user-list-card {
  background-color: #2d2d2d;
  border-color: #444444;
}

.btn-edit-user{
  color:#0d6efd;
  background:transparent;
  border:none;
  font-size:18px;
  cursor:pointer;
}
.btn-edit-user:hover{ transform: scale(1.12); }

.dark-mode .user-name { color: #ffffff; }
.dark-mode .badge-info { background-color: #444444; color: #e5e7eb; }
.dark-mode .badge-admin { background-color: rgba(217, 119, 6, 0.2); }

#tipo_base button.active:has(input[value="Google"]) {
  background-color: #EA4335 !important;
  border-color: #EA4335 !important;
  color: white !important;
}

#tipo_base button.active:has(input[value="Meta"]) {
  background-color: #0866FF !important;
  border-color: #0866FF !important;
  color: white !important;
}

#tipo_base button.active:has(input[value="Consolidado"]) {
  background-color: #6C757D !important;
  border-color: #6C757D !important;
  color: white !important;
}

#tipo_base .btn {
  font-size: 12px;
  padding: 4px 10px;
}

.nav-tabs .nav-link:not(.active) {
  color: #3DAB24 !important;
}

.nav-tabs .nav-link:not(.active):hover {
  color: #2b7a19 !important; 
}