:root {
  --theme-green: #0d652d;
  --theme-border-green: #0f9d58;
}

/* Área e Botões de Login Header */
.login-area {
  display: flex;
  align-items: center;
}

.login-btn {
  background-color: #0f9d58 !important;
  color: #ffffff !important;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.login-btn:hover {
  background-color: #0b8043 !important;
  transform: scale(1.03);
}

.logout-btn {
  background: #f1f3f4;
  border: 1px solid #dadce0;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.user-greeting {
  font-weight: bold;
  color: #333;
  margin-right: 10px;
}

/* Modal Popup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #5f6368;
  border: none;
  background: none;
}

.modal h2 { margin-top: 0; font-size: 20px; color: var(--theme-green); }

.modal input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid var(--theme-border-green);
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.modal-action-btn {
  background: var(--theme-border-green);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.modal-action-btn:hover { background: #0b8043; }

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #dadce0;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  color: var(--theme-border-green);
  border-bottom: 2px solid var(--theme-border-green);
  font-weight: bold;
}

#authMsg { margin-top: 10px; font-size: 14px; color: #d93025; }
.hidden { display: none !important; }